Merge pull request #6247 from influxdata/fix/api-enterprise-docs-query-sql-field-names
commit
1ca63a20a2
|
|
@ -2021,12 +2021,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:
|
||||
|
|
@ -2045,11 +2045,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