This method creates a video indexing task that uploads and indexes a video in a single operation.
This endpoint bundles two operations (upload and indexing) together. In the next major API release, this endpoint will be removed in favor of a separated workflow:
POST /assets endpointPOST /indexes/{index-id}/indexed-assets endpointThis separation provides better control, reusability of assets, and improved error handling. New implementations should use the new workflow.
Upload options:
video_file parameter.video_url parameter.Your video files must meet requirements based on your workflow:
This endpoint is rate-limited. For details, see the Rate limits page.
Your API key.
You can find your API key on the API Keys page.
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.
Metadata that helps you categorize your videos. You can specify a list of keys and values. Keys must be of type string, and values can be of the following types: string, integer, float, or boolean. Send this value as a JSON-encoded string.