[PR #3489] [MERGED] Add remove folder developer API endpoint #4300

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

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/3489
Author: @shatfield4
Created: 3/17/2025
Status: Merged
Merged: 3/17/2025
Merged by: @timothycarambat

Base: masterHead: 3464-feat-api-add-remove-folder


📝 Commits (3)

  • 1074f15 add remove folder api endpoint
  • c405ef0 update purgeFolder function comment
  • 6b08dbb Merge branch 'master' into 3464-feat-api-add-remove-folder

📊 Changes

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

View changed files

📝 server/endpoints/api/document/index.js (+60 -0)
📝 server/swagger/openapi.json (+60 -0)
📝 server/utils/files/purgeDocument.js (+8 -0)

📄 Description

Pull Request Type

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

Relevant Issues

resolves #3464

What is in this change?

  • Create a new endpoint for deleting folders via the developer API /v1/document/remove-folder

Additional Information

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/3489 **Author:** [@shatfield4](https://github.com/shatfield4) **Created:** 3/17/2025 **Status:** ✅ Merged **Merged:** 3/17/2025 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `3464-feat-api-add-remove-folder` --- ### 📝 Commits (3) - [`1074f15`](https://github.com/Mintplex-Labs/anything-llm/commit/1074f15288cb3cfe6721983b19b2746e76b85cdb) add remove folder api endpoint - [`c405ef0`](https://github.com/Mintplex-Labs/anything-llm/commit/c405ef0cb00f7d5269d9e93c643187ac766f8b04) update purgeFolder function comment - [`6b08dbb`](https://github.com/Mintplex-Labs/anything-llm/commit/6b08dbb721296a1e03a03f6b6934316e00124be9) Merge branch 'master' into 3464-feat-api-add-remove-folder ### 📊 Changes **3 files changed** (+128 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `server/endpoints/api/document/index.js` (+60 -0) 📝 `server/swagger/openapi.json` (+60 -0) 📝 `server/utils/files/purgeDocument.js` (+8 -0) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat - [ ] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #3464 ### What is in this change? <!-- Describe the changes in this PR that are impactful to the repo. --> - Create a new endpoint for deleting folders via the developer API `/v1/document/remove-folder` ### Additional Information <!-- Add any other context about the Pull Request here that was not captured above. --> ### 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:33 -05:00
yindo closed this issue 2026-02-22 18:35:33 -05:00
yindo changed title from [PR #3489] Add remove folder developer API endpoint to [PR #3489] [MERGED] Add remove folder developer API endpoint 2026-06-05 15:17:51 -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#4300