From 80cb646a9b506ab7839e872edc8d89f97615ec33 Mon Sep 17 00:00:00 2001 From: meelahme Date: Fri, 25 Jul 2025 10:16:23 -0700 Subject: [PATCH] Fix POST query endpoint request body property names in Enterprise API spec --- api-docs/influxdb3/enterprise/v3/ref.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/api-docs/influxdb3/enterprise/v3/ref.yml b/api-docs/influxdb3/enterprise/v3/ref.yml index 3648a08a8..55dc9da64 100644 --- a/api-docs/influxdb3/enterprise/v3/ref.yml +++ b/api-docs/influxdb3/enterprise/v3/ref.yml @@ -1976,12 +1976,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: @@ -2000,11 +2000,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: