Create and update thumbnails for videos and players.
Get the selected_thumbnail for a specified video
| 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 |
REQUEST
Content-Type: application/json
RESPONSE
200 (Ok)
{
"uuid": "34Jf4iLz234v1M2TQRbg",
"url": "https://cdn.vidyard.com/test_uuid.png",
"created_at": 1414002317,
"updated_at": 1414002317
}
| Param name | Description |
|---|---|
|
auth_token optional |
API token needed to authorize requests Validations:
|
|
custom_identifier optional |
Filters the results by custom identifier. Validations:
|
Set player thumbnails to existing thumbnails or download and create thumbnails from a given URLs
| 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 |
REQUEST
Content-Type: application/json
[
{
"url": "http://www.pictureplace.com/thumbnail.jpg"
},
{
"uuid": "uuid"
}
]
RESPONSE
200 (OK)
[
{
"thumbnail": {
"thumbnail_type": "custom",
"url": "http://www.pictureplace.com/thumbnail.jpg",
"uuid": "new_uuid",
"uuid": "34Jf4iLz234v1M2TQRbg",
"created_at": 1414002317,
"updated_at": 1414002317
},
"created_at": 1414002317,
"updated_at": 1414002317
},
{
"thumbnail": {
"thumbnail_type": "generated",
"url": "http://images.cdn.com/9eJxQqf4iLz234v1M2TQRbg.png",
"uuid": "uuid",
"uuid": "34Jf4iLz234v1M2TQRbg",
"created_at": 1403632462,
"updated_at": 1403632498
},
"created_at": 1413997943,
"updated_at": 1414002049
}
]
| Param name | Description |
|---|---|
|
auth_token optional |
API token needed to authorize requests Validations:
|
|
player_uuid required |
Validations:
|
|
uuid optional |
The thumbnail to add to the selected thumbnails for this player. Thumbnail must already belong to this player. Validations:
|
|
url optional |
The URL for an image to upload to vidyard. This creates a new thumbnail to add to the selected thumbnails for this player. Validations:
|
Get a player’s thumbnails
| 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 |
REQUEST
Content-Type: application/json
RESPONSE
200 (Ok)
[
{
"thumbnail": {
"thumbnail_type": "custom",
"url": "http://images.cdn.com/8FSj9sfgDG89GD9dgf34.png",
"uuid": "34Jf4iLz234v1M2TQRbg",
"id": 60719,
"created_at": 1414002317,
"updated_at": 1414002317
},
"created_at": 1414002317,
"updated_at": 1414002317
},
{
"thumbnail": {
"uuid": "34Jf4iLz234v1M2TQRbg",
"thumbnail_type": "generated",
"url": "http://images.cdn.com/9eJxQqf4iLz234v1M2TQRbg.png",
"id": 60681,
"created_at": 1403632462,
"updated_at": 1403632498
},
"created_at": 1413997943,
"updated_at": 1414002049
}
]
| Param name | Description |
|---|---|
|
auth_token optional |
API token needed to authorize requests Validations:
|
|
custom_identifier optional |
Filters the results by custom identifier. Validations:
|
Get thumbnails for the specified video
| 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 |
REQUEST
Content-Type: application/json
RESPONSE
200 (Ok)
[{
"uuid": "34Jf4iLz234v1M2TQRbg",
"url": "http://images.cdn.com/9eJxQqf4iLz234v1M2TQRbg.png"
"created_at": 1414002317,
"updated_at": 1414002317
}]
| Param name | Description |
|---|---|
|
auth_token optional |
API token needed to authorize requests Validations:
|
|
custom_identifier optional |
Filters the results by custom identifier. Validations:
|
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:
|
DEPRECATED
Set player thumbnails to existing thumbnails or download and create thumbnails from a given URLs
| 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 |
REQUEST
Content-Type: application/json
[
{
"thumbnail_url": "http://www.pictureplace.com/thumbnail.jpg",
},
{
"thumbnail_id": 60681,
}
]
RESPONSE
200 (OK)
[
{
"thumbnail": {
"thumbnail_type": "custom",
"url": "http://www.pictureplace.com/thumbnail.jpg",
"id": 60719,
"uuid": "34Jf4iLz234v1M2TQRbg",
"created_at": 1414002317,
"updated_at": 1414002317
},
"created_at": 1414002317,
"updated_at": 1414002317
},
{
"thumbnail": {
"thumbnail_type": "generated",
"url": "http://images.cdn.com/9eJxQqf4iLz234v1M2TQRbg.png",
"id": 60681,
"uuid": "34Jf4iLz234v1M2TQRbg",
"created_at": 1403632462,
"updated_at": 1403632498
},
"created_at": 1413997943,
"updated_at": 1414002049
}
]
| Param name | Description |
|---|---|
|
auth_token optional |
API token needed to authorize requests Validations:
|
|
thumbnail_id optional |
The thumbnail to add to the selected thumbnails for this player. Thumbnail must already belong to this player. Validations:
|
|
thumbnail_url optional |
The URL for an image to upload to vidyard. This creates a new thumbnail to add to the selected thumbnails for this player. Validations:
|
DEPRECATED
Get a single Thumbnail
| 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 |
REQUEST
Content-Type: application/json
RESPONSE
200 (Ok)
{
"thumbnail_type": "custom",
"url": "https://cdn.vidyard.com/test_uuid.png",
"id": 60719,
"created_at": 1414002317,
"updated_at": 1414002317
}
| Param name | Description |
|---|---|
|
auth_token optional |
API token needed to authorize requests Validations:
|