PATCH
/
annotations
/
types
/
v1
/
{type_id}
curl --request PATCH \
  --url https://api.mottostreaming.com/annotations/types/v1/{type_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type_id": "<string>",
  "type": {
    "project_id": "<string>",
    "set_id": "<string>",
    "name": "<string>",
    "icon_asset_id": "<string>",
    "priority": "<string>",
    "group_name": "<string>",
    "disabled": true,
    "visibility": "VISIBILITY_UNSPECIFIED",
    "delay": "<string>",
    "custom_data": {},
    "entity_types": [
      "<string>"
    ],
    "kind": "KIND_UNSPECIFIED"
  },
  "update_mask": "<string>"
}'
{
  "type": {
    "id": "<string>",
    "project_id": "<string>",
    "set_id": "<string>",
    "name": "<string>",
    "icon_asset_id": "<string>",
    "priority": "<string>",
    "group_name": "<string>",
    "disabled": true,
    "visibility": "VISIBILITY_UNSPECIFIED",
    "delay": "<string>",
    "custom_data": {},
    "entity_types": [
      "<string>"
    ],
    "kind": "KIND_UNSPECIFIED"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

type_id
string
required

Body

application/json
type_id
string
required
type
object

Annotation is an invocation of an annotation type and represents a single moment in a video that represents an occurrence of that annotation type. For example, if you have an annotation type "goal", then an Annotation could created when a goal occurs in the video.

update_mask
string

Response

200
application/json
OK
type
object

Annotation is an invocation of an annotation type and represents a single moment in a video that represents an occurrence of that annotation type. For example, if you have an annotation type "goal", then an Annotation could created when a goal occurs in the video.