sources
write

POST /sources/{id}/write

Write points to the backend time series data source

Request

  • Base URL
    /chronograf/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /chronograf/v1/sources/{id}/write
  • Auth
    none declared

Path parameters

idstring required

ID of the data source

Query parameters

dbstring required

Sets the target database for the write.

rpstring

Sets the target retention policy for the write. InfluxDB writes to the DEFAULT retention policy if you do not specify a retention policy.

precision'ns' | 'u' | 'ms' | 's' | 'm' | 'h'

Sets the precision for the supplied Unix time values. InfluxDB assumes that timestamps are in nanoseconds if you do not specify precision.

consistency'any' | 'one' | 'quorum' | 'all'

Sets the write consistency for the point. InfluxDB assumes that the write consistency is one if you do not specify consistency. See the InfluxEnterprise documentation for detailed descriptions of each consistency option.

Request body

string byte required

Response

Points written successfuly to database.

Changes

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