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": {},
"overrides": {},
"page_components": [
{
"project_id": "<string>",
"name": "<string>",
"type": "<string>",
"data": {},
"props": {},
"environments": [
"<string>"
],
"visibility": "VISIBILITY_UNSPECIFIED",
"group_id": "<string>"
}
]
},
"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": {},
"overrides": {},
"page_components": [
{
"id": "<string>",
"project_id": "<string>",
"name": "<string>",
"type": "<string>",
"data": {},
"props": {},
"environments": [
"<string>"
],
"visibility": "VISIBILITY_UNSPECIFIED",
"group_id": "<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>",
"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": {},
"overrides": {},
"page_components": [
{
"project_id": "<string>",
"name": "<string>",
"type": "<string>",
"data": {},
"props": {},
"environments": [
"<string>"
],
"visibility": "VISIBILITY_UNSPECIFIED",
"group_id": "<string>"
}
]
},
"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": {},
"overrides": {},
"page_components": [
{
"id": "<string>",
"project_id": "<string>",
"name": "<string>",
"type": "<string>",
"data": {},
"props": {},
"environments": [
"<string>"
],
"visibility": "VISIBILITY_UNSPECIFIED",
"group_id": "<string>"
}
]
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
OK
The response is of type object
.