Get Started
Studio API
- Introduction
- Streaming
- Live Streams
- GETGet live stream
- GETList live streams
- POSTCreate live stream
- PATCHUpdate live stream
- DELDelete live stream
- RTMP Ingests
- Spiideo (AI cameras)
- GETGet spiideo integration
- POSTCreate spiideo integration
- PATCHUpdate spiideo integration
- DELDelete spiideo integration
- GETList sport configs
- POSTCreate sport config
- DELDelete sport config
- POSTCreate event type mapping
- GETList event type mappings
- DELDelete event type mapping
- GETList team type mappings
- POSTCreate team type mapping
- DELDelete team type mapping
- GETList entity mappings
- POSTCreate entity mapping
- DELDelete entity mapping
- GET
- GET
- Simulcasts
- Clips
- Videos
- Video Protection
- Configurations
- Assets
- CMS
- OTT
- Monetization
- IAM
- Integration
- Analytics
Content Delivery API
Deep dive
Spiideo (AI cameras)
Create event type mapping
Creates a new event type mapping.
POST
/
integration
/
spiideo
/
v1
/
event_type_mappings
cURL
Copy
curl --request POST \
--url https://api.mottostreaming.com/integration/spiideo/v1/event_type_mappings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"motto_event_type": "<string>",
"home_team_field": "<string>",
"away_team_field": "<string>",
"scene_field": "<string>",
"sport_field": "<string>",
"home_color_field": "<string>",
"away_color_field": "<string>",
"description_field": "<string>",
"spiideo_graphic_package_id": "<string>",
"spiideo_storyboard_id": "<string>",
"spiideo_production_recipe_id": "<string>"
}'
Copy
{
"event_type_mapping": {
"motto_event_type": "<string>",
"home_team_field": "<string>",
"away_team_field": "<string>",
"scene_field": "<string>",
"sport_field": "<string>",
"home_color_field": "<string>",
"away_color_field": "<string>",
"description_field": "<string>",
"spiideo_graphic_package_id": "<string>",
"spiideo_storyboard_id": "<string>",
"spiideo_production_recipe_id": "<string>"
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Body
application/json
SpiideoEventTypeMapping maps a Motto event type to Spiideo event properties.
Response
200
application/json
OK
The response is of type object
.
cURL
Copy
curl --request POST \
--url https://api.mottostreaming.com/integration/spiideo/v1/event_type_mappings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"motto_event_type": "<string>",
"home_team_field": "<string>",
"away_team_field": "<string>",
"scene_field": "<string>",
"sport_field": "<string>",
"home_color_field": "<string>",
"away_color_field": "<string>",
"description_field": "<string>",
"spiideo_graphic_package_id": "<string>",
"spiideo_storyboard_id": "<string>",
"spiideo_production_recipe_id": "<string>"
}'
Copy
{
"event_type_mapping": {
"motto_event_type": "<string>",
"home_team_field": "<string>",
"away_team_field": "<string>",
"scene_field": "<string>",
"sport_field": "<string>",
"home_color_field": "<string>",
"away_color_field": "<string>",
"description_field": "<string>",
"spiideo_graphic_package_id": "<string>",
"spiideo_storyboard_id": "<string>",
"spiideo_production_recipe_id": "<string>"
}
}
Assistant
Responses are generated using AI and may contain mistakes.