GET
/
cms
/
banners
/
v1
curl --request GET \
  --url https://api.mottostreaming.com/cms/banners/v1 \
  --header 'Authorization: Bearer <token>'
{
  "banners": [
    {
      "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"
    }
  ],
  "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

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

200
application/json
OK
banners
object[]

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

next_page_token
string

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