Search for players based on player properties
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 |
REQUEST Content-Type: application/json { "mute_onload": false, "pause_disabled": true, "height": 360, "width": 400, "splash_screen_fade": true, "color": "#ffffff", "sharing_page_comments": true, "play_button": true, "sharing_page": true, "embed_button": true, "playlist_color": "#ffffff", "autoplay": false, "viral_sharing": false, "viral_sharing_message": "Check out this cool video!", "custom_sharing_link": "www.vidyard.com", "authorized_by": null, "hidden_controls": false, "up_next": false, "custom_attribute_name": "internal_name", "custom_attribute_value": "new internal product launch" } RESPONSE 200 (OK) [ "players": [ { "id": 1111, "uuid": "eQSsPVXinqGoesujP2Vteg", "name": "My Player", ... }, "id": 1156, "uuid": "YBQpV0CPF5ht1UGj0qPHQQ", "name": "My Player", ... } ], "summary": { "page": 1, "per_page": 2, "count": 4 } ]
Param name | Description |
---|---|
auth_token optional |
API token needed to authorize requests Validations:
|
name optional |
Filters players based on specified player name (exact match only) Validations:
|
mute_onload optional |
Filters players based on specified mute_onload value Validations:
|
pause_disabled optional |
Filters players based on specified pause_disabled value Validations:
|
height optional |
Filters players based on specified height value Validations:
|
width optional |
Filters players based on specified width value Validations:
|
splash_screen_fade optional |
Filters players based on specified splash_screen_fade value Validations:
|
color optional |
Filters players based on player colour value Validations:
|
play_button_color optional |
Filters players based on play button colour value Validations:
|
sharing_page_comments optional |
Filters players based on specified sharing_page_comments value Validations:
|
play_button optional |
Filters players based on specified play_button value Validations:
|
sharing_page optional |
Filters players based on specified sharing_page value Validations:
|
embed_button optional |
Filters players based on specified embed_button value Validations:
|
playlist_color optional |
Filters players based on specified playlist_color value Validations:
|
autoplay optional |
Filters players based on specified autoplay value Validations:
|
first_frame optional |
Causes the player to begin playing as soon as it has loaded and then immediately pause Validations:
|
viral_sharing optional |
Filters players based on specified viral_sharing value Validations:
|
viral_sharing_message optional |
Filters players based on specified viral_sharing_message value Validations:
|
custom_sharing_link optional |
Filters players based on specified custom_sharing_link value Validations:
|
hidden_controls optional |
Filters players based on specific hidden_controls value Validations:
|
up_next optional |
Filters players based on Up Next feature Validations:
|
disable_legacy optional |
Filters players based on allowance of legacy mode Validations:
|
custom_attribute_name optional |
Filters players based on specific custom attribute, must be used in conjunction with custom_attribute_value Validations:
|
custom_attribute_value optional |
Filters players based on specific custom attribute value, must be used in conjunction with custom_attribute_name Validations:
|
order_by optional |
Set the property to order the results of the search Validations:
|
direction optional |
Direction of the sorting of results Validations:
|
per_page optional |
The number of items to show per page Validations:
|
page optional |
The page number to include in the response Validations:
|