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>"
}'
{
"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>"
}
}
Creates a new event type mapping.
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>"
}'
{
"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>"
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
SpiideoEventTypeMapping maps a Motto event type to Spiideo event properties.
OK
The response is of type object
.