DEPRECATED
Update a video
DEPRECATED: Updates to a video will be overwritten by any subsequent changes to its associated player. To make changes to the video, use the player endpoint to update the Player object instead.
| Code | Description |
|---|---|
| 400 | Bad Request: body has wrong syntax or unable to handle request |
| 401 | Unauthorized: auth_token omitted or authentication failed |
| 403 | Forbidden: This action cannot be performed |
| 404 | Not Found: The requested resource could not be found |
| 406 | Not Acceptable: Accept or Content-Type headers must be application/json, text/csv or application/vnd.openxmlformats-officedocument.spreadsheetml.sheet |
| 422 | Unprocessable Entity: body has wrong attributes |
REQUEST
Content-Type: application/json
{
"name": "My Awesomest Video",
"description": "They are compiling!",
"organization_id": 20,
}
RESPONSE
200 (OK)
{
"id": 2222,
"organization_id": 20,
"uuid": "4epPofk8TYhIanJLgZyIeA",
"name": "My Awesomest Video",
"upload_url": "http://myvideos.com/video.mp4",
"description": "They are compiling!",
"notes": "This video shows our old logo we should replace it soon...",
"audio_gain": 20,
"webhook_url": "http://callbacktest.herokuapp.com/",
"sync": true,
"status": "ready",
"approver: "approver.user@organization.com",
"error_message": null,
"created_at": 1346961610,
"updated_at": 1346961610
}
| Param name | Description |
|---|---|
|
auth_token optional |
API token needed to authorize requests Validations:
|
|
id required |
Validations:
|
|
name optional |
Name of the video Validations:
|
|
description optional |
Description to be shown with the video Validations:
|
|
notes optional |
Your notes about the video Validations:
|
|
sync optional |
If this video is pushed to YouTube, we will keep this video’s details in sync anytime you change them on Vidyard Validations:
|
|
approver optional |
Approver email Validations:
|