This method creates a video indexing task that uploads and indexes a video. Ensure your video meets the requirements in the Prerequisites section of the Upload single videos page.
Upload options:
video_file
parameter.video_url
parameter.The unique identifier of the index to which the video is being uploaded.
Specify this parameter to upload a video from a publicly accessible URL.
This parameter indicates if the platform stores the video for streaming. When set to true
, the platform stores the video, and you can retrieve its URL by calling the GET
method of the /indexes/{index-id}/videos/{video-id}
endpoint. You can then use this URL to access the stream over the HLS protocol.
A video indexing task has successfully been created.
A string representing the unique identifier of your video indexing task.
A string representing the unique identifier of the video associated with the specified video indexing task.