add list of chapters to JSON data in books/read API endpoint #3172

Closed
opened 2026-02-05 06:06:59 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @pmenzel on GitHub (Sep 19, 2022).

API Endpoint or Feature

For the sake of completeness, the JSON data returned by the books/read API endpoint /api/books/{id} (docs) should contain a list of chapters in the particular book, similar as shelves/read contains a list of books and chapters/read contains a list of pages.

Use-Case

When getting the info about a particular book via the /api/books/{id} API endpoint, it would be nice to have the list of chapters included in the JSON data.

Additional context

No response

Originally created by @pmenzel on GitHub (Sep 19, 2022). ### API Endpoint or Feature For the sake of completeness, the JSON data returned by the books/read API endpoint `/api/books/{id}` ([docs](https://demo.bookstackapp.com/api/docs#books-read)) should contain a list of chapters in the particular book, similar as shelves/read contains a list of books and chapters/read contains a list of pages. ### Use-Case When getting the info about a particular book via the `/api/books/{id}` API endpoint, it would be nice to have the list of chapters included in the JSON data. ### Additional context _No response_
OVERLORD added the 🔩 API Request label 2026-02-05 06:06:59 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#3172