org.passingreads.book.stashBookKey
Stash a book's private key on the appview so the user can interact with the book (drop it, leave a note) from any device without re-scanning the QR. Stashed keys are wiped automatically when a drop event is ingested for that book.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | book.passingreads.org |
| Indexed |
Procedure
procedure · POSTInput
application/jsonThe book's short ID (as encoded in its QR code).
Multibase-encoded Ed25519 private key for the book. The appview verifies the key derives to the given bookId.
Output
application/jsonErrors
BookKeyMismatch
The supplied privateKey does not derive to the supplied bookId.
ProfileNotFound
The authenticated DID has no PassingReads profile indexed by the appview.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
List the book private keys the authenticated user has stashed on the appview. Used by clients to populate the local key cache after sign-in on a new device.