PATCH
/
cms
/
events
/
v1
/
{event_id}
curl --request PATCH \
  --url https://api.mottostreaming.com/cms/events/v1/{event_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "event_id": "<string>",
  "event_update": {
    "project_id": "<string>",
    "type_id": "<string>",
    "title": "<string>",
    "description": "<string>",
    "status": "EVENT_STATUS_UNSPECIFIED",
    "start_time": "2023-11-07T05:31:56Z",
    "online_url": "<string>",
    "physical_location": {
      "venue": "<string>",
      "city": "<string>",
      "country_code": "<string>",
      "continent_code": "<string>",
      "coordinates": {
        "latitude": 123,
        "longitude": 123
      }
    },
    "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>"
}'
{
  "event": {
    "id": "<string>",
    "project_id": "<string>",
    "type_id": "<string>",
    "title": "<string>",
    "description": "<string>",
    "status": "EVENT_STATUS_UNSPECIFIED",
    "start_time": "2023-11-07T05:31:56Z",
    "online_url": "<string>",
    "physical_location": {
      "venue": "<string>",
      "city": "<string>",
      "country_code": "<string>",
      "continent_code": "<string>",
      "coordinates": {
        "latitude": 123,
        "longitude": 123
      }
    },
    "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

event_id
string
required

Body

application/json
event_id
string
required
event_update
object
required

An event happening at a certain time and location, such as a sports game, concert, lecture, or festival.

update_mask
string

Response

200
application/json
OK
event
object

An event happening at a certain time and location, such as a sports game, concert, lecture, or festival.