Download book file
GET/api/v1/books/:book_id/file
Streams the original book file (CBZ, CBR, EPUB, PDF) for download. Used by OPDS clients for acquisition links.
Range-capable and conditional. Accept-Ranges: bytes and a strong ETag
go out on every response, so a download interrupted partway can resume with
Range rather than starting again, and a client that understands the
container can read part of an archive without fetching all of it — the
suffix form bytes=-65536 reaches a ZIP central directory directly.
Request
Responses
- 200
- 206
- 304
- 403
- 404
- 416
Book file
The requested byte range
Not modified (client cache is valid)
Forbidden
Book not found
The requested range names no byte of the file