Skip to main content
GET
/
ott
/
pages
/
v1
cURL
curl --request GET \
  --url https://api.mottostreaming.com/ott/pages/v1 \
  --header 'Authorization: Bearer <token>'
{
  "pages": [
    {
      "id": "<string>",
      "project_id": "<string>",
      "page_type": "PAGE_TYPE_UNSPECIFIED",
      "name": "<string>",
      "title": {},
      "description": {},
      "parameters": [
        "<string>"
      ],
      "page_component_ids": [
        "<string>"
      ],
      "css": "<string>",
      "platform_id": "<string>",
      "visibility": "VISIBILITY_UNSPECIFIED",
      "metadata_tags": {},
      "overrides": {},
      "page_components": [
        {
          "project_id": "<string>",
          "id": "<string>",
          "name": "<string>",
          "type": "<string>",
          "data": {},
          "props": {},
          "environments": [
            "<string>"
          ],
          "visibility": "VISIBILITY_UNSPECIFIED",
          "group_id": "<string>",
          "css_classes": [
            "<string>"
          ]
        }
      ],
      "is_preview": true,
      "source_page_id": "<string>",
      "redirects": [
        {
          "url": "<string>",
          "conditions": [
            {
              "authentication": {
                "state": "SIGNED_IN_STATE_UNSPECIFIED"
              },
              "geolocation": {
                "on_countries": {
                  "country_codes": [
                    "<string>"
                  ]
                },
                "except_countries": {
                  "country_codes": [
                    "<string>"
                  ]
                }
              },
              "entitlement": {
                "entitled_to": {
                  "offer_ids": [
                    "<string>"
                  ]
                },
                "not_entitled_to": {
                  "offer_ids": [
                    "<string>"
                  ]
                }
              }
            }
          ]
        }
      ]
    }
  ],
  "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
filter
string

Filter the result-set by properties using a subset of the Kibana Query Language. This currently supports queries based on:

  • platform_id, e.g. platform_id:Zidfx48am194
  • page_type, e.g. page_type:event
  • has_banner_collection_id, e.g. has_banner_collection_id:homepage -> this query would return all pages that have a page component that links to the banner collection with ID homepage.
page_token
string

The pagination token in the List request.

Response

OK

pages
object[]
next_page_token
string

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