Annotations
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
POST | |
GET | |
PATCH | |
DELETE |
List all annotations
Required API key scopes
annotation:readPath parameters
- project_idstring
Query parameters
- limitinteger
- offsetinteger
- searchstring
Response
Example request
GET /api /projects /:project_id /annotationsExample response
Status 200
RESPONSE
Create annotations
Required API key scopes
annotation:writePath parameters
- project_idstring
Request parameters
- contentstring
- date_markerstring
- creation_type
- dashboard_iteminteger
- deletedboolean
- scope
Response
Example request
POST /api /projects /:project_id /annotationsExample response
Status 201
RESPONSE
Retrieve annotations
Required API key scopes
annotation:readPath parameters
- idinteger
- project_idstring
Response
Example request
GET /api /projects /:project_id /annotations /:idExample response
Status 200
RESPONSE
Update annotations
Required API key scopes
annotation:writePath parameters
- idinteger
- project_idstring
Request parameters
- contentstring
- date_markerstring
- creation_type
- dashboard_iteminteger
- deletedboolean
- scope
Response
Example request
PATCH /api /projects /:project_id /annotations /:idExample response
Status 200
RESPONSE
Delete annotations
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Required API key scopes
annotation:writePath parameters
- idinteger
- project_idstring
Example request
DELETE /api /projects /:project_id /annotations /:id