Enhance /pages/{id}
and /chapters/{id}
READ
responses with additional book and chapter information
#5184
Labels
/pages/{id}
and /chapters/{id}
READ
responses with additional book and chapter information
#5184
Describe the feature you'd like
We propose enhancing the response data for
READ
requests on the/pages/{id}
and/chapters/{id}
endpoints to include additional contextual information:For
/pages/{id}
:Add
book_name
Add
book_slug
Add
chapter_name
Add
chapter_slug
For
/chapters/{id}
:Add
book_name
Retain existing
book_slug
This enhancement would provide a more comprehensive response, allowing API consumers to access hierarchical information about a page or chapter in a single request.
Describe the benefits this would bring to existing BookStack users
/books/{id}
or/chapters/{id}
endpointCan the goal of this request already be achieved via other means?
Currently you'd have to send another
READ
request to either the/books/{id}
or/chapters/{id}
endpoint to fetch the required information.Have you searched for an existing open/closed issue?
How long have you been using BookStack?
3 months to 1 year
Additional context
No response
The text was updated successfully, but these errors were encountered: