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
Configurations
Update configuration
UpdateConfiguration
Updates a configuration.
PATCH
/
streaming
/
configurations
/
v1
/
{configuration_id}
Copy
curl --request PATCH \
--url https://api.mottostreaming.com/streaming/configurations/v1/{configuration_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"configuration_id": "<string>",
"configuration": {
"project_id": "<string>",
"name": "<string>",
"description": "<string>",
"default": true,
"disabled": true,
"type": "CONFIGURATION_TYPE_UNSPECIFIED",
"data": {
"transcoder_streams": {
"streams": [
{
"video_quality": "VIDEO_QUALITY_UNSPECIFIED",
"video_aspect_ratio": "VIDEO_ASPECT_RATIO_UNSPECIFIED",
"video_bitrate": 123,
"video_framerate": 123,
"video_keyframe_interval": 123,
"segment_duration": 123
}
]
},
"transcoder_overlays": {
"static_overlays": [
{
"asset_id": "<string>",
"x": 123,
"y": 123,
"width": 123,
"height": 123
}
]
},
"automated_tagging": {
"enabled": true
}
}
},
"update_mask": "<string>"
}'
Copy
{
"configuration": {
"id": "<string>",
"project_id": "<string>",
"name": "<string>",
"description": "<string>",
"default": true,
"disabled": true,
"type": "CONFIGURATION_TYPE_UNSPECIFIED",
"data": {
"transcoder_streams": {
"streams": [
{
"video_quality": "VIDEO_QUALITY_UNSPECIFIED",
"video_aspect_ratio": "VIDEO_ASPECT_RATIO_UNSPECIFIED",
"video_bitrate": 123,
"video_framerate": 123,
"video_keyframe_interval": 123,
"segment_duration": 123
}
]
},
"transcoder_overlays": {
"static_overlays": [
{
"asset_id": "<string>",
"x": 123,
"y": 123,
"width": 123,
"height": 123
}
]
},
"automated_tagging": {
"enabled": true
}
}
}
}
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/configurations/v1/{configuration_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"configuration_id": "<string>",
"configuration": {
"project_id": "<string>",
"name": "<string>",
"description": "<string>",
"default": true,
"disabled": true,
"type": "CONFIGURATION_TYPE_UNSPECIFIED",
"data": {
"transcoder_streams": {
"streams": [
{
"video_quality": "VIDEO_QUALITY_UNSPECIFIED",
"video_aspect_ratio": "VIDEO_ASPECT_RATIO_UNSPECIFIED",
"video_bitrate": 123,
"video_framerate": 123,
"video_keyframe_interval": 123,
"segment_duration": 123
}
]
},
"transcoder_overlays": {
"static_overlays": [
{
"asset_id": "<string>",
"x": 123,
"y": 123,
"width": 123,
"height": 123
}
]
},
"automated_tagging": {
"enabled": true
}
}
},
"update_mask": "<string>"
}'
Copy
{
"configuration": {
"id": "<string>",
"project_id": "<string>",
"name": "<string>",
"description": "<string>",
"default": true,
"disabled": true,
"type": "CONFIGURATION_TYPE_UNSPECIFIED",
"data": {
"transcoder_streams": {
"streams": [
{
"video_quality": "VIDEO_QUALITY_UNSPECIFIED",
"video_aspect_ratio": "VIDEO_ASPECT_RATIO_UNSPECIFIED",
"video_bitrate": 123,
"video_framerate": 123,
"video_keyframe_interval": 123,
"segment_duration": 123
}
]
},
"transcoder_overlays": {
"static_overlays": [
{
"asset_id": "<string>",
"x": 123,
"y": 123,
"width": 123,
"height": 123
}
]
},
"automated_tagging": {
"enabled": true
}
}
}
}
Assistant
Responses are generated using AI and may contain mistakes.