libraries

Save your library choices

Access: write token.

Send up to eight ordered library IDs from directory results. ids: [] explicitly declines library use; ids: null clears the choice. If confirming a chat offer, include its offer_id; a superseded offer returns 409. Buying preferences are unchanged.

put/api/reader/libraries

Request

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

Request body

reader_idinteger nullable
offer_idstring nullable
idsstring[] nullable required

Ordered library IDs; [] declines library use; null clears the selection.

Response

Successful Response

explicitboolean required
pending_offer_idstring nullable

Changes

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