POST
/
integration
/
spiideo
/
v1
/
event_type_mappings
cURL
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>"
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

project_id
string

Body

application/json

SpiideoEventTypeMapping maps a Motto event type to Spiideo event properties.

Response

200
application/json

OK

The response is of type object.