PATCH
/
ott
/
pages
/
v1
/
{page_id}
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>",
    "name": "<string>",
    "title": {},
    "description": {},
    "page_type": "PAGE_TYPE_UNSPECIFIED",
    "parameters": [
      "<string>"
    ],
    "page_component_ids": [
      "<string>"
    ],
    "css": "<string>",
    "platform_id": "<string>",
    "visibility": "VISIBILITY_UNSPECIFIED",
    "metadata_tags": {}
  },
  "update_mask": "<string>"
}'
{
  "page": {
    "id": "<string>",
    "project_id": "<string>",
    "name": "<string>",
    "title": {},
    "description": {},
    "page_type": "PAGE_TYPE_UNSPECIFIED",
    "parameters": [
      "<string>"
    ],
    "page_component_ids": [
      "<string>"
    ],
    "css": "<string>",
    "platform_id": "<string>",
    "visibility": "VISIBILITY_UNSPECIFIED",
    "metadata_tags": {}
  }
}

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
required

Response

200
application/json
OK
page
object

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