page.cavu.getBook
One book's shelf view, hydrated with community counts the shelf list doesn't carry. The readerCount comes from a backlink index over page.cavu.progress records and is garnish, never load-bearing — it is omitted rather than guessed when the index is unreachable.
Details · query
| Kind | query |
|---|---|
| Authority | cavu.page |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "One book's shelf view, hydrated with community counts the shelf list doesn't carry. The readerCount comes from a backlink index over page.cavu.progress records and is garnish, never load-bearing — it is omitted rather than guessed when the index is unreachable.",
"errors": [
{
"description": "The publication is not in the index — it doesn't exist, or isn't a renderable book.",
"name": "BookNotFound"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"book": {
"ref": "page.cavu.defs#bookView",
"type": "ref"
},
"readerCount": {
"description": "Distinct repos holding a page.cavu.progress record for this book.",
"minimum": 0,
"type": "integer"
}
},
"required": [
"book"
],
"type": "object"
}
},
"parameters": {
"properties": {
"uri": {
"description": "AT-URI of the book's site.standard.publication record.",
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri"
],
"type": "params"
},
"type": "query"
}
},
"id": "page.cavu.getBook",
"lexicon": 1
}