List the chapters of an EPUB asset (reading order)
GET /assets/{id}/epub/spine
Returns the ordered list of chapters from the default rendition’s spine. Each entry carries the chapter’s manifest id, a display label (NCX/TOC label when available, else the manifest id, else “Chapter N”), and the original href + media type for debugging. The frontend reader uses this to populate the table of contents + chapter picker.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Responses
Section titled “ Responses ”Ordered spine entries
One chapter entry from an EPUB’s spine (reading order). Returned by GET /assets/{id}/epub/spine; consumed by the frontend reader to render the TOC + chapter picker.
object
Zero-based spine position; pass to /chapters/{idx}.
Display label — NCX/TOC label, else manifest id, else “Chapter N”.
Original manifest href (debugging / federation parity).
Example
application/xhtml+xmlAuthentication required, missing, or invalid
object
Human-readable error summary
Example
the request could not be completedExample
{ "error": "authentication required: sign in and retry with a valid session or API token"}Resource not found
object
Human-readable error summary
Example
the request could not be completedUnexpected server error
object
Human-readable error summary
Example
the request could not be completed