curl --request GET \
--url https://api.mottostreaming.com/ott/pages/v1/{page_id} \
--header 'Authorization: Bearer <token>'{
"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>"
]
}
}
}
]
}
]
}
}GetPage
Returns page information by page ID.
curl --request GET \
--url https://api.mottostreaming.com/ott/pages/v1/{page_id} \
--header 'Authorization: Bearer <token>'{
"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 OK
Page is a configuration object that defines the structure of a page, of which there can be arbitrarily many instances.
Show child attributes