com.hikeratlas.temp.getRouteStats

Counts of faves, reviews and tracks for up to 100 routes, by route key. Served by Hiker Atlas's indexer (https://github.com/hikeratlas/atproto-indexer). In beta: may change.

Repository @hikeratlas.com did:plc:7onixtzlmdjijmp7ympxedte namespace authority
Details · query
Kindquery
Authoritytemp.hikeratlas.com
Commit rev3n2d6uicxdu2b
Indexed
cid bafyreiayssotqsxyh57mzw32zhzqu47ucz7rvl6egraplcnt6iq6hpxrei

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Counts of faves, reviews and tracks for up to 100 routes, by route key. Served by Hiker Atlas's indexer (https://github.com/hikeratlas/atproto-indexer). In beta: may change.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "routes": {
              "description": "One per distinct key asked for, in the order asked; zeros for a route nobody has posted about.",
              "items": {
                "ref": "com.hikeratlas.temp.defs#routeStats",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "routes"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "keys": {
            "items": {
              "description": "A route key (com.hikeratlas.temp.defs#routeKey).",
              "maxLength": 128,
              "type": "string"
            },
            "maxLength": 100,
            "minLength": 1,
            "type": "array"
          }
        },
        "required": [
          "keys"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "com.hikeratlas.temp.getRouteStats",
  "lexicon": 1
}