# place.stream.game.search

> Search for games and other entities via the games.gamesgamesgamesgames catalog. Proxied from the configured games API.

- Kind: query
- Authority: game.stream.place
- Lexicon: 1
- Published by [stream.place](https://lexicon.garden/identity/did:plc:rbvrr34edl5ddpuwcubjiost), not the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:rbvrr34edl5ddpuwcubjiost/place.stream.game.search)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:rbvrr34edl5ddpuwcubjiost/place.stream.game.search/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:rbvrr34edl5ddpuwcubjiost/place.stream.game.search/analytics)

## Query (`place.stream.game.search`)

Type: query · GET

### Parameters (query string)

- `cursor` (string)
- `limit` (integer)
  - Constraints: minimum: 1, maximum: 100, default: 20
- `q` (string, required)
  - Constraints: minLength: 1, maxLength: 200

### Output (application/json)

- `cursor` (string)
- `results` (array, required)
  - `items` (union)
    - One of: `games.gamesgamesgamesgames.defs#gameSummaryView`, `games.gamesgamesgamesgames.defs#profileSummaryView`, `games.gamesgamesgamesgames.defs#platformSummaryView`, `games.gamesgamesgamesgames.defs#collectionSummaryView`, `games.gamesgamesgamesgames.defs#engineSummaryView`
- `totalResults` (integer)

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Search for games and other entities via the games.gamesgamesgamesgames catalog. Proxied from the configured games API.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "type": "string"
            },
            "results": {
              "items": {
                "refs": [
                  "games.gamesgamesgamesgames.defs#gameSummaryView",
                  "games.gamesgamesgamesgames.defs#profileSummaryView",
                  "games.gamesgamesgamesgames.defs#platformSummaryView",
                  "games.gamesgamesgamesgames.defs#collectionSummaryView",
                  "games.gamesgamesgamesgames.defs#engineSummaryView"
                ],
                "type": "union"
              },
              "type": "array"
            },
            "totalResults": {
              "type": "integer"
            }
          },
          "required": [
            "results"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "type": "string"
          },
          "limit": {
            "default": 20,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "q": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "q"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "place.stream.game.search",
  "lexicon": 1
}
```
