Get Started
Studio API
- Introduction
- Streaming
- Live Streams
- Simulcasts
- Clips
- Videos
- Video Protection
- Configurations
- Assets
- CMS
- OTT
- Monetization
- IAM
- Integration
- Analytics
Content Delivery API
Deep dive
Videos
Update video
UpdateVideo
Updates video settings.
PATCH
/
streaming
/
videos
/
v1
/
{video_id}
Copy
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>"
}'
Copy
{
"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"
}
]
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
application/json
Response
200
application/json
OK
The response is of type object
.
Copy
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>"
}'
Copy
{
"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"
}
]
}
}
Assistant
Responses are generated using AI and may contain mistakes.