# com.hikeratlas.temp.getRouteReviews

> Reviews of a route, newest first. Served by Hiker Atlas's indexer (https://github.com/hikeratlas/atproto-indexer). In beta: may change.

- Kind: query
- Authority: temp.hikeratlas.com
- Lexicon: 1
- Published by [hikeratlas.com](https://lexicon.garden/identity/did:plc:7onixtzlmdjijmp7ympxedte), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:7onixtzlmdjijmp7ympxedte/com.hikeratlas.temp.getRouteReviews)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:7onixtzlmdjijmp7ympxedte/com.hikeratlas.temp.getRouteReviews/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:7onixtzlmdjijmp7ympxedte/com.hikeratlas.temp.getRouteReviews/analytics)

## Query (`com.hikeratlas.temp.getRouteReviews`)

Type: query · GET

### Parameters (query string)

- `cursor` (string)
- `key` (string, required): A route key (com.hikeratlas.temp.defs#routeKey).
  - Constraints: maxLength: 128
- `limit` (integer)
  - Constraints: minimum: 1, maximum: 50, default: 20

### Output (application/json)

- `cursor` (string)
- `reviews` (array, required)
  - `items` (ref)
    - Reference: `com.hikeratlas.temp.defs#reviewView`

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Reviews of a route, newest first. Served by Hiker Atlas's indexer (https://github.com/hikeratlas/atproto-indexer). In beta: may change.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "type": "string"
            },
            "reviews": {
              "items": {
                "ref": "com.hikeratlas.temp.defs#reviewView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "reviews"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "type": "string"
          },
          "key": {
            "description": "A route key (com.hikeratlas.temp.defs#routeKey).",
            "maxLength": 128,
            "type": "string"
          },
          "limit": {
            "default": 20,
            "maximum": 50,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "key"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "com.hikeratlas.temp.getRouteReviews",
  "lexicon": 1
}
```
