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

Path Parameters

annotation_id
string
required

Body

application/json

Response

200
application/json

OK

The response is of type object.