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.

Repository @cavu.page did:plc:citulkqjdzbnf7wd5xb6lled namespace authority
Details · query
Kindquery
Authoritycavu.page
Indexed
cid bafyreifbimytjnea47o5nzutmtj3b35pwdhf7tlu44wzzvxau7ccy7ys4q

Checks

Valid Lint pass
JSONDownload
{
  "$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
}