com.livtet.status.set

Upsert a bookStatus. Metadata is merged, createdAt survives an update, updatedAt is bumped.

Details · procedure
Kindprocedure
Authoritystatus.livtet.com
Commit rev3n3l6gf5hmsqo
Indexed

Procedure

procedure · POST

Input

application/json

book

requiredref

The catalog edition this status belongs to.

metadata

object

Optional progress metadata. `status` is taken from the top-level field.

shelf

string · at-uri

Optional shelf record URI to file the status under.

status

requiredstring

Reading status for the edition.

  • knownValues: to-read | reading | read | dnf

Output

application/json

status

requiredstring

The status that was written.

uri

requiredstring · at-uri

AT-URI of the bookStatus record.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Set the reading status of one edition. The bookStatus rkey is the edition rkey, so changing status replaces the previous record instead of adding a shelf membership.

  • One status event for one catalog edition: a record is written when the reader sets a status, and again for every later change, so a reread is a second `read` record. The current status is the newest record for the book. Records live in the reader's own repo and name both the edition they are about and the shelf it sits on.

  • One status event for one catalog edition: a record is written when the reader sets a status, and again for every later change, so a reread is a second `read` record. The current status is the newest record for the book. Records live in the reader's own repo and name both the edition they are about and the shelf it sits on.

  • Clear the reading status of one edition by deleting the bookStatus at the edition rkey.

  • A reading status change event for a book. Records are append-only and timestamped — each status transition creates a new record rather than mutating an existing one. The current status of a book is derived by taking the most recent status record (by createdAt) referencing that book.