Skip to main content
PATCH
/
ott
/
pages
/
v1
/
{page_id}
cURL
curl --request PATCH \
  --url https://api.mottostreaming.com/ott/pages/v1/{page_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "page_id": "<string>",
  "page_type": "PAGE_TYPE_UNSPECIFIED",
  "platform_id": "<string>",
  "page_update": {
    "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>",
        "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>"
                ]
              }
            }
          }
        ]
      }
    ]
  },
  "update_mask": "<string>"
}
'
{
  "page": {
    "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>"
                ]
              }
            }
          }
        ]
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

page_id
string
required

Body

application/json
page_id
string
required
page_type
enum<string>
required
Available options:
PAGE_TYPE_UNSPECIFIED,
PAGE_TYPE_DEFAULT,
PAGE_TYPE_HOME,
PAGE_TYPE_EVENT,
PAGE_TYPE_CREATIVE_WORK,
PAGE_TYPE_ENTITY
platform_id
string
required
page_update
object
required

Page is a configuration object that defines the structure of a page, of which there can be arbitrarily many instances.

update_mask
string<field-mask>
required

Response

OK

page
object

Page is a configuration object that defines the structure of a page, of which there can be arbitrarily many instances.