POST
/
integration
/
spiideo
/
v1
/
entity_mappings
cURL
curl --request POST \
  --url https://api.mottostreaming.com/integration/spiideo/v1/entity_mappings \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "motto_entity_id": "<string>",
  "motto_entity_type": "<string>",
  "spiideo_object_id": "<string>",
  "spiideo_object_type": "SPIIDEO_OBJECT_TYPE_UNSPECIFIED",
  "description": "<string>"
}'
{
  "entity_mapping": {
    "motto_entity_id": "<string>",
    "motto_entity_type": "<string>",
    "spiideo_object_id": "<string>",
    "spiideo_object_type": "SPIIDEO_OBJECT_TYPE_UNSPECIFIED",
    "description": "<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

Maps a Motto entity to a Spiideo object. Such a mapping must exist for any entity that is to be used in Spiideo-related operations, otherwise no automatic API integration can be performed when creating Spiideo games.

Response

200
application/json

OK

The response is of type object.