# games.gamesgamesgamesgames.getReviews

> Published by [gamesgamesgamesgames.games](https://lexicon.garden/identity/did:web:gamesgamesgamesgames.games)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:web:gamesgamesgamesgames.games/games.gamesgamesgamesgames.getReviews)
- [Documentation](https://lexicon.garden/lexicon/did:web:gamesgamesgamesgames.games/games.gamesgamesgamesgames.getReviews/docs)
- [Examples](https://lexicon.garden/lexicon/did:web:gamesgamesgamesgames.games/games.gamesgamesgamesgames.getReviews/examples)

## Definitions

### `games.gamesgamesgamesgames.getReviews`

**Type**: `query`

Get Popfeed reviews for a game, matched by IGDB ID.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `uri` | `string` (at-uri) | Yes | AT URI of the game record. |
| `limit` | `integer` | No | Maximum number of reviews to return. |
| `cursor` | `string` | No | Pagination cursor (offset). |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cursor` | `string` | No |  |
| `reviews` | `array` | Yes |  |

### `games.gamesgamesgamesgames.getReviews#popfeedReview`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | Yes |  |
| `uri` | `string` (at-uri) | Yes |  |
| `tags` | `array` | No |  |
| `text` | `string` | No |  |
| `title` | `string` | No |  |
| `facets` | `array` | No |  |
| `rating` | `integer` | Yes |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `containsSpoilers` | `boolean` | No |  |

## Raw Schema

```json
{
  "id": "games.gamesgamesgamesgames.getReviews",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "reviews"
          ],
          "properties": {
            "cursor": {
              "type": "string"
            },
            "reviews": {
              "type": "array",
              "items": {
                "refs": [
                  "#popfeedReview"
                ],
                "type": "union"
              }
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "uri"
        ],
        "properties": {
          "uri": {
            "type": "string",
            "format": "at-uri",
            "description": "AT URI of the game record."
          },
          "limit": {
            "type": "integer",
            "default": 20,
            "maximum": 100,
            "minimum": 1,
            "description": "Maximum number of reviews to return."
          },
          "cursor": {
            "type": "string",
            "description": "Pagination cursor (offset)."
          }
        }
      },
      "description": "Get Popfeed reviews for a game, matched by IGDB ID."
    },
    "popfeedReview": {
      "type": "object",
      "required": [
        "uri",
        "did",
        "rating",
        "createdAt"
      ],
      "properties": {
        "did": {
          "type": "string",
          "format": "did"
        },
        "uri": {
          "type": "string",
          "format": "at-uri"
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "text": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "facets": {
          "type": "array",
          "items": {
            "ref": "social.popfeed.richtext.facet",
            "type": "ref"
          }
        },
        "rating": {
          "type": "integer",
          "maximum": 10,
          "minimum": 0
        },
        "createdAt": {
          "type": "string",
          "format": "datetime"
        },
        "containsSpoilers": {
          "type": "boolean"
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
