Get Started
Studio API
- Introduction
- Streaming
- CMS
- Events
- Creative Works
- Entities
- Content Types
- Annotations
- OTT
- Monetization
- IAM
- Integration
- Analytics
Content Delivery API
Deep dive
Entities
Update entity
UpdateEntity
Updates existing entity.
PATCH
/
cms
/
entities
/
v1
/
{entity_id}
Copy
curl --request PATCH \
--url https://api.mottostreaming.com/cms/entities/v1/{entity_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"entity_id": "<string>",
"entity_update": {
"project_id": "<string>",
"type_id": "<string>",
"name": "<string>",
"description": "<string>",
"thumbnail_asset_id": "<string>",
"disabled": true,
"fields": {},
"visibility": "VISIBILITY_UNSPECIFIED",
"localized_name": {},
"localized_description": {},
"localized_thumbnail_asset_id": {}
},
"update_mask": "<string>"
}'
Copy
{
"entity": {
"id": "<string>",
"project_id": "<string>",
"type_id": "<string>",
"name": "<string>",
"description": "<string>",
"thumbnail_asset_id": "<string>",
"disabled": true,
"fields": {},
"visibility": "VISIBILITY_UNSPECIFIED",
"create_time": "2023-11-07T05:31:56Z",
"localized_name": {},
"localized_description": {},
"localized_thumbnail_asset_id": {}
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
application/json
Response
200
application/json
OK
The response is of type object
.
Copy
curl --request PATCH \
--url https://api.mottostreaming.com/cms/entities/v1/{entity_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"entity_id": "<string>",
"entity_update": {
"project_id": "<string>",
"type_id": "<string>",
"name": "<string>",
"description": "<string>",
"thumbnail_asset_id": "<string>",
"disabled": true,
"fields": {},
"visibility": "VISIBILITY_UNSPECIFIED",
"localized_name": {},
"localized_description": {},
"localized_thumbnail_asset_id": {}
},
"update_mask": "<string>"
}'
Copy
{
"entity": {
"id": "<string>",
"project_id": "<string>",
"type_id": "<string>",
"name": "<string>",
"description": "<string>",
"thumbnail_asset_id": "<string>",
"disabled": true,
"fields": {},
"visibility": "VISIBILITY_UNSPECIFIED",
"create_time": "2023-11-07T05:31:56Z",
"localized_name": {},
"localized_description": {},
"localized_thumbnail_asset_id": {}
}
}
Assistant
Responses are generated using AI and may contain mistakes.