# place.stream.vod.updateDraft

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

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:web:stream.place/place.stream.vod.updateDraft)
- [Documentation](https://lexicon.garden/lexicon/did:web:stream.place/place.stream.vod.updateDraft/docs)
- [Examples](https://lexicon.garden/lexicon/did:web:stream.place/place.stream.vod.updateDraft/examples)

## Definitions

### `place.stream.vod.updateDraft`

**Type**: `procedure`

Update a draft VOD's editable metadata. Server-authoritative fields (source, durationMs, status) are preserved. Editing is allowed in any status, so the user can pre-fill metadata while processing. All fields except uri are optional (partial update).

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `uri` | `string` | Yes | The ats:// URI of the draft to update. |
| `tags` | `array` | No |  |
| `thumb` | `blob` | No |  |
| `title` | `string` | No |  |
| `activity` | `union` | No |  |
| `description` | `string` | No |  |
| `contentRights` | `ref` → `place.stream.metadata.contentRights` | No |  |
| `contentWarnings` | `ref` → `place.stream.metadata.contentWarnings` | No |  |
| `descriptionFacets` | `array` | No |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `draft` | `ref` → `place.stream.vod.draftDefs#draftView` | Yes |  |

#### Errors

- **NotFound**: No draft exists with the given URI for the authenticated user.

## Raw Schema

```json
{
  "id": "place.stream.vod.updateDraft",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "uri"
          ],
          "properties": {
            "uri": {
              "type": "string",
              "description": "The ats:// URI of the draft to update."
            },
            "tags": {
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 640,
                "maxGraphemes": 64
              },
              "maxLength": 10
            },
            "thumb": {
              "type": "blob",
              "accept": [
                "image/*"
              ],
              "maxSize": 1000000
            },
            "title": {
              "type": "string",
              "maxLength": 1400,
              "maxGraphemes": 140
            },
            "activity": {
              "refs": [
                "place.stream.defs#activityGame",
                "place.stream.defs#activityLabel"
              ],
              "type": "union"
            },
            "description": {
              "type": "string",
              "maxLength": 50000,
              "maxGraphemes": 5000
            },
            "contentRights": {
              "ref": "place.stream.metadata.contentRights",
              "type": "ref"
            },
            "contentWarnings": {
              "ref": "place.stream.metadata.contentWarnings",
              "type": "ref"
            },
            "descriptionFacets": {
              "type": "array",
              "items": {
                "ref": "place.stream.richtext.videoFacet",
                "type": "ref"
              }
            }
          }
        },
        "encoding": "application/json"
      },
      "errors": [
        {
          "name": "NotFound",
          "description": "No draft exists with the given URI for the authenticated user."
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "draft"
          ],
          "properties": {
            "draft": {
              "ref": "place.stream.vod.draftDefs#draftView",
              "type": "ref"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": null,
      "description": "Update a draft VOD's editable metadata. Server-authoritative fields (source, durationMs, status) are preserved. Editing is allowed in any status, so the user can pre-fill metadata while processing. All fields except uri are optional (partial update)."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
