Skip to content

Replace book content

PUT
/api/v1/books/{bookId}/content
curl --request PUT \
--url http://127.0.0.1:58259/api/v1/books/1/content

Overwrite the primary PDF file for a book with the uploaded content. Used by the document viewer to persist annotation changes.

bookId
required
integer format: int64

ID of the book

bookType
string

Optional book type for alternative format

Book content replaced successfully

Book not found