books

Rate a book

Access: write token.

Set loved or liked, or use none to clear the rating. Setting loved/liked also records the book as read.

post/api/books/{book_id}/rating

Request

  • Base URL: https://leafle.org (the document declares no server; this is the origin it was published from)
  • URL: https://leafle.org/api/books/{book_id}/rating
  • Auth: HTTP bearer

Path parameters

book_idinteger required

Request body

rating'loved' | 'liked' | 'none' required
reader_idinteger nullable

Response

Successful Response

okboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.