DEPRECATED
Set a video’s selected thumbnails to existing thumbnail or download and create a thumbnail from a given URL
| 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 |
| 409 | Conflict: Conflict with the current state of the resource |
| 422 | Unprocessable Entity: body has wrong attributes |
EXAMPLE Upload image from URL
REQUEST
Content-Type: application/json
{
"url": "http://www.pictureplace.com/thumbnail.jpg"
}
RESPONSE
200 (OK)
{
"thumbnail_type": "custom",
"url": "http://www.pictureplace.com/thumbnail.jpg",
"id": 60719,
"uuid": "34Jf4iLz234v1M2TQRbg",
"created_at": 1414002317,
"updated_at": 1414002317
}
EXAMPLE Use existing available video thumbnail
REQUEST
Content-Type: application/json
{
"thumbnail_id": 60681
}
RESPONSE
200 (OK)
{
"thumbnail_type": "generated",
"url": "http://images.cdn.com/9eJxQqf4iLz234v1M2TQRbg.png",
"id": 60681,
"uuid": "34Jf4iLz234v1M2TQRbg",
"created_at": 1403632462,
"updated_at": 1403632498
}
| Param name | Description |
|---|---|
|
auth_token optional |
API token needed to authorize requests Validations:
|
|
thumbnail_id optional |
The thumbnail to set as the selected thumbnails for this video. Thumbnail must already belong to this player. Validations:
|
|
url optional |
A URL for an image to upload to vidyard. This creates a new thumbnail to set as the selected thumbnail for this video. Validations:
|