Merge pull request #6247 from influxdata/fix/api-enterprise-docs-query-sql-field-names

influxdb-1.12.0-release^2
Jameelah Mercer 2025-07-28 07:52:20 -07:00 committed by GitHub
commit 1ca63a20a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 7 deletions

View File

@ -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: