POST
/
annotations
/
annotations
/
v1
curl --request POST \
  --url https://api.mottostreaming.com/annotations/annotations/v1 \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "project_id": "<string>",
  "type_id": "<string>",
  "video_id": "<string>",
  "offset": "<string>",
  "visibility": "VISIBILITY_UNSPECIFIED",
  "event_id": "<string>",
  "creative_work_id": "<string>",
  "entity_ids": [
    "<string>"
  ],
  "action_overrides": {},
  "start_offset": "<string>",
  "end_offset": "<string>",
  "source_type": "SOURCE_TYPE_UNSPECIFIED",
  "source_id": "<string>",
  "confidence": 123
}'
{
  "annotation": {
    "id": "<string>",
    "project_id": "<string>",
    "type_id": "<string>",
    "video_id": "<string>",
    "offset": "<string>",
    "visibility": "VISIBILITY_UNSPECIFIED",
    "event_id": "<string>",
    "creative_work_id": "<string>",
    "entity_ids": [
      "<string>"
    ],
    "action_overrides": {},
    "start_offset": "<string>",
    "end_offset": "<string>",
    "source_type": "SOURCE_TYPE_UNSPECIFIED",
    "source_id": "<string>",
    "confidence": 123
  }
}

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
/
annotations
/
v1
curl --request POST \
  --url https://api.mottostreaming.com/annotations/annotations/v1 \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "project_id": "<string>",
  "type_id": "<string>",
  "video_id": "<string>",
  "offset": "<string>",
  "visibility": "VISIBILITY_UNSPECIFIED",
  "event_id": "<string>",
  "creative_work_id": "<string>",
  "entity_ids": [
    "<string>"
  ],
  "action_overrides": {},
  "start_offset": "<string>",
  "end_offset": "<string>",
  "source_type": "SOURCE_TYPE_UNSPECIFIED",
  "source_id": "<string>",
  "confidence": 123
}'
{
  "annotation": {
    "id": "<string>",
    "project_id": "<string>",
    "type_id": "<string>",
    "video_id": "<string>",
    "offset": "<string>",
    "visibility": "VISIBILITY_UNSPECIFIED",
    "event_id": "<string>",
    "creative_work_id": "<string>",
    "entity_ids": [
      "<string>"
    ],
    "action_overrides": {},
    "start_offset": "<string>",
    "end_offset": "<string>",
    "source_type": "SOURCE_TYPE_UNSPECIFIED",
    "source_id": "<string>",
    "confidence": 123
  }
}

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.