PATCH
/
ott
/
page_components
/
v1
/
{page_component_id}
curl --request PATCH \
  --url https://api.mottostreaming.com/ott/page_components/v1/{page_component_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "page_component_id": "<string>",
  "page_component_update": {
    "project_id": "<string>",
    "name": "<string>",
    "type": "<string>",
    "data": {},
    "props": {},
    "environments": [
      "<string>"
    ],
    "visibility": "VISIBILITY_UNSPECIFIED",
    "group_id": "<string>"
  },
  "update_mask": "<string>"
}'
{
  "page_component": {
    "id": "<string>",
    "project_id": "<string>",
    "name": "<string>",
    "type": "<string>",
    "data": {},
    "props": {},
    "environments": [
      "<string>"
    ],
    "visibility": "VISIBILITY_UNSPECIFIED",
    "group_id": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

page_component_id
string
required

Body

application/json
page_component_id
string
required
page_component_update
object
required
update_mask
string
required

A comma-separated list of fields to be updated. Only fields specified in this mask will be updated. Note: to update the configuration of any of the non-standard fields on this component, use type in the field mask instead of their field name. For example, if this component is for the video player, do not include video_player in the field mask. Instead, include type.

Response

200
application/json
OK
page_component
object