Upload a custom cover image for a book
POST/api/v1/books/:book_id/cover
Accepts a multipart form with an image file. The image will be stored in the uploads directory and used as the book's cover/thumbnail.
Request
Responses
- 200
- 400
- 403
- 404
Cover uploaded successfully
Bad request - no image file provided or invalid image
Forbidden
Book not found