CreateEvent
Creates new event.
curl --request POST \
--url https://api.mottostreaming.com/cms/events/v1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"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": {}
}'
{
"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": {}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
An event happening at a certain time and location, such as a sports game, concert, lecture, or festival.
OK
The response is of type object
.
curl --request POST \
--url https://api.mottostreaming.com/cms/events/v1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"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": {}
}'
{
"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": {}
}
}
CreateEvent
Creates new event.
curl --request POST \
--url https://api.mottostreaming.com/cms/events/v1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"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": {}
}'
{
"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": {}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
An event happening at a certain time and location, such as a sports game, concert, lecture, or festival.
OK
The response is of type object
.
curl --request POST \
--url https://api.mottostreaming.com/cms/events/v1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"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": {}
}'
{
"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": {}
}
}