PATCH
/
cms
/
banners
/
v1
/
{banner_id}
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>"
}'
{
  "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

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

banner_id
string
required

Body

application/json
banner_id
string
required
banner_update
object
required

Banner represents a single banner that can be displayed on an end-user facing web/app page.

update_mask
string
required

Response

200
application/json
OK
banner
object

Banner represents a single banner that can be displayed on an end-user facing web/app page.