cURL
curl --request POST \ --url https://api.mottostreaming.com/ott/page_components/v1 \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "project_id": "<string>", "name": "<string>", "type": "<string>", "data": {}, "props": {}, "environments": [ "<string>" ], "visibility": "VISIBILITY_UNSPECIFIED", "group_id": "<string>" }'
{ "page_component": { "id": "<string>", "project_id": "<string>", "name": "<string>", "type": "<string>", "data": {}, "props": {}, "environments": [ "<string>" ], "visibility": "VISIBILITY_UNSPECIFIED", "group_id": "<string>" } }
CreatePageComponent
Creates new page_component.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
OK
The response is of type object.
object