buzz.bookhive.getPersonalBookFile
Download the raw ebook file for a book in the authenticated user's personal library. Responds with the stored bytes, a strong ETag equal to the content hash, and a `Content-Disposition: attachment` filename. Honours `If-None-Match` with a 304, so an e-reader syncing on a schedule does not re-download every book. The XRPC equivalent of GET /opds/books/{hash}/download/{name}.ext.
Details · query
| Kind | query |
|---|---|
| Authority | bookhive.buzz |
| Commit rev | 3n2mntoox522e |
| Indexed |
Query
query · GETParameters
query stringContent hash identifying the book, as returned by getPersonalLibrary
Output
application/epub+zip,application/x-mobipocket-ebook,application/x-fictionbook+xml,application/vnd.comicbook+zip,application/octet-streamErrors
NotFound
No such book in the caller's library, or its file is missing from disk
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
Get a single book from the authenticated user's personal library.
-
Cover image for a book in the authenticated user's personal library. Serves the cover extracted from the uploaded file when there is one; otherwise, if the book is linked to a BookHive catalog entry, responds 302 to the public image proxy for that entry. The XRPC equivalent of GET /opds/books/{hash}/cover.
-
Get the authenticated user's personal ebook library.
-
buzz.bookhive.deletePersonalBook
procedureDelete a book from the authenticated user's personal library.