# app.thesocialwire.socialDraft.getGifFile

> Gateway-only private catalog GIF file copy. Authentication required. Never publishes files or exposes provider credentials. Resolves only the exact catalog id and requested rendition; no input URLs, redirects, or alternate-file fallback. Responses use Cache-Control: private, no-store. Limits: 104857600 bytes per file; poster 1000000 bytes.

- Kind: query
- Authority: socialDraft.thesocialwire.app
- Lexicon: 1
- Published by [samclemente.me](https://lexicon.garden/identity/did:plc:qy5pluw2bsuq2x6albsgkvx3), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:qy5pluw2bsuq2x6albsgkvx3/app.thesocialwire.socialDraft.getGifFile)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:qy5pluw2bsuq2x6albsgkvx3/app.thesocialwire.socialDraft.getGifFile/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:qy5pluw2bsuq2x6albsgkvx3/app.thesocialwire.socialDraft.getGifFile/analytics)

## Query (`app.thesocialwire.socialDraft.getGifFile`)

Type: query · GET

### Parameters (query string)

- `id` (string, required): Exact catalog GIF ID (ASCII letters, digits, underscore or hyphen); never a URL.
  - Constraints: minLength: 1, maxLength: 128
- `rendition` (string, required)
  - Constraints: enum: gif | poster | mp4 | webm

### Output (*/*)


### Errors

- `InvalidRequest`: No description in schema.
- `Unauthorized`: No description in schema.
- `NotFound`: No description in schema.
- `Quota`: No description in schema.
- `TooManyRequests`: No description in schema.
- `UpstreamUnavailable`: No description in schema.
- `Unavailable`: No description in schema.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Gateway-only private catalog GIF file copy. Authentication required. Never publishes files or exposes provider credentials. Resolves only the exact catalog id and requested rendition; no input URLs, redirects, or alternate-file fallback. Responses use Cache-Control: private, no-store. Limits: 104857600 bytes per file; poster 1000000 bytes.",
      "errors": [
        {
          "name": "InvalidRequest"
        },
        {
          "name": "Unauthorized"
        },
        {
          "name": "NotFound"
        },
        {
          "name": "Quota"
        },
        {
          "name": "TooManyRequests"
        },
        {
          "name": "UpstreamUnavailable"
        },
        {
          "name": "Unavailable"
        }
      ],
      "output": {
        "encoding": "*/*"
      },
      "parameters": {
        "properties": {
          "id": {
            "description": "Exact catalog GIF ID (ASCII letters, digits, underscore or hyphen); never a URL.",
            "maxLength": 128,
            "minLength": 1,
            "type": "string"
          },
          "rendition": {
            "enum": [
              "gif",
              "poster",
              "mp4",
              "webm"
            ],
            "type": "string"
          }
        },
        "required": [
          "id",
          "rendition"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "app.thesocialwire.socialDraft.getGifFile",
  "lexicon": 1
}
```
