Envelope returned by GET /books/{id}.
GET /books/{id}
The payload nests the book alongside its chapters, so the detail page needs only this one request — /books/{id}/chapters exists for callers that want the chapters alone.
/books/{id}/chapters
Optional
Envelope returned by
GET /books/{id}.The payload nests the book alongside its chapters, so the detail page needs only this one request —
/books/{id}/chaptersexists for callers that want the chapters alone.