books

Add to the reading queue

Access: write token.

Append a book to the queue, optionally with its recommendation rationale in why. An already-queued book keeps its position. Returns 409 if the book is already read.

post/api/books/to-read

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/to-read
  • Auth: HTTP bearer

Request body

titlestring required
authorstring nullable
whystring nullable
source'picks' | 'daily-find'
reader_idinteger nullable

Response

Successful Response

okboolean required
idinteger required
positioninteger required

Changes

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