update_video
Change one video in a video surface: swap its file (url), rename it or relabel it. Get video_id from list_videos. Omitted fields stay as they are. Editor role required. Emits video.updated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Optional new https URL (mp4, webm, mov or m4v). | |
| name | No | Optional new name. Max 200 chars. | |
| slug | Yes | The workspace slug. Accepts bare or org-prefixed form. | |
| label | No | Optional new label. Max 60 chars. | |
| video_id | Yes | The video's id, from list_videos. | |
| content_type | No | Optional content type for a new `url` without an extension. | |
| surface_slug | No | Optional video surface slug. Omit for the first video surface. |