PATCH
/
cms
/
creative_works
/
v1
/
{creative_work_id}
curl --request PATCH \
  --url https://api.mottostreaming.com/cms/creative_works/v1/{creative_work_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "creative_work_id": "<string>",
  "creative_work_update": {
    "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": {}
  },
  "update_mask": "<string>"
}'
{
  "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

Authorization
string
header
required

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

Path Parameters

creative_work_id
string
required

Body

application/json
creative_work_id
string
required
creative_work_update
object
required

A creative work describes any kind of creative video content that does not have a start/end time (unlike an event).

update_mask
string

Response

200
application/json
OK
creative_work
object

A creative work describes any kind of creative video content that does not have a start/end time (unlike an event).