fix(influxdb3): Apply corrections from code review

pull/6005/head
Jason Stirnaman 2025-04-21 15:41:03 -05:00
parent 874d09ca4a
commit 49acdbabd7
4 changed files with 8 additions and 9 deletions

View File

@ -154,7 +154,7 @@ tags:
description: Query data using SQL or InfluxQL description: Query data using SQL or InfluxQL
- name: Quick start - name: Quick start
description: | description: |
1. [Create an admin token](#section/Authentication) for the InfluxDB 3 Enterprise API. 1. [Create an admin token](#section/Authentication) for the InfluxDB 3 Core API.
```bash ```bash
curl -X POST "http://localhost:8181/api/v3/configure/token/admin" curl -X POST "http://localhost:8181/api/v3/configure/token/admin"
@ -166,7 +166,7 @@ tags:
--header "Authorization: Bearer ADMIN_TOKEN" --header "Authorization: Bearer ADMIN_TOKEN"
``` ```
3. [Write data](#section/Compatibility-endpoints/Write-data) to InfluxDB. 3. [Write data](#operation/PostWriteLP) to InfluxDB.
```bash ```bash
curl "http://localhost:8181/api/v3/write_lp?db=sensors&precision=auto" curl "http://localhost:8181/api/v3/write_lp?db=sensors&precision=auto"
@ -177,7 +177,7 @@ tags:
If all data is written, the response is `204 No Content`. If all data is written, the response is `204 No Content`.
4. [Query data](#section/Compatibility-endpoints/Query-data) from InfluxDB. 4. [Query data](#operation/GetExecuteQuerySQL) from InfluxDB.
```bash ```bash
curl -G "http://localhost:8181/api/v3/query_sql" \ curl -G "http://localhost:8181/api/v3/query_sql" \
@ -1351,7 +1351,7 @@ paths:
tags: tags:
- Authentication - Authentication
- Token - Token
/api/v3/configure/enterprise/token/admin/regenerate: /api/v3/configure/token/admin/regenerate:
post: post:
operationId: PostRegenerateAdminToken operationId: PostRegenerateAdminToken
summary: Regenerate admin token summary: Regenerate admin token
@ -1575,7 +1575,7 @@ components:
#### Related #### Related
- [Use the HTTP API and client libraries to write data](/influxdb3/core/write-data/api-client-libraries/) - [Use the HTTP API and client libraries to write data](/influxdb3/core/write-data/api-client-libraries/)
- [Data durability](/influxdb3/enterprise/reference/internals/durability/) - [Data durability](/influxdb3/core/reference/internals/durability/)
PrecisionWriteCompatibility: PrecisionWriteCompatibility:
enum: enum:
- ms - ms

View File

@ -166,7 +166,7 @@ tags:
--header "Authorization: Bearer ADMIN_TOKEN" --header "Authorization: Bearer ADMIN_TOKEN"
``` ```
3. [Write data](#section/Compatibility-endpoints/Write-data) to InfluxDB. 3. [Write data](#operation/PostWriteLP) to InfluxDB.
```bash ```bash
curl "http://localhost:8181/api/v3/write_lp?db=sensors&precision=auto" curl "http://localhost:8181/api/v3/write_lp?db=sensors&precision=auto"
@ -177,7 +177,7 @@ tags:
If all data is written, the response is `204 No Content`. If all data is written, the response is `204 No Content`.
4. [Query data](#section/Compatibility-endpoints/Query-data) from InfluxDB. 4. [Query data](#operation/GetExecuteQuerySQL) from InfluxDB.
```bash ```bash
curl -G "http://localhost:8181/api/v3/query_sql" \ curl -G "http://localhost:8181/api/v3/query_sql" \

View File

@ -1,4 +1,4 @@
Manage tokens to authenticate and authorize access to resources and data in your Manage tokens to authenticate and authorize access to resources and data in your
{{< product-name >}} instance. {{< product-name >}} instance.
{{< children hlevel="h2" readmore=true hr=true >}} {{< children hlevel="h2" readmore=true hr=true >}}

View File

@ -1,3 +1,2 @@
<!--> <!-->
{{< children hlevel="h2" readmore=true hr=true >}} {{< children hlevel="h2" readmore=true hr=true >}}