org.passingreads.book.getLocationCounts
Get book counts grouped by H3 cell, for rendering the homepage map at varying zoom levels.
Details · query
| Kind | query |
|---|---|
| Authority | book.passingreads.org |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Get book counts grouped by H3 cell, for rendering the homepage map at varying zoom levels.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"locations": {
"items": {
"ref": "org.passingreads.defs#locationEntry",
"type": "ref"
},
"type": "array"
}
},
"required": [
"locations"
],
"type": "object"
}
},
"parameters": {
"properties": {
"resolution": {
"description": "If provided, only return cells at this H3 resolution. If omitted, returns counts at all resolutions (parents up the hierarchy).",
"maximum": 15,
"minimum": 0,
"type": "integer"
}
},
"type": "params"
},
"type": "query"
}
},
"id": "org.passingreads.book.getLocationCounts",
"lexicon": 1
}