com.livtet.listShelfItemsByBook
List the custom-shelf membership records for one book in one reader's repo.
Details · query
| Kind | query |
|---|---|
| Authority | livtet.com |
| Commit rev | 3n3l6g7qbw6wf |
| Indexed |
Checks
Validmissing-primary-descriptiondefs.mainThe query has no description.unlimited-stringdefs.main.parameters.properties.cursorNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.cursorNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"errors": [
{
"description": "The book is not an AT-URI or the DID is malformed.",
"name": "InvalidRequest"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cursor": {
"type": "string"
},
"items": {
"items": {
"ref": "com.livtet.defs#shelfItemView",
"type": "ref"
},
"type": "array"
}
},
"required": [
"items"
],
"type": "object"
}
},
"parameters": {
"properties": {
"book": {
"description": "AT-URI of the book whose shelf memberships to read.",
"format": "at-uri",
"type": "string"
},
"cursor": {
"description": "Opaque pagination cursor.",
"type": "string"
},
"did": {
"description": "DID of the reader whose shelves to search.",
"format": "did",
"type": "string"
},
"limit": {
"default": 50,
"description": "Maximum number of shelfItem records to return.",
"maximum": 100,
"minimum": 1,
"type": "integer"
}
},
"required": [
"book",
"did"
],
"type": "params"
},
"type": "query"
}
},
"description": "List the custom-shelf membership records for one book in one reader's repo.",
"id": "com.livtet.listShelfItemsByBook",
"lexicon": 1
}