fix: add missing partial and schema descriptions for InfluxQL JSON response
- Closes #5364 - part of https://github.com/influxdata/DAR/issues/424 - depends on https://github.com/influxdata/openapi/pull/651pull/5473/head
parent
aa51867486
commit
8acbb22312
|
@ -135,7 +135,7 @@ paths:
|
||||||
operationId: PostQueryV1
|
operationId: PostQueryV1
|
||||||
tags:
|
tags:
|
||||||
- Query
|
- Query
|
||||||
summary: Query InfluxDB in a V1 compatible format
|
summary: Query using the InfluxDB v1 HTTP API
|
||||||
requestBody:
|
requestBody:
|
||||||
description: InfluxQL query to execute.
|
description: InfluxQL query to execute.
|
||||||
content:
|
content:
|
||||||
|
@ -217,6 +217,11 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/InfluxQLResponse'
|
$ref: '#/components/schemas/InfluxQLResponse'
|
||||||
|
examples:
|
||||||
|
influxql-chunk_size_2:
|
||||||
|
value: |
|
||||||
|
{"results":[{"statement_id":0,"series":[{"name":"mymeas","columns":["time","myfield","mytag"],"values":[["2016-05-19T18:37:55Z",90,"1"],["2016-05-19T18:37:56Z",90,"1"]],"partial":true}],"partial":true}]}
|
||||||
|
{"results":[{"statement_id":0,"series":[{"name":"mymeas","columns":["time","myfield","mytag"],"values":[["2016-05-19T18:37:57Z",90,"1"],["2016-05-19T18:37:58Z",90,"1"]]}]}]}
|
||||||
application/x-msgpack:
|
application/x-msgpack:
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
|
@ -265,45 +270,75 @@ components:
|
||||||
description: User token.
|
description: User token.
|
||||||
schemas:
|
schemas:
|
||||||
InfluxQLResponse:
|
InfluxQLResponse:
|
||||||
|
description: |
|
||||||
|
The JSON response for an InfluxQL query.
|
||||||
|
|
||||||
|
A response contains the collection of results for a query.
|
||||||
|
`results` is an array of resultset objects.
|
||||||
|
|
||||||
|
If the response is chunked, the `transfer-encoding` response header is set to `chunked` and each resultset object is sent in a separate JSON object.
|
||||||
properties:
|
properties:
|
||||||
results:
|
results:
|
||||||
type: array
|
description: |
|
||||||
oneOf:
|
A resultset object that contains the `statement_id` and the `series` array.
|
||||||
- required:
|
|
||||||
- statement_id
|
Except for `statement_id`, all properties are optional and omitted if empty. If a property is not present, it is assumed to be `null`.
|
||||||
- error
|
|
||||||
- required:
|
|
||||||
- statement_id
|
|
||||||
- series
|
|
||||||
items:
|
items:
|
||||||
type: object
|
|
||||||
properties:
|
properties:
|
||||||
statement_id:
|
|
||||||
type: integer
|
|
||||||
error:
|
error:
|
||||||
type: string
|
type: string
|
||||||
|
partial:
|
||||||
|
description: |
|
||||||
|
True if the resultset is not complete--the response data is chunked; otherwise, false or omitted.
|
||||||
|
type: boolean
|
||||||
series:
|
series:
|
||||||
type: array
|
description: |
|
||||||
|
An array of series objects--the results of the query. A series of rows shares the same group key returned from the execution of a statement.
|
||||||
|
|
||||||
|
If a property is not present, it is assumed to be `null`.
|
||||||
items:
|
items:
|
||||||
type: object
|
|
||||||
properties:
|
properties:
|
||||||
|
columns:
|
||||||
|
description: An array of column names
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
name:
|
name:
|
||||||
|
description: The name of the series
|
||||||
type: string
|
type: string
|
||||||
|
partial:
|
||||||
|
description: |
|
||||||
|
True if the series is not complete--the response data is chunked; otherwise, false or omitted.
|
||||||
|
type: boolean
|
||||||
tags:
|
tags:
|
||||||
type: object
|
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
type: string
|
type: string
|
||||||
partial:
|
description: |
|
||||||
type: boolean
|
A map of tag key-value pairs. If a tag key is not present, it is assumed to be `null`.
|
||||||
columns:
|
type: object
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
values:
|
values:
|
||||||
type: array
|
description: |
|
||||||
|
An array of rows, where each row is an array of values.
|
||||||
items:
|
items:
|
||||||
type: array
|
|
||||||
items: {}
|
items: {}
|
||||||
|
type: array
|
||||||
|
type: array
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
statement_id:
|
||||||
|
description: |
|
||||||
|
An integer that represents the statement's position in the query. If statement results are buffered in memory, `statement_id` is used to combine statement results.
|
||||||
|
type: integer
|
||||||
|
type: object
|
||||||
|
oneOf:
|
||||||
|
- required:
|
||||||
|
- statement_id
|
||||||
|
- error
|
||||||
|
- required:
|
||||||
|
- statement_id
|
||||||
|
- series
|
||||||
|
type: array
|
||||||
|
type: object
|
||||||
InfluxQLCSVResponse:
|
InfluxQLCSVResponse:
|
||||||
type: string
|
type: string
|
||||||
example: |
|
example: |
|
||||||
|
|
|
@ -517,6 +517,11 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/InfluxqlJsonResponse'
|
$ref: '#/components/schemas/InfluxqlJsonResponse'
|
||||||
|
examples:
|
||||||
|
influxql-chunk_size_2:
|
||||||
|
value: |
|
||||||
|
{"results":[{"statement_id":0,"series":[{"name":"mymeas","columns":["time","myfield","mytag"],"values":[["2016-05-19T18:37:55Z",90,"1"],["2016-05-19T18:37:56Z",90,"1"]],"partial":true}],"partial":true}]}
|
||||||
|
{"results":[{"statement_id":0,"series":[{"name":"mymeas","columns":["time","myfield","mytag"],"values":[["2016-05-19T18:37:57Z",90,"1"],["2016-05-19T18:37:58Z",90,"1"]]}]}]}
|
||||||
application/x-msgpack:
|
application/x-msgpack:
|
||||||
schema:
|
schema:
|
||||||
format: binary
|
format: binary
|
||||||
|
@ -1220,29 +1225,55 @@ components:
|
||||||
name,tags,time,test_field,test_tag test_measurement,,1603740794286107366,1,tag_value test_measurement,,1603740870053205649,2,tag_value test_measurement,,1603741221085428881,3,tag_value
|
name,tags,time,test_field,test_tag test_measurement,,1603740794286107366,1,tag_value test_measurement,,1603740870053205649,2,tag_value test_measurement,,1603741221085428881,3,tag_value
|
||||||
type: string
|
type: string
|
||||||
InfluxqlJsonResponse:
|
InfluxqlJsonResponse:
|
||||||
description: JSON Response to InfluxQL Query
|
description: |
|
||||||
|
The JSON response for an InfluxQL query.
|
||||||
|
|
||||||
|
A response contains the collection of results for a query.
|
||||||
|
`results` is an array of resultset objects.
|
||||||
|
|
||||||
|
If the response is chunked, the `transfer-encoding` response header is set to `chunked` and each resultset object is sent in a separate JSON object.
|
||||||
properties:
|
properties:
|
||||||
results:
|
results:
|
||||||
|
description: |
|
||||||
|
A resultset object that contains the `statement_id` and the `series` array.
|
||||||
|
|
||||||
|
Except for `statement_id`, all properties are optional and omitted if empty. If a property is not present, it is assumed to be `null`.
|
||||||
items:
|
items:
|
||||||
properties:
|
properties:
|
||||||
error:
|
error:
|
||||||
type: string
|
type: string
|
||||||
|
partial:
|
||||||
|
description: |
|
||||||
|
True if the resultset is not complete--the response data is chunked; otherwise, false or omitted.
|
||||||
|
type: boolean
|
||||||
series:
|
series:
|
||||||
|
description: |
|
||||||
|
An array of series objects--the results of the query. A series of rows shares the same group key returned from the execution of a statement.
|
||||||
|
|
||||||
|
If a property is not present, it is assumed to be `null`.
|
||||||
items:
|
items:
|
||||||
properties:
|
properties:
|
||||||
columns:
|
columns:
|
||||||
|
description: An array of column names
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
type: array
|
type: array
|
||||||
name:
|
name:
|
||||||
|
description: The name of the series
|
||||||
type: string
|
type: string
|
||||||
partial:
|
partial:
|
||||||
|
description: |
|
||||||
|
True if the series is not complete--the response data is chunked; otherwise, false or omitted.
|
||||||
type: boolean
|
type: boolean
|
||||||
tags:
|
tags:
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
type: string
|
type: string
|
||||||
|
description: |
|
||||||
|
A map of tag key-value pairs. If a tag key is not present, it is assumed to be `null`.
|
||||||
type: object
|
type: object
|
||||||
values:
|
values:
|
||||||
|
description: |
|
||||||
|
An array of rows, where each row is an array of values.
|
||||||
items:
|
items:
|
||||||
items: {}
|
items: {}
|
||||||
type: array
|
type: array
|
||||||
|
@ -1250,8 +1281,17 @@ components:
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
statement_id:
|
statement_id:
|
||||||
|
description: |
|
||||||
|
An integer that represents the statement's position in the query. If statement results are buffered in memory, `statement_id` is used to combine statement results.
|
||||||
type: integer
|
type: integer
|
||||||
type: object
|
type: object
|
||||||
|
oneOf:
|
||||||
|
- required:
|
||||||
|
- statement_id
|
||||||
|
- error
|
||||||
|
- required:
|
||||||
|
- statement_id
|
||||||
|
- series
|
||||||
type: array
|
type: array
|
||||||
type: object
|
type: object
|
||||||
IntegerLiteral:
|
IntegerLiteral:
|
||||||
|
|
|
@ -135,7 +135,7 @@ paths:
|
||||||
operationId: PostQueryV1
|
operationId: PostQueryV1
|
||||||
tags:
|
tags:
|
||||||
- Query
|
- Query
|
||||||
summary: Query InfluxDB in a V1 compatible format
|
summary: Query using the InfluxDB v1 HTTP API
|
||||||
requestBody:
|
requestBody:
|
||||||
description: InfluxQL query to execute.
|
description: InfluxQL query to execute.
|
||||||
content:
|
content:
|
||||||
|
@ -217,6 +217,11 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/InfluxQLResponse'
|
$ref: '#/components/schemas/InfluxQLResponse'
|
||||||
|
examples:
|
||||||
|
influxql-chunk_size_2:
|
||||||
|
value: |
|
||||||
|
{"results":[{"statement_id":0,"series":[{"name":"mymeas","columns":["time","myfield","mytag"],"values":[["2016-05-19T18:37:55Z",90,"1"],["2016-05-19T18:37:56Z",90,"1"]],"partial":true}],"partial":true}]}
|
||||||
|
{"results":[{"statement_id":0,"series":[{"name":"mymeas","columns":["time","myfield","mytag"],"values":[["2016-05-19T18:37:57Z",90,"1"],["2016-05-19T18:37:58Z",90,"1"]]}]}]}
|
||||||
application/x-msgpack:
|
application/x-msgpack:
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
|
@ -265,45 +270,75 @@ components:
|
||||||
description: User token.
|
description: User token.
|
||||||
schemas:
|
schemas:
|
||||||
InfluxQLResponse:
|
InfluxQLResponse:
|
||||||
|
description: |
|
||||||
|
The JSON response for an InfluxQL query.
|
||||||
|
|
||||||
|
A response contains the collection of results for a query.
|
||||||
|
`results` is an array of resultset objects.
|
||||||
|
|
||||||
|
If the response is chunked, the `transfer-encoding` response header is set to `chunked` and each resultset object is sent in a separate JSON object.
|
||||||
properties:
|
properties:
|
||||||
results:
|
results:
|
||||||
type: array
|
description: |
|
||||||
oneOf:
|
A resultset object that contains the `statement_id` and the `series` array.
|
||||||
- required:
|
|
||||||
- statement_id
|
Except for `statement_id`, all properties are optional and omitted if empty. If a property is not present, it is assumed to be `null`.
|
||||||
- error
|
|
||||||
- required:
|
|
||||||
- statement_id
|
|
||||||
- series
|
|
||||||
items:
|
items:
|
||||||
type: object
|
|
||||||
properties:
|
properties:
|
||||||
statement_id:
|
|
||||||
type: integer
|
|
||||||
error:
|
error:
|
||||||
type: string
|
type: string
|
||||||
|
partial:
|
||||||
|
description: |
|
||||||
|
True if the resultset is not complete--the response data is chunked; otherwise, false or omitted.
|
||||||
|
type: boolean
|
||||||
series:
|
series:
|
||||||
type: array
|
description: |
|
||||||
|
An array of series objects--the results of the query. A series of rows shares the same group key returned from the execution of a statement.
|
||||||
|
|
||||||
|
If a property is not present, it is assumed to be `null`.
|
||||||
items:
|
items:
|
||||||
type: object
|
|
||||||
properties:
|
properties:
|
||||||
|
columns:
|
||||||
|
description: An array of column names
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
name:
|
name:
|
||||||
|
description: The name of the series
|
||||||
type: string
|
type: string
|
||||||
|
partial:
|
||||||
|
description: |
|
||||||
|
True if the series is not complete--the response data is chunked; otherwise, false or omitted.
|
||||||
|
type: boolean
|
||||||
tags:
|
tags:
|
||||||
type: object
|
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
type: string
|
type: string
|
||||||
partial:
|
description: |
|
||||||
type: boolean
|
A map of tag key-value pairs. If a tag key is not present, it is assumed to be `null`.
|
||||||
columns:
|
type: object
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
values:
|
values:
|
||||||
type: array
|
description: |
|
||||||
|
An array of rows, where each row is an array of values.
|
||||||
items:
|
items:
|
||||||
type: array
|
|
||||||
items: {}
|
items: {}
|
||||||
|
type: array
|
||||||
|
type: array
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
statement_id:
|
||||||
|
description: |
|
||||||
|
An integer that represents the statement's position in the query. If statement results are buffered in memory, `statement_id` is used to combine statement results.
|
||||||
|
type: integer
|
||||||
|
type: object
|
||||||
|
oneOf:
|
||||||
|
- required:
|
||||||
|
- statement_id
|
||||||
|
- error
|
||||||
|
- required:
|
||||||
|
- statement_id
|
||||||
|
- series
|
||||||
|
type: array
|
||||||
|
type: object
|
||||||
InfluxQLCSVResponse:
|
InfluxQLCSVResponse:
|
||||||
type: string
|
type: string
|
||||||
example: |
|
example: |
|
||||||
|
|
|
@ -7852,6 +7852,11 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/InfluxqlJsonResponse'
|
$ref: '#/components/schemas/InfluxqlJsonResponse'
|
||||||
|
examples:
|
||||||
|
influxql-chunk_size_2:
|
||||||
|
value: |
|
||||||
|
{"results":[{"statement_id":0,"series":[{"name":"mymeas","columns":["time","myfield","mytag"],"values":[["2016-05-19T18:37:55Z",90,"1"],["2016-05-19T18:37:56Z",90,"1"]],"partial":true}],"partial":true}]}
|
||||||
|
{"results":[{"statement_id":0,"series":[{"name":"mymeas","columns":["time","myfield","mytag"],"values":[["2016-05-19T18:37:57Z",90,"1"],["2016-05-19T18:37:58Z",90,"1"]]}]}]}
|
||||||
application/x-msgpack:
|
application/x-msgpack:
|
||||||
schema:
|
schema:
|
||||||
format: binary
|
format: binary
|
||||||
|
@ -10269,29 +10274,55 @@ components:
|
||||||
name,tags,time,test_field,test_tag test_measurement,,1603740794286107366,1,tag_value test_measurement,,1603740870053205649,2,tag_value test_measurement,,1603741221085428881,3,tag_value
|
name,tags,time,test_field,test_tag test_measurement,,1603740794286107366,1,tag_value test_measurement,,1603740870053205649,2,tag_value test_measurement,,1603741221085428881,3,tag_value
|
||||||
type: string
|
type: string
|
||||||
InfluxqlJsonResponse:
|
InfluxqlJsonResponse:
|
||||||
description: JSON Response to InfluxQL Query
|
description: |
|
||||||
|
The JSON response for an InfluxQL query.
|
||||||
|
|
||||||
|
A response contains the collection of results for a query.
|
||||||
|
`results` is an array of resultset objects.
|
||||||
|
|
||||||
|
If the response is chunked, the `transfer-encoding` response header is set to `chunked` and each resultset object is sent in a separate JSON object.
|
||||||
properties:
|
properties:
|
||||||
results:
|
results:
|
||||||
|
description: |
|
||||||
|
A resultset object that contains the `statement_id` and the `series` array.
|
||||||
|
|
||||||
|
Except for `statement_id`, all properties are optional and omitted if empty. If a property is not present, it is assumed to be `null`.
|
||||||
items:
|
items:
|
||||||
properties:
|
properties:
|
||||||
error:
|
error:
|
||||||
type: string
|
type: string
|
||||||
|
partial:
|
||||||
|
description: |
|
||||||
|
True if the resultset is not complete--the response data is chunked; otherwise, false or omitted.
|
||||||
|
type: boolean
|
||||||
series:
|
series:
|
||||||
|
description: |
|
||||||
|
An array of series objects--the results of the query. A series of rows shares the same group key returned from the execution of a statement.
|
||||||
|
|
||||||
|
If a property is not present, it is assumed to be `null`.
|
||||||
items:
|
items:
|
||||||
properties:
|
properties:
|
||||||
columns:
|
columns:
|
||||||
|
description: An array of column names
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
type: array
|
type: array
|
||||||
name:
|
name:
|
||||||
|
description: The name of the series
|
||||||
type: string
|
type: string
|
||||||
partial:
|
partial:
|
||||||
|
description: |
|
||||||
|
True if the series is not complete--the response data is chunked; otherwise, false or omitted.
|
||||||
type: boolean
|
type: boolean
|
||||||
tags:
|
tags:
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
type: string
|
type: string
|
||||||
|
description: |
|
||||||
|
A map of tag key-value pairs. If a tag key is not present, it is assumed to be `null`.
|
||||||
type: object
|
type: object
|
||||||
values:
|
values:
|
||||||
|
description: |
|
||||||
|
An array of rows, where each row is an array of values.
|
||||||
items:
|
items:
|
||||||
items: {}
|
items: {}
|
||||||
type: array
|
type: array
|
||||||
|
@ -10299,8 +10330,17 @@ components:
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
statement_id:
|
statement_id:
|
||||||
|
description: |
|
||||||
|
An integer that represents the statement's position in the query. If statement results are buffered in memory, `statement_id` is used to combine statement results.
|
||||||
type: integer
|
type: integer
|
||||||
type: object
|
type: object
|
||||||
|
oneOf:
|
||||||
|
- required:
|
||||||
|
- statement_id
|
||||||
|
- error
|
||||||
|
- required:
|
||||||
|
- statement_id
|
||||||
|
- series
|
||||||
type: array
|
type: array
|
||||||
type: object
|
type: object
|
||||||
IntegerLiteral:
|
IntegerLiteral:
|
||||||
|
|
|
@ -131,7 +131,7 @@ paths:
|
||||||
operationId: PostQueryV1
|
operationId: PostQueryV1
|
||||||
tags:
|
tags:
|
||||||
- Query
|
- Query
|
||||||
summary: Query InfluxDB in a V1 compatible format
|
summary: Query using the InfluxDB v1 HTTP API
|
||||||
requestBody:
|
requestBody:
|
||||||
description: InfluxQL query to execute.
|
description: InfluxQL query to execute.
|
||||||
content:
|
content:
|
||||||
|
@ -213,6 +213,11 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/InfluxQLResponse'
|
$ref: '#/components/schemas/InfluxQLResponse'
|
||||||
|
examples:
|
||||||
|
influxql-chunk_size_2:
|
||||||
|
value: |
|
||||||
|
{"results":[{"statement_id":0,"series":[{"name":"mymeas","columns":["time","myfield","mytag"],"values":[["2016-05-19T18:37:55Z",90,"1"],["2016-05-19T18:37:56Z",90,"1"]],"partial":true}],"partial":true}]}
|
||||||
|
{"results":[{"statement_id":0,"series":[{"name":"mymeas","columns":["time","myfield","mytag"],"values":[["2016-05-19T18:37:57Z",90,"1"],["2016-05-19T18:37:58Z",90,"1"]]}]}]}
|
||||||
application/x-msgpack:
|
application/x-msgpack:
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
|
@ -261,45 +266,75 @@ components:
|
||||||
description: User token.
|
description: User token.
|
||||||
schemas:
|
schemas:
|
||||||
InfluxQLResponse:
|
InfluxQLResponse:
|
||||||
|
description: |
|
||||||
|
The JSON response for an InfluxQL query.
|
||||||
|
|
||||||
|
A response contains the collection of results for a query.
|
||||||
|
`results` is an array of resultset objects.
|
||||||
|
|
||||||
|
If the response is chunked, the `transfer-encoding` response header is set to `chunked` and each resultset object is sent in a separate JSON object.
|
||||||
properties:
|
properties:
|
||||||
results:
|
results:
|
||||||
type: array
|
description: |
|
||||||
oneOf:
|
A resultset object that contains the `statement_id` and the `series` array.
|
||||||
- required:
|
|
||||||
- statement_id
|
Except for `statement_id`, all properties are optional and omitted if empty. If a property is not present, it is assumed to be `null`.
|
||||||
- error
|
|
||||||
- required:
|
|
||||||
- statement_id
|
|
||||||
- series
|
|
||||||
items:
|
items:
|
||||||
type: object
|
|
||||||
properties:
|
properties:
|
||||||
statement_id:
|
|
||||||
type: integer
|
|
||||||
error:
|
error:
|
||||||
type: string
|
type: string
|
||||||
|
partial:
|
||||||
|
description: |
|
||||||
|
True if the resultset is not complete--the response data is chunked; otherwise, false or omitted.
|
||||||
|
type: boolean
|
||||||
series:
|
series:
|
||||||
type: array
|
description: |
|
||||||
|
An array of series objects--the results of the query. A series of rows shares the same group key returned from the execution of a statement.
|
||||||
|
|
||||||
|
If a property is not present, it is assumed to be `null`.
|
||||||
items:
|
items:
|
||||||
type: object
|
|
||||||
properties:
|
properties:
|
||||||
|
columns:
|
||||||
|
description: An array of column names
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
name:
|
name:
|
||||||
|
description: The name of the series
|
||||||
type: string
|
type: string
|
||||||
|
partial:
|
||||||
|
description: |
|
||||||
|
True if the series is not complete--the response data is chunked; otherwise, false or omitted.
|
||||||
|
type: boolean
|
||||||
tags:
|
tags:
|
||||||
type: object
|
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
type: string
|
type: string
|
||||||
partial:
|
description: |
|
||||||
type: boolean
|
A map of tag key-value pairs. If a tag key is not present, it is assumed to be `null`.
|
||||||
columns:
|
type: object
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
values:
|
values:
|
||||||
type: array
|
description: |
|
||||||
|
An array of rows, where each row is an array of values.
|
||||||
items:
|
items:
|
||||||
type: array
|
|
||||||
items: {}
|
items: {}
|
||||||
|
type: array
|
||||||
|
type: array
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
statement_id:
|
||||||
|
description: |
|
||||||
|
An integer that represents the statement's position in the query. If statement results are buffered in memory, `statement_id` is used to combine statement results.
|
||||||
|
type: integer
|
||||||
|
type: object
|
||||||
|
oneOf:
|
||||||
|
- required:
|
||||||
|
- statement_id
|
||||||
|
- error
|
||||||
|
- required:
|
||||||
|
- statement_id
|
||||||
|
- series
|
||||||
|
type: array
|
||||||
|
type: object
|
||||||
InfluxQLCSVResponse:
|
InfluxQLCSVResponse:
|
||||||
type: string
|
type: string
|
||||||
example: |
|
example: |
|
||||||
|
|
|
@ -12231,6 +12231,11 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/InfluxqlJsonResponse'
|
$ref: '#/components/schemas/InfluxqlJsonResponse'
|
||||||
|
examples:
|
||||||
|
influxql-chunk_size_2:
|
||||||
|
value: |
|
||||||
|
{"results":[{"statement_id":0,"series":[{"name":"mymeas","columns":["time","myfield","mytag"],"values":[["2016-05-19T18:37:55Z",90,"1"],["2016-05-19T18:37:56Z",90,"1"]],"partial":true}],"partial":true}]}
|
||||||
|
{"results":[{"statement_id":0,"series":[{"name":"mymeas","columns":["time","myfield","mytag"],"values":[["2016-05-19T18:37:57Z",90,"1"],["2016-05-19T18:37:58Z",90,"1"]]}]}]}
|
||||||
application/x-msgpack:
|
application/x-msgpack:
|
||||||
schema:
|
schema:
|
||||||
format: binary
|
format: binary
|
||||||
|
@ -14585,29 +14590,55 @@ components:
|
||||||
name,tags,time,test_field,test_tag test_measurement,,1603740794286107366,1,tag_value test_measurement,,1603740870053205649,2,tag_value test_measurement,,1603741221085428881,3,tag_value
|
name,tags,time,test_field,test_tag test_measurement,,1603740794286107366,1,tag_value test_measurement,,1603740870053205649,2,tag_value test_measurement,,1603741221085428881,3,tag_value
|
||||||
type: string
|
type: string
|
||||||
InfluxqlJsonResponse:
|
InfluxqlJsonResponse:
|
||||||
description: JSON Response to InfluxQL Query
|
description: |
|
||||||
|
The JSON response for an InfluxQL query.
|
||||||
|
|
||||||
|
A response contains the collection of results for a query.
|
||||||
|
`results` is an array of resultset objects.
|
||||||
|
|
||||||
|
If the response is chunked, the `transfer-encoding` response header is set to `chunked` and each resultset object is sent in a separate JSON object.
|
||||||
properties:
|
properties:
|
||||||
results:
|
results:
|
||||||
|
description: |
|
||||||
|
A resultset object that contains the `statement_id` and the `series` array.
|
||||||
|
|
||||||
|
Except for `statement_id`, all properties are optional and omitted if empty. If a property is not present, it is assumed to be `null`.
|
||||||
items:
|
items:
|
||||||
properties:
|
properties:
|
||||||
error:
|
error:
|
||||||
type: string
|
type: string
|
||||||
|
partial:
|
||||||
|
description: |
|
||||||
|
True if the resultset is not complete--the response data is chunked; otherwise, false or omitted.
|
||||||
|
type: boolean
|
||||||
series:
|
series:
|
||||||
|
description: |
|
||||||
|
An array of series objects--the results of the query. A series of rows shares the same group key returned from the execution of a statement.
|
||||||
|
|
||||||
|
If a property is not present, it is assumed to be `null`.
|
||||||
items:
|
items:
|
||||||
properties:
|
properties:
|
||||||
columns:
|
columns:
|
||||||
|
description: An array of column names
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
type: array
|
type: array
|
||||||
name:
|
name:
|
||||||
|
description: The name of the series
|
||||||
type: string
|
type: string
|
||||||
partial:
|
partial:
|
||||||
|
description: |
|
||||||
|
True if the series is not complete--the response data is chunked; otherwise, false or omitted.
|
||||||
type: boolean
|
type: boolean
|
||||||
tags:
|
tags:
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
type: string
|
type: string
|
||||||
|
description: |
|
||||||
|
A map of tag key-value pairs. If a tag key is not present, it is assumed to be `null`.
|
||||||
type: object
|
type: object
|
||||||
values:
|
values:
|
||||||
|
description: |
|
||||||
|
An array of rows, where each row is an array of values.
|
||||||
items:
|
items:
|
||||||
items: {}
|
items: {}
|
||||||
type: array
|
type: array
|
||||||
|
@ -14615,8 +14646,17 @@ components:
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
statement_id:
|
statement_id:
|
||||||
|
description: |
|
||||||
|
An integer that represents the statement's position in the query. If statement results are buffered in memory, `statement_id` is used to combine statement results.
|
||||||
type: integer
|
type: integer
|
||||||
type: object
|
type: object
|
||||||
|
oneOf:
|
||||||
|
- required:
|
||||||
|
- statement_id
|
||||||
|
- error
|
||||||
|
- required:
|
||||||
|
- statement_id
|
||||||
|
- series
|
||||||
type: array
|
type: array
|
||||||
type: object
|
type: object
|
||||||
IntegerLiteral:
|
IntegerLiteral:
|
||||||
|
|
|
@ -135,7 +135,7 @@ paths:
|
||||||
operationId: PostQueryV1
|
operationId: PostQueryV1
|
||||||
tags:
|
tags:
|
||||||
- Query
|
- Query
|
||||||
summary: Query InfluxDB in a V1 compatible format
|
summary: Query using the InfluxDB v1 HTTP API
|
||||||
requestBody:
|
requestBody:
|
||||||
description: InfluxQL query to execute.
|
description: InfluxQL query to execute.
|
||||||
content:
|
content:
|
||||||
|
@ -217,6 +217,11 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/InfluxQLResponse'
|
$ref: '#/components/schemas/InfluxQLResponse'
|
||||||
|
examples:
|
||||||
|
influxql-chunk_size_2:
|
||||||
|
value: |
|
||||||
|
{"results":[{"statement_id":0,"series":[{"name":"mymeas","columns":["time","myfield","mytag"],"values":[["2016-05-19T18:37:55Z",90,"1"],["2016-05-19T18:37:56Z",90,"1"]],"partial":true}],"partial":true}]}
|
||||||
|
{"results":[{"statement_id":0,"series":[{"name":"mymeas","columns":["time","myfield","mytag"],"values":[["2016-05-19T18:37:57Z",90,"1"],["2016-05-19T18:37:58Z",90,"1"]]}]}]}
|
||||||
application/x-msgpack:
|
application/x-msgpack:
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
|
@ -265,45 +270,75 @@ components:
|
||||||
description: User token.
|
description: User token.
|
||||||
schemas:
|
schemas:
|
||||||
InfluxQLResponse:
|
InfluxQLResponse:
|
||||||
|
description: |
|
||||||
|
The JSON response for an InfluxQL query.
|
||||||
|
|
||||||
|
A response contains the collection of results for a query.
|
||||||
|
`results` is an array of resultset objects.
|
||||||
|
|
||||||
|
If the response is chunked, the `transfer-encoding` response header is set to `chunked` and each resultset object is sent in a separate JSON object.
|
||||||
properties:
|
properties:
|
||||||
results:
|
results:
|
||||||
type: array
|
description: |
|
||||||
oneOf:
|
A resultset object that contains the `statement_id` and the `series` array.
|
||||||
- required:
|
|
||||||
- statement_id
|
Except for `statement_id`, all properties are optional and omitted if empty. If a property is not present, it is assumed to be `null`.
|
||||||
- error
|
|
||||||
- required:
|
|
||||||
- statement_id
|
|
||||||
- series
|
|
||||||
items:
|
items:
|
||||||
type: object
|
|
||||||
properties:
|
properties:
|
||||||
statement_id:
|
|
||||||
type: integer
|
|
||||||
error:
|
error:
|
||||||
type: string
|
type: string
|
||||||
|
partial:
|
||||||
|
description: |
|
||||||
|
True if the resultset is not complete--the response data is chunked; otherwise, false or omitted.
|
||||||
|
type: boolean
|
||||||
series:
|
series:
|
||||||
type: array
|
description: |
|
||||||
|
An array of series objects--the results of the query. A series of rows shares the same group key returned from the execution of a statement.
|
||||||
|
|
||||||
|
If a property is not present, it is assumed to be `null`.
|
||||||
items:
|
items:
|
||||||
type: object
|
|
||||||
properties:
|
properties:
|
||||||
|
columns:
|
||||||
|
description: An array of column names
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
name:
|
name:
|
||||||
|
description: The name of the series
|
||||||
type: string
|
type: string
|
||||||
|
partial:
|
||||||
|
description: |
|
||||||
|
True if the series is not complete--the response data is chunked; otherwise, false or omitted.
|
||||||
|
type: boolean
|
||||||
tags:
|
tags:
|
||||||
type: object
|
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
type: string
|
type: string
|
||||||
partial:
|
description: |
|
||||||
type: boolean
|
A map of tag key-value pairs. If a tag key is not present, it is assumed to be `null`.
|
||||||
columns:
|
type: object
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
values:
|
values:
|
||||||
type: array
|
description: |
|
||||||
|
An array of rows, where each row is an array of values.
|
||||||
items:
|
items:
|
||||||
type: array
|
|
||||||
items: {}
|
items: {}
|
||||||
|
type: array
|
||||||
|
type: array
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
statement_id:
|
||||||
|
description: |
|
||||||
|
An integer that represents the statement's position in the query. If statement results are buffered in memory, `statement_id` is used to combine statement results.
|
||||||
|
type: integer
|
||||||
|
type: object
|
||||||
|
oneOf:
|
||||||
|
- required:
|
||||||
|
- statement_id
|
||||||
|
- error
|
||||||
|
- required:
|
||||||
|
- statement_id
|
||||||
|
- series
|
||||||
|
type: array
|
||||||
|
type: object
|
||||||
InfluxQLCSVResponse:
|
InfluxQLCSVResponse:
|
||||||
type: string
|
type: string
|
||||||
example: |
|
example: |
|
||||||
|
|
|
@ -540,6 +540,11 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/InfluxqlJsonResponse'
|
$ref: '#/components/schemas/InfluxqlJsonResponse'
|
||||||
|
examples:
|
||||||
|
influxql-chunk_size_2:
|
||||||
|
value: |
|
||||||
|
{"results":[{"statement_id":0,"series":[{"name":"mymeas","columns":["time","myfield","mytag"],"values":[["2016-05-19T18:37:55Z",90,"1"],["2016-05-19T18:37:56Z",90,"1"]],"partial":true}],"partial":true}]}
|
||||||
|
{"results":[{"statement_id":0,"series":[{"name":"mymeas","columns":["time","myfield","mytag"],"values":[["2016-05-19T18:37:57Z",90,"1"],["2016-05-19T18:37:58Z",90,"1"]]}]}]}
|
||||||
application/x-msgpack:
|
application/x-msgpack:
|
||||||
schema:
|
schema:
|
||||||
format: binary
|
format: binary
|
||||||
|
@ -1204,29 +1209,55 @@ components:
|
||||||
name,tags,time,test_field,test_tag test_measurement,,1603740794286107366,1,tag_value test_measurement,,1603740870053205649,2,tag_value test_measurement,,1603741221085428881,3,tag_value
|
name,tags,time,test_field,test_tag test_measurement,,1603740794286107366,1,tag_value test_measurement,,1603740870053205649,2,tag_value test_measurement,,1603741221085428881,3,tag_value
|
||||||
type: string
|
type: string
|
||||||
InfluxqlJsonResponse:
|
InfluxqlJsonResponse:
|
||||||
description: JSON Response to InfluxQL Query
|
description: |
|
||||||
|
The JSON response for an InfluxQL query.
|
||||||
|
|
||||||
|
A response contains the collection of results for a query.
|
||||||
|
`results` is an array of resultset objects.
|
||||||
|
|
||||||
|
If the response is chunked, the `transfer-encoding` response header is set to `chunked` and each resultset object is sent in a separate JSON object.
|
||||||
properties:
|
properties:
|
||||||
results:
|
results:
|
||||||
|
description: |
|
||||||
|
A resultset object that contains the `statement_id` and the `series` array.
|
||||||
|
|
||||||
|
Except for `statement_id`, all properties are optional and omitted if empty. If a property is not present, it is assumed to be `null`.
|
||||||
items:
|
items:
|
||||||
properties:
|
properties:
|
||||||
error:
|
error:
|
||||||
type: string
|
type: string
|
||||||
|
partial:
|
||||||
|
description: |
|
||||||
|
True if the resultset is not complete--the response data is chunked; otherwise, false or omitted.
|
||||||
|
type: boolean
|
||||||
series:
|
series:
|
||||||
|
description: |
|
||||||
|
An array of series objects--the results of the query. A series of rows shares the same group key returned from the execution of a statement.
|
||||||
|
|
||||||
|
If a property is not present, it is assumed to be `null`.
|
||||||
items:
|
items:
|
||||||
properties:
|
properties:
|
||||||
columns:
|
columns:
|
||||||
|
description: An array of column names
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
type: array
|
type: array
|
||||||
name:
|
name:
|
||||||
|
description: The name of the series
|
||||||
type: string
|
type: string
|
||||||
partial:
|
partial:
|
||||||
|
description: |
|
||||||
|
True if the series is not complete--the response data is chunked; otherwise, false or omitted.
|
||||||
type: boolean
|
type: boolean
|
||||||
tags:
|
tags:
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
type: string
|
type: string
|
||||||
|
description: |
|
||||||
|
A map of tag key-value pairs. If a tag key is not present, it is assumed to be `null`.
|
||||||
type: object
|
type: object
|
||||||
values:
|
values:
|
||||||
|
description: |
|
||||||
|
An array of rows, where each row is an array of values.
|
||||||
items:
|
items:
|
||||||
items: {}
|
items: {}
|
||||||
type: array
|
type: array
|
||||||
|
@ -1234,8 +1265,17 @@ components:
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
statement_id:
|
statement_id:
|
||||||
|
description: |
|
||||||
|
An integer that represents the statement's position in the query. If statement results are buffered in memory, `statement_id` is used to combine statement results.
|
||||||
type: integer
|
type: integer
|
||||||
type: object
|
type: object
|
||||||
|
oneOf:
|
||||||
|
- required:
|
||||||
|
- statement_id
|
||||||
|
- error
|
||||||
|
- required:
|
||||||
|
- statement_id
|
||||||
|
- series
|
||||||
type: array
|
type: array
|
||||||
type: object
|
type: object
|
||||||
IntegerLiteral:
|
IntegerLiteral:
|
||||||
|
|
|
@ -13126,6 +13126,11 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/InfluxqlJsonResponse'
|
$ref: '#/components/schemas/InfluxqlJsonResponse'
|
||||||
|
examples:
|
||||||
|
influxql-chunk_size_2:
|
||||||
|
value: |
|
||||||
|
{"results":[{"statement_id":0,"series":[{"name":"mymeas","columns":["time","myfield","mytag"],"values":[["2016-05-19T18:37:55Z",90,"1"],["2016-05-19T18:37:56Z",90,"1"]],"partial":true}],"partial":true}]}
|
||||||
|
{"results":[{"statement_id":0,"series":[{"name":"mymeas","columns":["time","myfield","mytag"],"values":[["2016-05-19T18:37:57Z",90,"1"],["2016-05-19T18:37:58Z",90,"1"]]}]}]}
|
||||||
application/x-msgpack:
|
application/x-msgpack:
|
||||||
schema:
|
schema:
|
||||||
format: binary
|
format: binary
|
||||||
|
@ -15500,29 +15505,55 @@ components:
|
||||||
name,tags,time,test_field,test_tag test_measurement,,1603740794286107366,1,tag_value test_measurement,,1603740870053205649,2,tag_value test_measurement,,1603741221085428881,3,tag_value
|
name,tags,time,test_field,test_tag test_measurement,,1603740794286107366,1,tag_value test_measurement,,1603740870053205649,2,tag_value test_measurement,,1603741221085428881,3,tag_value
|
||||||
type: string
|
type: string
|
||||||
InfluxqlJsonResponse:
|
InfluxqlJsonResponse:
|
||||||
description: JSON Response to InfluxQL Query
|
description: |
|
||||||
|
The JSON response for an InfluxQL query.
|
||||||
|
|
||||||
|
A response contains the collection of results for a query.
|
||||||
|
`results` is an array of resultset objects.
|
||||||
|
|
||||||
|
If the response is chunked, the `transfer-encoding` response header is set to `chunked` and each resultset object is sent in a separate JSON object.
|
||||||
properties:
|
properties:
|
||||||
results:
|
results:
|
||||||
|
description: |
|
||||||
|
A resultset object that contains the `statement_id` and the `series` array.
|
||||||
|
|
||||||
|
Except for `statement_id`, all properties are optional and omitted if empty. If a property is not present, it is assumed to be `null`.
|
||||||
items:
|
items:
|
||||||
properties:
|
properties:
|
||||||
error:
|
error:
|
||||||
type: string
|
type: string
|
||||||
|
partial:
|
||||||
|
description: |
|
||||||
|
True if the resultset is not complete--the response data is chunked; otherwise, false or omitted.
|
||||||
|
type: boolean
|
||||||
series:
|
series:
|
||||||
|
description: |
|
||||||
|
An array of series objects--the results of the query. A series of rows shares the same group key returned from the execution of a statement.
|
||||||
|
|
||||||
|
If a property is not present, it is assumed to be `null`.
|
||||||
items:
|
items:
|
||||||
properties:
|
properties:
|
||||||
columns:
|
columns:
|
||||||
|
description: An array of column names
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
type: array
|
type: array
|
||||||
name:
|
name:
|
||||||
|
description: The name of the series
|
||||||
type: string
|
type: string
|
||||||
partial:
|
partial:
|
||||||
|
description: |
|
||||||
|
True if the series is not complete--the response data is chunked; otherwise, false or omitted.
|
||||||
type: boolean
|
type: boolean
|
||||||
tags:
|
tags:
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
type: string
|
type: string
|
||||||
|
description: |
|
||||||
|
A map of tag key-value pairs. If a tag key is not present, it is assumed to be `null`.
|
||||||
type: object
|
type: object
|
||||||
values:
|
values:
|
||||||
|
description: |
|
||||||
|
An array of rows, where each row is an array of values.
|
||||||
items:
|
items:
|
||||||
items: {}
|
items: {}
|
||||||
type: array
|
type: array
|
||||||
|
@ -15530,8 +15561,17 @@ components:
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
statement_id:
|
statement_id:
|
||||||
|
description: |
|
||||||
|
An integer that represents the statement's position in the query. If statement results are buffered in memory, `statement_id` is used to combine statement results.
|
||||||
type: integer
|
type: integer
|
||||||
type: object
|
type: object
|
||||||
|
oneOf:
|
||||||
|
- required:
|
||||||
|
- statement_id
|
||||||
|
- error
|
||||||
|
- required:
|
||||||
|
- statement_id
|
||||||
|
- series
|
||||||
type: array
|
type: array
|
||||||
type: object
|
type: object
|
||||||
IntegerLiteral:
|
IntegerLiteral:
|
||||||
|
|
|
@ -131,7 +131,7 @@ paths:
|
||||||
operationId: PostQueryV1
|
operationId: PostQueryV1
|
||||||
tags:
|
tags:
|
||||||
- Query
|
- Query
|
||||||
summary: Query InfluxDB in a V1 compatible format
|
summary: Query using the InfluxDB v1 HTTP API
|
||||||
requestBody:
|
requestBody:
|
||||||
description: InfluxQL query to execute.
|
description: InfluxQL query to execute.
|
||||||
content:
|
content:
|
||||||
|
@ -213,6 +213,11 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/InfluxQLResponse'
|
$ref: '#/components/schemas/InfluxQLResponse'
|
||||||
|
examples:
|
||||||
|
influxql-chunk_size_2:
|
||||||
|
value: |
|
||||||
|
{"results":[{"statement_id":0,"series":[{"name":"mymeas","columns":["time","myfield","mytag"],"values":[["2016-05-19T18:37:55Z",90,"1"],["2016-05-19T18:37:56Z",90,"1"]],"partial":true}],"partial":true}]}
|
||||||
|
{"results":[{"statement_id":0,"series":[{"name":"mymeas","columns":["time","myfield","mytag"],"values":[["2016-05-19T18:37:57Z",90,"1"],["2016-05-19T18:37:58Z",90,"1"]]}]}]}
|
||||||
application/x-msgpack:
|
application/x-msgpack:
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
|
@ -261,45 +266,75 @@ components:
|
||||||
description: User token.
|
description: User token.
|
||||||
schemas:
|
schemas:
|
||||||
InfluxQLResponse:
|
InfluxQLResponse:
|
||||||
|
description: |
|
||||||
|
The JSON response for an InfluxQL query.
|
||||||
|
|
||||||
|
A response contains the collection of results for a query.
|
||||||
|
`results` is an array of resultset objects.
|
||||||
|
|
||||||
|
If the response is chunked, the `transfer-encoding` response header is set to `chunked` and each resultset object is sent in a separate JSON object.
|
||||||
properties:
|
properties:
|
||||||
results:
|
results:
|
||||||
type: array
|
description: |
|
||||||
oneOf:
|
A resultset object that contains the `statement_id` and the `series` array.
|
||||||
- required:
|
|
||||||
- statement_id
|
Except for `statement_id`, all properties are optional and omitted if empty. If a property is not present, it is assumed to be `null`.
|
||||||
- error
|
|
||||||
- required:
|
|
||||||
- statement_id
|
|
||||||
- series
|
|
||||||
items:
|
items:
|
||||||
type: object
|
|
||||||
properties:
|
properties:
|
||||||
statement_id:
|
|
||||||
type: integer
|
|
||||||
error:
|
error:
|
||||||
type: string
|
type: string
|
||||||
|
partial:
|
||||||
|
description: |
|
||||||
|
True if the resultset is not complete--the response data is chunked; otherwise, false or omitted.
|
||||||
|
type: boolean
|
||||||
series:
|
series:
|
||||||
type: array
|
description: |
|
||||||
|
An array of series objects--the results of the query. A series of rows shares the same group key returned from the execution of a statement.
|
||||||
|
|
||||||
|
If a property is not present, it is assumed to be `null`.
|
||||||
items:
|
items:
|
||||||
type: object
|
|
||||||
properties:
|
properties:
|
||||||
|
columns:
|
||||||
|
description: An array of column names
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
name:
|
name:
|
||||||
|
description: The name of the series
|
||||||
type: string
|
type: string
|
||||||
|
partial:
|
||||||
|
description: |
|
||||||
|
True if the series is not complete--the response data is chunked; otherwise, false or omitted.
|
||||||
|
type: boolean
|
||||||
tags:
|
tags:
|
||||||
type: object
|
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
type: string
|
type: string
|
||||||
partial:
|
description: |
|
||||||
type: boolean
|
A map of tag key-value pairs. If a tag key is not present, it is assumed to be `null`.
|
||||||
columns:
|
type: object
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
values:
|
values:
|
||||||
type: array
|
description: |
|
||||||
|
An array of rows, where each row is an array of values.
|
||||||
items:
|
items:
|
||||||
type: array
|
|
||||||
items: {}
|
items: {}
|
||||||
|
type: array
|
||||||
|
type: array
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
statement_id:
|
||||||
|
description: |
|
||||||
|
An integer that represents the statement's position in the query. If statement results are buffered in memory, `statement_id` is used to combine statement results.
|
||||||
|
type: integer
|
||||||
|
type: object
|
||||||
|
oneOf:
|
||||||
|
- required:
|
||||||
|
- statement_id
|
||||||
|
- error
|
||||||
|
- required:
|
||||||
|
- statement_id
|
||||||
|
- series
|
||||||
|
type: array
|
||||||
|
type: object
|
||||||
InfluxQLCSVResponse:
|
InfluxQLCSVResponse:
|
||||||
type: string
|
type: string
|
||||||
example: |
|
example: |
|
||||||
|
|
Loading…
Reference in New Issue