POST
/
annotations
/
types
/
v1
curl --request POST \
  --url https://api.mottostreaming.com/annotations/types/v1 \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "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"
}'
{
  "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.

Body

application/json

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.

Response

200
application/json

OK

The response is of type object.

POST
/
annotations
/
types
/
v1
curl --request POST \
  --url https://api.mottostreaming.com/annotations/types/v1 \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "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"
}'
{
  "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.

Body

application/json

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.

Response

200
application/json

OK

The response is of type object.