cURL
curl --request POST \ --url https://api.mottostreaming.com/streaming/vods/v1 \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "asset_id": "<string>" } '
{ "vod": { "name": "<string>", "asset_id": "<string>", "id": "<string>", "project_id": "<string>", "region": "REGION_UNSPECIFIED", "video_id": "<string>", "state": "STATE_UNSPECIFIED" } }
CreateVideo
Creates a new video and starts the process. The video will be available for streaming once the process is complete.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
OK
CreateVideoResponse is the response message for CreateVideo.
The created video.
Show child attributes