Run in Apidog
Create video container with all informations and configurations.Upload a video To make the video upload, you must first create the video, and then make the upload to a signed url.Learn more Request Add parameter in header Authorization
Example: Authorization: ********************
Body Params application/x-www-form-urlencoded
Request samples curl --location --request POST '/videos/vod' \
--header 'Accept: application/json' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization;' \
--data-urlencode 'title=New video' \
--data-urlencode 'description=This is a description' \
--data-urlencode 'tag_ids[]=4236' \
--data-urlencode 'privacy=public' \
--data-urlencode 'collection_id=88567' \
--data-urlencode 'audio_language=IT' \
--data-urlencode 'origin_url=https://example.com/video-file.mp4' \
--data-urlencode 'clip_start_seconds=0' \
--data-urlencode 'clip_duration_seconds=15' \
--data-urlencode 'projection=regular'
Responses application/json Generate Code
{
"id" : "<string>" ,
"status" : "<string>"
}
Modified at 2024-09-26 11:49:46