Download OpenAPI specification:Download
db required | string The bucket to write to. If none exist a bucket will be created with a default 3 day retention policy. |
p | string User token. |
precision | string Write precision. |
rp | string The retention policy name. |
u | string Username. |
Content-Encoding | string Default: identity Enum: "gzip" "identity" When present, its value indicates to the database that compression is applied to the line-protocol body. |
Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context |
Line protocol body
{- "code": "internal error",
- "message": "string",
- "op": "string",
- "err": "string",
- "line": 0
}
p | string User token. |
q | string Defines the influxql query to run. |
u | string Username. |
Accept | string Default: application/json Enum: "application/json" "application/csv" "text/csv" "application/x-msgpack" Specifies how query results should be encoded in the response. Note: When using |
Accept-Encoding | string Default: identity Enum: "gzip" "identity" The Accept-Encoding request HTTP header advertises which content encoding, usually a compression algorithm, the client is able to understand. |
Content-Type | string Value: "application/vnd.influxql" |
Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context |
InfluxQL query to execute.