[PR #3377] [MERGED] [API] Recycle bin endpoints #6188

Closed
opened 2026-02-05 10:26:29 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/BookStackApp/BookStack/pull/3377
Author: @bourdaisj
Created: 4/7/2022
Status: Merged
Merged: 4/25/2022
Merged by: @ssddanbrown

Base: developmentHead: recycle_bin_api_endpoints


📝 Commits (3)

  • 55e52e4 Start recycle bin API endpoints: list, restore, delete
  • f14e6e8 Complete list endpoint and add some tests
  • 14bccae do some cleanup and add doc

📊 Changes

8 files changed (+383 additions, -10 deletions)

View changed files

app/Entities/Repos/DeletionRepo.php (+36 -0)
app/Http/Controllers/Api/RecycleBinApiController.php (+95 -0)
📝 app/Http/Controllers/RecycleBinController.php (+5 -10)
dev/api/responses/recycle_bin-destroy.json (+3 -0)
dev/api/responses/recycle_bin-list.json (+34 -0)
dev/api/responses/recycle_bin-restore.json (+3 -0)
📝 routes/api.php (+5 -0)
tests/Api/RecycleBinApiTest.php (+202 -0)

📄 Description

Related to: https://github.com/BookStackApp/BookStack/issues/3372
This is a draft PR to discuss and make sure I'm on the right track.


🔄 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/BookStackApp/BookStack/pull/3377 **Author:** [@bourdaisj](https://github.com/bourdaisj) **Created:** 4/7/2022 **Status:** ✅ Merged **Merged:** 4/25/2022 **Merged by:** [@ssddanbrown](https://github.com/ssddanbrown) **Base:** `development` ← **Head:** `recycle_bin_api_endpoints` --- ### 📝 Commits (3) - [`55e52e4`](https://github.com/BookStackApp/BookStack/commit/55e52e45fb11f5b733eacb010bd23aa9716466fa) Start recycle bin API endpoints: list, restore, delete - [`f14e6e8`](https://github.com/BookStackApp/BookStack/commit/f14e6e8f2dbfac04829c1819398038ec99166d8f) Complete list endpoint and add some tests - [`14bccae`](https://github.com/BookStackApp/BookStack/commit/14bccae6bd93164c6fc647747654c0fccd8dffe7) do some cleanup and add doc ### 📊 Changes **8 files changed** (+383 additions, -10 deletions) <details> <summary>View changed files</summary> ➕ `app/Entities/Repos/DeletionRepo.php` (+36 -0) ➕ `app/Http/Controllers/Api/RecycleBinApiController.php` (+95 -0) 📝 `app/Http/Controllers/RecycleBinController.php` (+5 -10) ➕ `dev/api/responses/recycle_bin-destroy.json` (+3 -0) ➕ `dev/api/responses/recycle_bin-list.json` (+34 -0) ➕ `dev/api/responses/recycle_bin-restore.json` (+3 -0) 📝 `routes/api.php` (+5 -0) ➕ `tests/Api/RecycleBinApiTest.php` (+202 -0) </details> ### 📄 Description Related to: https://github.com/BookStackApp/BookStack/issues/3372 This is a draft PR to discuss and make sure I'm on the right track. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 10:26:29 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#6188