Get Started
Studio API
- Introduction
- Streaming
- CMS
- Events
- Creative Works
- Entities
- Content Types
- Annotations
- OTT
- Monetization
- IAM
- Integration
- Analytics
Content Delivery API
Deep dive
Creative Works
Create creative work
CreateCreativeWork
Creates new creative work.
POST
/
cms
/
creative_works
/
v1
curl --request POST \
--url https://api.mottostreaming.com/cms/creative_works/v1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"project_id": "<string>",
"type_id": "<string>",
"title": "<string>",
"description": "<string>",
"status": "CREATIVE_WORK_STATUS_UNSPECIFIED",
"release_time": "2023-11-07T05:31:56Z",
"thumbnail_asset_id": "<string>",
"poster_asset_id": "<string>",
"video_ids": [
"<string>"
],
"fields": {},
"visibility": "VISIBILITY_UNSPECIFIED",
"localized_title": {},
"localized_description": {},
"localized_thumbnail_asset_id": {},
"localized_poster_asset_id": {}
}'
{
"creative_work": {
"id": "<string>",
"project_id": "<string>",
"type_id": "<string>",
"title": "<string>",
"description": "<string>",
"status": "CREATIVE_WORK_STATUS_UNSPECIFIED",
"release_time": "2023-11-07T05:31:56Z",
"thumbnail_asset_id": "<string>",
"poster_asset_id": "<string>",
"video_ids": [
"<string>"
],
"fields": {},
"visibility": "VISIBILITY_UNSPECIFIED",
"create_time": "2023-11-07T05:31:56Z",
"localized_title": {},
"localized_description": {},
"localized_thumbnail_asset_id": {},
"localized_poster_asset_id": {}
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
A creative work describes any kind of creative video content that does not have a start/end time (unlike an event).
Response
200
application/json
OK
The response is of type object
.
curl --request POST \
--url https://api.mottostreaming.com/cms/creative_works/v1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"project_id": "<string>",
"type_id": "<string>",
"title": "<string>",
"description": "<string>",
"status": "CREATIVE_WORK_STATUS_UNSPECIFIED",
"release_time": "2023-11-07T05:31:56Z",
"thumbnail_asset_id": "<string>",
"poster_asset_id": "<string>",
"video_ids": [
"<string>"
],
"fields": {},
"visibility": "VISIBILITY_UNSPECIFIED",
"localized_title": {},
"localized_description": {},
"localized_thumbnail_asset_id": {},
"localized_poster_asset_id": {}
}'
{
"creative_work": {
"id": "<string>",
"project_id": "<string>",
"type_id": "<string>",
"title": "<string>",
"description": "<string>",
"status": "CREATIVE_WORK_STATUS_UNSPECIFIED",
"release_time": "2023-11-07T05:31:56Z",
"thumbnail_asset_id": "<string>",
"poster_asset_id": "<string>",
"video_ids": [
"<string>"
],
"fields": {},
"visibility": "VISIBILITY_UNSPECIFIED",
"create_time": "2023-11-07T05:31:56Z",
"localized_title": {},
"localized_description": {},
"localized_thumbnail_asset_id": {},
"localized_poster_asset_id": {}
}
}