Skip to content

Create annotation

POST
/api/v1/annotations

Roles required: Annotator, Curator or Admin

Creates a new annotation from provided JSON body.

Request Body

JSON
{
"keypoints": [
{
"box": {
"x1": 10,
"x2": 50,
"y1": 25,
"y2": 75
},
"time": "01:56:05.500"
}
],
"observation": {
"additionalProperties": "string"
},
"videostreamId": 1234567890
}

Responses

Created
application/json
JSON
{
"id": 1234567890
}

Samples