# ink.resenha.discover.getReviews

> Signed in, the caller's own reviews, and those of accounts they follow or block, can be left out.

- Kind: query
- Authority: discover.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.discover.getReviews)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:v7itjf4h3sb5zuegiiskctqb/ink.resenha.discover.getReviews/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:v7itjf4h3sb5zuegiiskctqb/ink.resenha.discover.getReviews/analytics)

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

Type: query · GET

### Parameters (query string)

- `cursor` (string): Where the previous page ended.
- `excludeFollowing` (boolean)
  - Constraints: default: false
- `language` (string · language): Only reviews in this language.
- `limit` (integer)
  - Constraints: minimum: 1, maximum: 100, default: 50

### 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": "Signed in, the caller's own reviews, and those of accounts they follow or block, can be 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"
          },
          "excludeFollowing": {
            "default": false,
            "type": "boolean"
          },
          "language": {
            "description": "Only reviews in this language.",
            "format": "language",
            "type": "string"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "description": "Recent reviews by Resenha's readers.",
  "id": "ink.resenha.discover.getReviews",
  "lexicon": 1
}
```
