Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Query Parameters
Body
SpiideoIntegration
The Motto project to which this integration belongs
The Spiideo account ID.
The Spiideo user ID.
The Spiideo client ID.
The Spiideo client secret.
The default number of minutes before the start of a game to turn on the camera. If not set, a default value will be used.
The default duration in minutes for which the camera should be on. If not set, a default value will be used.
The default Spiideo sport to use when creating games. This should match the enum values in Spiideo, e.g. "football", "basketball", etc. This is used when the sport cannot be determined from the event type (via the event type mapping).
Whether to create teams in Spiideo based on Motto teams if they do not exist, or update them if they do. If false, you must manually provide the mapping between Motto teams and Spiideo teams, and keep it up to date. In this case, when trying to create a Spiideo game and there is no mapping for a team, the operation will fail. Defaults to false.
The locale you would like to use for the objects being created in Spiideo. You must make sure this locale is also supported within your existing Motto project (on events, teams and players). If it does not, it will fallback to non-localized values.
The format should be the language code, e.g. "en", "de", "fr", etc, optionally followed by a region code, e.g. "en-US", "en-GB", etc.
Whether the integration is enabled. If false, no Spiideo-related operations will be performed. You can still create entity mappings and update event type mappings, but they will not be used until the integration is enabled.
When a game is created, it can be shared with other accounts in Spiideo automatically. This field contains the list of account IDs with which the game should be shared.
Whether to stream unlisted events in Spiideo. If false, unlisted events will be not be connected to Spiideo, and events that were previously published will be deleted from Spiideo once they become unlisted. Defaults to false.
The number of days to look forwards in time to schedule games in Spiideo. For example, if this is set to 7, the integration will only schedule Motto events in Spiideo that are happening within the next 7 days. If it's further out, the integration will not schedule them until they are within the next 7 days. If not set, a reasonable default amount of days will be used.
Response
OK
SpiideoIntegration