Merge pull request #6243 from influxdata/fix/api-docs-query-sql-field-names
Correcting POST request body property names in query SQLpull/6237/head^2
commit
47b52eb5fb
|
@ -1844,12 +1844,12 @@ components:
|
|||
QueryRequestObject:
|
||||
type: object
|
||||
properties:
|
||||
database:
|
||||
db:
|
||||
description: |
|
||||
The name of the database to query.
|
||||
Required if the query (`query_str`) doesn't specify the database.
|
||||
Required if the query (`q`) doesn't specify the database.
|
||||
type: string
|
||||
query_str:
|
||||
q:
|
||||
description: The query to execute.
|
||||
type: string
|
||||
format:
|
||||
|
@ -1868,11 +1868,11 @@ components:
|
|||
type: object
|
||||
additionalProperties: true
|
||||
required:
|
||||
- database
|
||||
- query_str
|
||||
- db
|
||||
- q
|
||||
example:
|
||||
database: mydb
|
||||
query_str: SELECT * FROM mytable
|
||||
db: mydb
|
||||
q: SELECT * FROM mytable
|
||||
format: json
|
||||
params: {}
|
||||
CreateDatabaseRequest:
|
||||
|
|
Loading…
Reference in New Issue