docs icon indicating copy to clipboard operation
docs copied to clipboard

✨(backend) add documents/all endpoint with descendants

Open ChristopherSpelt opened this issue 5 months ago • 1 comments

Purpose

This PR adds a new /api/v1.0/documents/all/ endpoint that returns all accessible documents including their complete hierarchies (children, grandchildren, etc.), unlike the existing list endpoint which only returns top-level documents.

Resolves #1497

External contributions

Thank you for your contribution! 🎉

Please ensure the following items are checked before submitting your pull request:

  • [x] I have read and followed the contributing guidelines
  • [x] I have read and agreed to the Code of Conduct
  • [x] I have signed off my commits with git commit --signoff (DCO compliance)
  • [x] I have signed my commits with my SSH or GPG key (git commit -S)
  • [x] My commit messages follow the required format: <gitmoji>(type) title description
  • [x] I have added a changelog entry under ## [Unreleased] section (if noticeable change)
  • [x] I have added corresponding tests for new features or bug fixes (if applicable)

ChristopherSpelt avatar Nov 03 '25 17:11 ChristopherSpelt

Thanks @ChristopherSpelt for implementing this. If this gets merged we can attach our Dashboard application and search on titles. Maybe later we can even add advanced search with integrated OpenSearch 🥇

@lunika We will also add a similair PR for Drive soon

berrydenhartog avatar Nov 04 '25 16:11 berrydenhartog