Get book counts grouped by H3 cell, for rendering the homepage map at varying zoom levels.
Parameters
Output
Encoding
application/jsonlocations
array
Required
No description available.
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"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"
}