[PR #3258] [MERGED] feat: Add endpoint to retrieve documents by folder name #4245

Closed
opened 2026-02-22 18:35:26 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/3258
Author: @thestackdev
Created: 2/18/2025
Status: Merged
Merged: 2/18/2025
Merged by: @timothycarambat

Base: masterHead: aroundme-updates


📝 Commits (3)

  • 81b1e2b feat: Add endpoint to retrieve documents by folder name
  • 8f74261 isWithin Check on path to prevent path traversal
  • 18998e1 Merge branch 'master' into aroundme-updates

📊 Changes

3 files changed (+123 additions, -0 deletions)

View changed files

📝 server/endpoints/api/document/index.js (+54 -0)
📝 server/swagger/openapi.json (+24 -0)
📝 server/utils/files/index.js (+45 -0)

📄 Description

Pull Request Type

  • feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

What is in this change?

This change adds a significant feature to the API by enabling clients to query for documents by folder name, thereby enhancing the document management capabilities of the system.

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/3258 **Author:** [@thestackdev](https://github.com/thestackdev) **Created:** 2/18/2025 **Status:** ✅ Merged **Merged:** 2/18/2025 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `aroundme-updates` --- ### 📝 Commits (3) - [`81b1e2b`](https://github.com/Mintplex-Labs/anything-llm/commit/81b1e2bb3b82fcd9f47c309883ef5cd0d718ba05) feat: Add endpoint to retrieve documents by folder name - [`8f74261`](https://github.com/Mintplex-Labs/anything-llm/commit/8f7426171acc813b7ad79246844e1daf0c144896) isWithin Check on path to prevent path traversal - [`18998e1`](https://github.com/Mintplex-Labs/anything-llm/commit/18998e11e7e65ea4df44db9dd84f07751e026f44) Merge branch 'master' into aroundme-updates ### 📊 Changes **3 files changed** (+123 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `server/endpoints/api/document/index.js` (+54 -0) 📝 `server/swagger/openapi.json` (+24 -0) 📝 `server/utils/files/index.js` (+45 -0) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat - [ ] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### What is in this change? This change adds a significant feature to the API by enabling clients to query for documents by folder name, thereby enhancing the document management capabilities of the system. ### Developer Validations <!-- All of the applicable items should be checked. --> - [x] I ran `yarn lint` from the root of the repo & committed changes - [x] Relevant documentation has been updated - [x] I have tested my code functionality - [x] Docker build succeeds locally --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:35:26 -05:00
yindo closed this issue 2026-02-22 18:35:26 -05:00
yindo changed title from [PR #3258] feat: Add endpoint to retrieve documents by folder name to [PR #3258] [MERGED] feat: Add endpoint to retrieve documents by folder name 2026-06-05 15:17:34 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#4245