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>"
]
}
}
}
]
}
]
}
}UpdatePage
Updates existing page.
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>"
]
}
}
}
]
}
]
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
PAGE_TYPE_UNSPECIFIED, PAGE_TYPE_DEFAULT, PAGE_TYPE_HOME, PAGE_TYPE_EVENT, PAGE_TYPE_CREATIVE_WORK, PAGE_TYPE_ENTITY Page is a configuration object that defines the structure of a page, of which there can be arbitrarily many instances.
Show child attributes
OK
Page is a configuration object that defines the structure of a page, of which there can be arbitrarily many instances.
Show child attributes