POST
/
annotations
/
sets
/
v1
curl --request POST \
  --url https://api.mottostreaming.com/annotations/sets/v1 \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "project_id": "<string>",
  "name": "<string>",
  "icon_asset_id": "<string>",
  "priority": "<string>",
  "disabled": true,
  "custom_data": {},
  "sport": "SPORT_UNSPECIFIED"
}'
{
  "set": {
    "id": "<string>",
    "project_id": "<string>",
    "name": "<string>",
    "icon_asset_id": "<string>",
    "priority": "<string>",
    "disabled": true,
    "custom_data": {},
    "sport": "SPORT_UNSPECIFIED"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json

AnnotationSet bundles together annotation types that are related, e.g. football annotation types (goal, corner kick, red card, etc).

Response

200
application/json

OK

The response is of type object.