# Create/Update annotation Update an annotation if it exists, create a new one otherwise. Endpoint: PUT /annotations Version: 0.0.1 Security: o_auth ## Request fields (application/json): - `cameraPositionId` (string, required) - `id` (string,null) - `kind` (string) Enum: "polygon", "multipolygon" - `roi` (object,null, required) - `state` (string) Enum: "active", "deleted" ## Response 201 fields (application/json): - `cameraPositionId` (string, required) - `createdAt` (string) - `deletedAt` (string,null) - `id` (string,null) - `kind` (string) Enum: "polygon", "multipolygon" - `roi` (object,null, required) - `state` (string) Enum: "active", "deleted" ## Response 400 fields (application/json): - `code` (integer) - `message` (string) ## Response 401 fields (application/json): - `code` (integer) - `message` (string) ## Response 403 fields (application/json): - `code` (integer) - `message` (string) ## Response 410 fields (application/json): - `code` (integer) - `message` (string) ## Response 422 fields (application/json): - `code` (integer) - `message` (string) ## Response 204 fields ## Response 500 fields ## Response 501 fields