annotations

Create Annotation in Graphite format.

Creates an annotation by using Graphite-compatible event format. The when and data fields are optional. If when is not specified then the current time will be used as annotation’s timestamp. The tags field can also be in prior to Graphite 0.10.0 format (string with multiple tags being separated by a space).

post/annotations/graphite

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/annotations/graphite
  • Auth
    • HTTP basic
    • or API key in header Authorization

Request body

datastring
tagsunknown
whatstring
wheninteger

Response

(empty)

idinteger required

ID Identifier of the created annotation.

messagestring required

Message Message of the created annotation.

Example response

{
  "id": 65
}

Changes

No recorded changes to this operation across all 2 revisions of this API.