/api/annotation/bulk
Annotations may also be deleted in bulk for a specified time span. If you supply a list of of one or more TSUIDs, annotations with a start time
that falls within the specified timespan and belong to those TSUIDs will be removed. Alternatively the global
flag can be set and any global annotations (those not associated with a time series) will be deleted within the range.
POST - Create or modify annotations
PUT - Create or replace annotations
DELETE - Delete annotations within a time range
Fields for posting or updating annotations are documented at /api/annotation
Fields for a bulk delete request are defined below:
Warning
A successful response to a POST
or request will return the list of annotations after synchronization (i.e. if issuing a POST
call, existing objects will be merged with the new objects). Delete requests will return an object with the delete query and a totalDeleted
field with an integer number reflecting the total number of annotations deleted. If invalid data was supplied a 400
error will be returned along with the specific annotation that caused the error in the details
field of the error object.