Skip to content

Upload audiobook cover image from file

POST
/api/v1/books/{bookId}/metadata/audiobook-cover/upload
curl --request POST \
--url http://127.0.0.1:58259/api/v1/books/1/metadata/audiobook-cover/upload \
--header 'Content-Type: application/json' \
--data '{ "file": "binary" }'

Upload an audiobook cover image for a book from a file. Requires metadata edit permission or admin.

bookId
required
integer format: int64

ID of the book

Media type application/json
object
file
required

Cover image file

string format: binary
Example generated
{
"file": "binary"
}

Audiobook cover image uploaded successfully