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

Path Parameters

set_id
string
required

Body

application/json
set_id
string
required
set
object

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

update_mask
string

Response

200
application/json
OK
set
object

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