GET Video Config
Overview
The following table contains important information about the GET
method in regards to receiving the video cpnfig.
GET Video Config | |
---|---|
Method | GET |
URL or Endpoint | /video/videoId /playerId |
Headers | Authorization |
Parameters | playerId, videoId, api-version |
Body | Not Applicable |
The description of the URL parameters is as follows:
URL Parameter Name | Mandatory | Type | Description |
---|---|---|---|
playerId | Yes | string | Unique Id of the player. |
videoId | Yes | string | Unique Id of the video. |
api-version | No | string | Correct api-version. |
Request Body
The request does not contain a request body
Response
{
"success": true,
"errors": [],
"messages": [],
"result": [
{
"id": 1,
"name": "16:9",
"value": null
},
{
"id": 2,
"name": "16:10",
"value": null
},
{
"id": 3,
"name": "9:16",
"value": null
},
{
"id": 4,
"name": "4:3",
"value": null
},
{
"id": 5,
"name": "3:2",
"value": null
},
{
"id": 6,
"name": "1:1",
"value": null
},
{
"id": 7,
"name": "2.4:1",
"value": null
}
],
"resultInfo": null,
"statusCode": 200
}
If the action is successful, the service sends back an HTTP 200 or 201 response.
Errors
For information about the errors that are common to all actions, see Common Errors:
HTTP Status Code 400: Bad Request
HTTP Status Code 401: Unauthorized
HTTP Status Code 403: Forbidden
HTTP Status Code 404: Result Not Found
HTTP Status Code 500: Internal Server Error
HTTP Status Code 503: Backend Fetch Failed