org.passingreads.book.listBookKeys
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.
Details · query
| Kind | query |
|---|---|
| Authority | book.passingreads.org |
| Indexed |
Checks
Validunlimited-stringdefs.main.output.schema.properties.keys.items.properties.bookIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.keys.items.properties.privateKeyNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "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.",
"errors": [
{
"description": "The authenticated DID has no PassingReads profile indexed by the appview.",
"name": "ProfileNotFound"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"keys": {
"items": {
"properties": {
"bookId": {
"type": "string"
},
"privateKey": {
"type": "string"
},
"stashedAt": {
"format": "datetime",
"type": "string"
}
},
"required": [
"bookId",
"privateKey",
"stashedAt"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"keys"
],
"type": "object"
}
},
"type": "query"
}
},
"id": "org.passingreads.book.listBookKeys",
"lexicon": 1
}