Get Started
Studio API
- Introduction
- Streaming
- CMS
- OTT
- Monetization
- IAM
- Integration
- Analytics
Content Delivery API
Deep dive
Banners
Update banner
UpdateBanner
Updates an existing banner.
PATCH
/
cms
/
banners
/
v1
/
{banner_id}
Copy
curl --request PATCH \
--url https://api.mottostreaming.com/cms/banners/v1/{banner_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"banner_id": "<string>",
"banner_update": {
"project_id": "<string>",
"name": "<string>",
"destination_url": {},
"texts": [
{
"text": {},
"color": "<string>",
"background_color": "<string>",
"font_family": "<string>",
"is_button": true
}
],
"background_assets": [
{
"asset_id": {},
"loop": true,
"breakpoint_width": 123
}
],
"visibility": "VISIBILITY_UNSPECIFIED"
},
"update_mask": "<string>"
}'
Copy
{
"banner": {
"id": "<string>",
"project_id": "<string>",
"name": "<string>",
"destination_url": {},
"texts": [
{
"text": {},
"color": "<string>",
"background_color": "<string>",
"font_family": "<string>",
"is_button": true
}
],
"background_assets": [
{
"asset_id": {},
"loop": true,
"breakpoint_width": 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/cms/banners/v1/{banner_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"banner_id": "<string>",
"banner_update": {
"project_id": "<string>",
"name": "<string>",
"destination_url": {},
"texts": [
{
"text": {},
"color": "<string>",
"background_color": "<string>",
"font_family": "<string>",
"is_button": true
}
],
"background_assets": [
{
"asset_id": {},
"loop": true,
"breakpoint_width": 123
}
],
"visibility": "VISIBILITY_UNSPECIFIED"
},
"update_mask": "<string>"
}'
Copy
{
"banner": {
"id": "<string>",
"project_id": "<string>",
"name": "<string>",
"destination_url": {},
"texts": [
{
"text": {},
"color": "<string>",
"background_color": "<string>",
"font_family": "<string>",
"is_button": true
}
],
"background_assets": [
{
"asset_id": {},
"loop": true,
"breakpoint_width": 123
}
],
"visibility": "VISIBILITY_UNSPECIFIED"
}
}
Assistant
Responses are generated using AI and may contain mistakes.