Skip to main content
GET
/
cms
/
banners
/
v2
cURL
curl --request GET \
  --url https://api.mottostreaming.com/cms/banners/v2 \
  --header 'Authorization: Bearer <token>'
{
  "banners": [
    {
      "project_id": "<string>",
      "name": "<string>",
      "banner_type": "BANNER_TYPE_UNSPECIFIED",
      "template_type": "<string>",
      "id": "<string>",
      "content_id": "<string>",
      "dynamic_target": {
        "filter": "<string>",
        "order_by": "<string>"
      },
      "background_assets": [
        {
          "options": [
            {
              "asset_id": {
                "asset_id": {}
              },
              "keypath": "<string>"
            }
          ],
          "breakpoint_width": 123
        }
      ],
      "data": {},
      "environments": [
        "<string>"
      ],
      "css_classes": [
        "<string>"
      ],
      "visibility": "VISIBILITY_UNSPECIFIED",
      "overrides": {},
      "geo_applicability_exempt": {
        "country_codes": [
          "<string>"
        ]
      },
      "geo_applicability_apply": {
        "country_codes": [
          "<string>"
        ]
      },
      "destination_url": {}
    }
  ],
  "next_page_token": "<string>"
}

Authorizations

Authorization
string
header
required

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

Query Parameters

page_size
integer<int32>

Maximum number of records to return

project_id
string
order_by
string

Specifies the result ordering for List requests. Supported values are:

  • "name asc|desc"
page_token
string

The pagination token in the List request.

Response

OK

banners
object[]
next_page_token
string

The pagination token that should be used to get next page results. An empty value means no more results