[PR #5722] [CLOSED] refactor: api CRUD routes now have dedicated files #6556

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

📋 Pull Request Information

Original PR: https://github.com/BookStackApp/BookStack/pull/5722
Author: @TheKiryuKha
Created: 7/18/2025
Status: Closed

Base: developmentHead: refactor-routes


📝 Commits (1)

  • 5b71df3 refactor: api CRUD routes now have dedicated files

📊 Changes

9 files changed (+127 additions, -65 deletions)

View changed files

📝 routes/api.php (+30 -65)
routes/api/attachments.php (+10 -0)
routes/api/books.php (+16 -0)
routes/api/chapters.php (+15 -0)
routes/api/image-gallery.php (+10 -0)
routes/api/pages.php (+16 -0)
routes/api/roles.php (+10 -0)
routes/api/shelves.php (+10 -0)
routes/api/users.php (+10 -0)

📄 Description

Moves api CRUD routes into special files for better understanding


🔄 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/5722 **Author:** [@TheKiryuKha](https://github.com/TheKiryuKha) **Created:** 7/18/2025 **Status:** ❌ Closed **Base:** `development` ← **Head:** `refactor-routes` --- ### 📝 Commits (1) - [`5b71df3`](https://github.com/BookStackApp/BookStack/commit/5b71df3c2eecb1735d9a02c73f3b253eee49345d) refactor: api CRUD routes now have dedicated files ### 📊 Changes **9 files changed** (+127 additions, -65 deletions) <details> <summary>View changed files</summary> 📝 `routes/api.php` (+30 -65) ➕ `routes/api/attachments.php` (+10 -0) ➕ `routes/api/books.php` (+16 -0) ➕ `routes/api/chapters.php` (+15 -0) ➕ `routes/api/image-gallery.php` (+10 -0) ➕ `routes/api/pages.php` (+16 -0) ➕ `routes/api/roles.php` (+10 -0) ➕ `routes/api/shelves.php` (+10 -0) ➕ `routes/api/users.php` (+10 -0) </details> ### 📄 Description Moves api CRUD routes into special files for better understanding --- <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:35:27 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#6556