# social.colibri.embed.searchGifs

> Published by [colibri.social](https://lexicon.garden/identity/did:plc:mprdjqjluoswa7awzggaggj3)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:mprdjqjluoswa7awzggaggj3/social.colibri.embed.searchGifs)
- [Documentation](https://lexicon.garden/lexicon/did:plc:mprdjqjluoswa7awzggaggj3/social.colibri.embed.searchGifs/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:mprdjqjluoswa7awzggaggj3/social.colibri.embed.searchGifs/examples)

## Definitions

### `social.colibri.embed.searchGifs`

**Type**: `query`

Searches GIFs by query.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `q` | `string` | Yes |  |
| `page` | `integer` | No |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `page` | `integer` | Yes |  |
| `items` | `array` | Yes |  |
| `hasNext` | `boolean` | Yes |  |

#### Errors

- **AuthRequired**: Missing, malformed, or unverifiable service auth.
- **InvalidRequest**: A parameter or body field was missing or malformed.

## Raw Schema

```json
{
  "id": "social.colibri.embed.searchGifs",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "AuthRequired",
          "description": "Missing, malformed, or unverifiable service auth."
        },
        {
          "name": "InvalidRequest",
          "description": "A parameter or body field was missing or malformed."
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "items",
            "page",
            "hasNext"
          ],
          "properties": {
            "page": {
              "type": "integer"
            },
            "items": {
              "type": "array",
              "items": {
                "ref": "lex:social.colibri.embed.defs#gifItem",
                "type": "ref"
              }
            },
            "hasNext": {
              "type": "boolean"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "q"
        ],
        "properties": {
          "q": {
            "type": "string"
          },
          "page": {
            "type": "integer"
          }
        }
      },
      "description": "Searches GIFs by query."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
