# ink.resenha.book.getReviews

> Readers the caller blocks are left out.

- Kind: query
- Authority: book.resenha.ink
- Lexicon: 1
- Published by [resenha.ink](https://lexicon.garden/identity/did:plc:v7itjf4h3sb5zuegiiskctqb), not the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:v7itjf4h3sb5zuegiiskctqb/ink.resenha.book.getReviews)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:v7itjf4h3sb5zuegiiskctqb/ink.resenha.book.getReviews/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:v7itjf4h3sb5zuegiiskctqb/ink.resenha.book.getReviews/analytics)

## Query (`ink.resenha.book.getReviews`)

Type: query · GET

### Parameters (query string)

- `cursor` (string): Where the previous page ended.
- `hiveId` (string, required)
  - Constraints: maxLength: 64
- `limit` (integer)
  - Constraints: minimum: 1, maximum: 100, default: 50
- `scope` (string): all: every book reader the server knows, on BookHive, Popfeed and Resenha. resenha: Resenha's readers only.
  - Constraints: default: "all", knownValues: all | resenha

### Output (application/json)

- `cursor` (string): Where the previous page ended.
- `reviews` (array, required)
  - `items` (ref)
    - Reference: `ink.resenha.defs#reviewView`

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Readers the caller blocks are left out.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "description": "Where the previous page ended.",
              "type": "string"
            },
            "reviews": {
              "items": {
                "ref": "ink.resenha.defs#reviewView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "reviews"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "description": "Where the previous page ended.",
            "type": "string"
          },
          "hiveId": {
            "maxLength": 64,
            "type": "string"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "scope": {
            "default": "all",
            "description": "all: every book reader the server knows, on BookHive, Popfeed and Resenha. resenha: Resenha's readers only.",
            "knownValues": [
              "all",
              "resenha"
            ],
            "type": "string"
          }
        },
        "required": [
          "hiveId"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "description": "Reviews of a book from every source, newest first.",
  "id": "ink.resenha.book.getReviews",
  "lexicon": 1
}
```
