PATCH
/
cms
/
banner_collections
/
v1
/
{banner_collection_id}
curl --request PATCH \
  --url https://api.mottostreaming.com/cms/banner_collections/v1/{banner_collection_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "banner_collection_id": "<string>",
  "project_id": "<string>",
  "banner_collection_update": {
    "id": "<string>",
    "project_id": "<string>",
    "name": "<string>",
    "banner_ids": [
      "<string>"
    ],
    "visibility": "VISIBILITY_UNSPECIFIED"
  },
  "update_mask": "<string>"
}'
{
  "banner_collection": {
    "id": "<string>",
    "project_id": "<string>",
    "name": "<string>",
    "banner_ids": [
      "<string>"
    ],
    "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_collection_id
string
required

Body

application/json
banner_collection_id
string
required
project_id
string
required
banner_collection_update
object
required

BannerCollection represents a collection of banners that can be displayed in a carousel on an end-user facing web/app page.

update_mask
string
required

Response

200
application/json
OK
banner_collection
object

BannerCollection represents a collection of banners that can be displayed in a carousel on an end-user facing web/app page.