curl --request PATCH \
--url https://api.mottostreaming.com/streaming/videos/v1/{video_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"video_id": "<string>",
"video": {
"name": "<string>",
"playlists": [
{
"name": "<string>",
"dvr_settings": {
"window_size_seconds": 123
},
"visibility": "VISIBILITY_UNSPECIFIED"
}
]
},
"update_mask": "<string>"
}'
{
"video": {
"id": "<string>",
"name": "<string>",
"project_id": "<string>",
"playlists": [
{
"id": "<string>",
"name": "<string>",
"format": "PLAYLIST_FORMAT_UNSPECIFIED",
"private_url": "<string>",
"public_url": "<string>",
"dvr_settings": {
"window_size_seconds": 123
},
"visibility": "VISIBILITY_UNSPECIFIED",
"org_id": "<string>",
"project_id": "<string>",
"video_id": "<string>"
}
]
}
}
UpdateVideo
Updates video settings.
curl --request PATCH \
--url https://api.mottostreaming.com/streaming/videos/v1/{video_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"video_id": "<string>",
"video": {
"name": "<string>",
"playlists": [
{
"name": "<string>",
"dvr_settings": {
"window_size_seconds": 123
},
"visibility": "VISIBILITY_UNSPECIFIED"
}
]
},
"update_mask": "<string>"
}'
{
"video": {
"id": "<string>",
"name": "<string>",
"project_id": "<string>",
"playlists": [
{
"id": "<string>",
"name": "<string>",
"format": "PLAYLIST_FORMAT_UNSPECIFIED",
"private_url": "<string>",
"public_url": "<string>",
"dvr_settings": {
"window_size_seconds": 123
},
"visibility": "VISIBILITY_UNSPECIFIED",
"org_id": "<string>",
"project_id": "<string>",
"video_id": "<string>"
}
]
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
OK
The response is of type object
.