Create a video entity
To create your video streaming, you need to create an Entity object.
/v1/video-entities
Request Body
Name
Type
Description
{
"data": {
"id": "2b970a39-874a-4d2a-be8a-fd445646d74c",
"name": "My video 1",
"description": "Oops",
"input_url": "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4",
"encoding_template": "hd",
"content_policy": "public",
"status": "processing",
"playback": null,
"created_at": "2020-03-23T07:22:34Z",
"updated_at": "2020-03-23T07:22:34Z"
}
}{
"message": "Your request is missing name parameter. Please, verify and resubmit.",
"error_type": "invalid_request_error"
}{
"message": "You are unauthorized to access the requested resource. Please verify and resubmit.",
"error_type": "invalid_request_error"
}5Last updated