books

Update Hardcover sync preferences

Access: write token.

Change writing-back preferences and sync frequency. The connection must already exist (404 otherwise). Enabling writes requires suitable Hardcover permission; a missing permission is reported by the next sync. reader_id is a query parameter.

patch/api/hardcover

Request

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

Query parameters

reader_idinteger nullable

Request body

push_enabledboolean nullable
sync_frequency'manual' | 'daily' | 'weekly' nullable

Response

Successful Response

connectedboolean required
usernamestring
push_enabledboolean
needs_reconnectboolean
connected_atstring nullable
last_sync_atstring nullable
last_sync_errorstring nullable
books_syncedinteger
sync_frequencystring
next_sync_atstring nullable
account_urlstring required
availableboolean

Changes

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