Update an annotation if it exists, create a new one otherwise.
Security
api_key
- Mock serverhttps://coreapi.hoxton.ai/_mock/v1/annotations
- https://nexus.hoxton.ai/api/v1https://nexus.hoxton.ai/api/v1/annotations
curl -i -X PUT \
https://coreapi.hoxton.ai/_mock/v1/annotations \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"cameraPositionId": "37eacd70-df6f-462c-b57e-ba61d0ee7150",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"kind": "polygon",
"roi": {},
"state": "active"
}'Response
{ "cameraPositionId": "37eacd70-df6f-462c-b57e-ba61d0ee7150", "createdAt": "2019-08-24T14:15:22Z", "deletedAt": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "polygon", "roi": {}, "state": "active" }