[PR #3276] [MERGED] feat: Add endpoint to upload documents to a specified folder #4255

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

📋 Pull Request Information

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

Base: masterHead: aroundme-updates


📝 Commits (10+)

  • 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
  • 989c20b feat: Add endpoint to upload documents to a specified folder
  • 5cec42a Merge remote-tracking branch 'origin/master' into aroundme-updates
  • 7de5a58 refactor upload to folder endpoint + update jsdoc for swagger
  • cc74514 Merge branch 'master' into review-3276
  • 1e640c1 Merge remote-tracking branch 'origin/master' into aroundme-updates
  • 281bc3e Merge branch 'aroundme-updates' of github.com:thestackdev/anything-llm into aroundme-updates
  • d19c794 linting

📊 Changes

2 files changed (+269 additions, -8 deletions)

View changed files

📝 server/endpoints/api/document/index.js (+165 -3)
📝 server/swagger/openapi.json (+104 -5)

📄 Description

Pull Request Type

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

What is in this change?

Added a new API to upload documents to a specific folder.

  • 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/3276 **Author:** [@thestackdev](https://github.com/thestackdev) **Created:** 2/19/2025 **Status:** ✅ Merged **Merged:** 2/26/2025 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `aroundme-updates` --- ### 📝 Commits (10+) - [`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 - [`989c20b`](https://github.com/Mintplex-Labs/anything-llm/commit/989c20b26b0ab6926a8d33ca74d0abdcf1897aef) feat: Add endpoint to upload documents to a specified folder - [`5cec42a`](https://github.com/Mintplex-Labs/anything-llm/commit/5cec42a03ec37ec6023b493ca09b8dc8fb9b20ea) Merge remote-tracking branch 'origin/master' into aroundme-updates - [`7de5a58`](https://github.com/Mintplex-Labs/anything-llm/commit/7de5a58ae68513aa619abb1a128c57ee976c5168) refactor upload to folder endpoint + update jsdoc for swagger - [`cc74514`](https://github.com/Mintplex-Labs/anything-llm/commit/cc745142a78eda9992132c5c6b2e745a58801e53) Merge branch 'master' into review-3276 - [`1e640c1`](https://github.com/Mintplex-Labs/anything-llm/commit/1e640c1246c014ab94d4f0de87ce65f6f6afb52e) Merge remote-tracking branch 'origin/master' into aroundme-updates - [`281bc3e`](https://github.com/Mintplex-Labs/anything-llm/commit/281bc3e18a1d5108888268fe4a010a1a11f4e50b) Merge branch 'aroundme-updates' of github.com:thestackdev/anything-llm into aroundme-updates - [`d19c794`](https://github.com/Mintplex-Labs/anything-llm/commit/d19c7943fd4f0e9060ca896563ed09022b58a66d) linting ### 📊 Changes **2 files changed** (+269 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `server/endpoints/api/document/index.js` (+165 -3) 📝 `server/swagger/openapi.json` (+104 -5) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat - [ ] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### What is in this change? Added a new API to upload documents to a specific folder. - [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:27 -05:00
yindo closed this issue 2026-02-22 18:35:27 -05:00
yindo changed title from [PR #3276] feat: Add endpoint to upload documents to a specified folder to [PR #3276] [MERGED] feat: Add endpoint to upload documents to a specified folder 2026-06-05 15:17:37 -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#4255