# com.getorbyt.video.getAutoDeletes

> Published by [getorbyt.com](https://lexicon.garden/identity/did:plc:2xrqztnmzlckb3xfuuukupso)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:2xrqztnmzlckb3xfuuukupso/com.getorbyt.video.getAutoDeletes)
- [Documentation](https://lexicon.garden/lexicon/did:plc:2xrqztnmzlckb3xfuuukupso/com.getorbyt.video.getAutoDeletes/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:2xrqztnmzlckb3xfuuukupso/com.getorbyt.video.getAutoDeletes/examples)

## Definitions

### `com.getorbyt.video.getAutoDeletes`

**Type**: `query`

Public expiration metadata for requested post URIs. Private execution credentials and errors are never returned.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `posts` | `array` | Yes |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `enabled` | `boolean` | Yes |  |
| `views` | `array` | Yes |  |

### `com.getorbyt.video.getAutoDeletes#view`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `caption` | `string` | No |  |
| `expiresAt` | `string` (datetime) | No |  |
| `post` | `string` (at-uri) | Yes |  |
| `product` | `string` | No |  |
| `status` | `string` | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Public expiration metadata for requested post URIs. Private execution credentials and errors are never returned.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "enabled": {
              "type": "boolean"
            },
            "views": {
              "items": {
                "ref": "#view",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "enabled",
            "views"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "posts": {
            "items": {
              "format": "at-uri",
              "type": "string"
            },
            "maxLength": 100,
            "type": "array"
          }
        },
        "required": [
          "posts"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "view": {
      "properties": {
        "caption": {
          "maxLength": 3000,
          "type": "string"
        },
        "expiresAt": {
          "format": "datetime",
          "type": "string"
        },
        "post": {
          "format": "at-uri",
          "type": "string"
        },
        "product": {
          "enum": [
            "orbyt",
            "byte"
          ],
          "type": "string"
        },
        "status": {
          "knownValues": [
            "reserved",
            "scheduled",
            "paused",
            "needs_authorization",
            "conflict",
            "deleted"
          ],
          "type": "string"
        }
      },
      "required": [
        "post",
        "status"
      ],
      "type": "object"
    }
  },
  "id": "com.getorbyt.video.getAutoDeletes",
  "lexicon": 1
}
```
