Skip to content

Commit a424a92

Browse files
authored
Merge pull request #6076 from influxdata/fix-api-docs-links
fix: broken links and formatting, missing Management API ReDoc securi…
2 parents 950cb50 + d471bbe commit a424a92

File tree

11 files changed

+20
-23
lines changed

11 files changed

+20
-23
lines changed

api-docs/influxdb3/cloud-dedicated/management/openapi.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ tags:
4040
See how to [create a management token](/influxdb3/cloud-dedicated/admin/tokens/management/).
4141
4242
By default, management tokens in InfluxDB 3 are short-lived tokens issued by an OAuth2 identity provider that grant a specific user administrative access to your InfluxDB cluster. However, for automation purposes, you can manually create management tokens that authenticate directly with your InfluxDB cluster and do not require human interaction with your identity provider.
43+
<!-- ReDoc-Inject: <security-definitions> -->
4344
- name: Database tokens
4445
description: Manage database read/write tokens for a cluster
4546
- name: Databases

api-docs/influxdb3/core/v3/ref.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ tags:
5252
#### Related guides
5353
5454
- [Manage tokens](/influxdb3/core/admin/tokens/)
55-
- [Authentication and authorization](/influxdb3/core/reference/authentication/)
55+
- [Authentication and authorization](/influxdb3/core/reference/internals/authentication/)
5656
x-traitTag: true
5757
- name: Cache data
5858
description: |

api-docs/influxdb3/enterprise/v3/ref.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ tags:
5252
#### Related guides
5353
5454
- [Manage tokens](/influxdb3/enterprise/admin/tokens/)
55-
- [Authentication and authorization](/influxdb3/enterprise/reference/authentication/)
55+
- [Authentication and authorization](/influxdb3/enterprise/reference/internals/authentication/)
5656
x-traitTag: true
5757
- name: Cache data
5858
description: |
@@ -1936,8 +1936,6 @@ components:
19361936
scheme: bearer
19371937
bearerFormat: JWT
19381938
description: |
1939-
_During Alpha release, an API token is not required._
1940-
19411939
A Bearer token for authentication.
19421940
19431941
Provide the scheme and the API token in the `Authorization` header--for example:

content/influxdb3/core/query-data/execute-queries/influxdb3-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ related:
1313
- /influxdb3/core/reference/cli/influxdb3/query/
1414
- /influxdb3/core/reference/sql/
1515
- /influxdb3/core/reference/influxql/
16-
# - /influxdb3/core/get-started/query/#execute-an-sql-query, Get started querying data
16+
# - /influxdb3/core/query-data/execute-queries/, Get started querying data
1717
list_code_example: |
1818
```sh
1919
influxdb3 query \

content/influxdb3/enterprise/query-data/execute-queries/influxdb3-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ related:
1313
- /influxdb3/enterprise/reference/cli/influxdb3/query/
1414
- /influxdb3/enterprise/reference/sql/
1515
- /influxdb3/enterprise/reference/influxql/
16-
# - /influxdb3/enterprise/get-started/query/#execute-an-sql-query, Get started querying data
16+
# - /influxdb3/enterprise/query-data/execute-queries/, Get started querying data
1717
list_code_example: |
1818
```sh
1919
influxdb3 query \

content/shared/influxdb-client-libraries-reference/flight/csharp-flight.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ For more information, see the [C# client example on GitHub](https://github.com/a
88
> We recommend using the [`influxdb3-csharp` C# client library](/influxdb3/version/reference/client-libraries/v3/csharp/) for integrating InfluxDB 3 with your C# application code.
99
>
1010
> [InfluxDB 3 client libraries](/influxdb3/version/reference/client-libraries/v3/) wrap Apache Arrow Flight clients
11-
> and provide convenient methods for [writing](/influxdb3/version/get-started/write/#write-line-protocol-to-influxdb), [querying](/influxdb3/version/get-started/query/#execute-an-sql-query), and processing data stored in {{% product-name %}}.
11+
> and provide convenient methods for [writing](/influxdb3/version/write-data/api-client-libraries/), [querying](/influxdb3/version/query-data/execute-queries/), and processing data stored in {{% product-name %}}.
1212
> Client libraries can query using SQL or InfluxQL.

content/shared/influxdb-client-libraries-reference/flight/go-flight.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
> We recommend using the [`influxdb3-go` Go client library](/influxdb3/version/reference/client-libraries/v3/go/) for integrating InfluxDB 3 with your Go application code.
77
>
88
> [InfluxDB 3 client libraries](/influxdb3/version/reference/client-libraries/v3/) wrap Apache Arrow Flight clients
9-
> and provide convenient methods for [writing](/influxdb3/version/get-started/write/#write-line-protocol-to-influxdb), [querying](/influxdb3/version/get-started/query/#execute-an-sql-query), and processing data stored in {{% product-name %}}.
9+
> and provide convenient methods for [writing](/influxdb3/version/write-data/api-client-libraries/), [querying](/influxdb3/version/query-data/execute-queries/), and processing data stored in {{% product-name %}}.
1010
> Client libraries can query using SQL or InfluxQL.
1111
1212
## Flight SQL client

content/shared/influxdb-client-libraries-reference/flight/java-flightsql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
> We recommend using the [`influxdb3-java` Java client library](/influxdb3/version/reference/client-libraries/v3/java/) for integrating InfluxDB 3 with your Java application code.
77
>
88
> [InfluxDB 3 client libraries](/influxdb3/version/reference/client-libraries/v3/) wrap Apache Arrow Flight clients
9-
> and provide convenient methods for [writing](/influxdb3/version/get-started/write/#write-line-protocol-to-influxdb), [querying](/influxdb3/version/get-started/query/#execute-an-sql-query), and processing data stored in {{% product-name %}}.
9+
> and provide convenient methods for [writing](/influxdb3/version/write-data/api-client-libraries/), [querying](/influxdb3/version/query-data/execute-queries/), and processing data stored in {{% product-name %}}.
1010
> Client libraries can query using SQL or InfluxQL.
1111
1212
<!-- TOC -->

content/shared/influxdb-client-libraries-reference/flight/python-flight.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,20 @@
66
> We recommend using the [`influxdb3-python` Python client library](/influxdb3/version/reference/client-libraries/v3/python/) for integrating InfluxDB 3 with your Python application code.
77
>
88
> [InfluxDB 3 client libraries](/influxdb3/version/reference/client-libraries/v3/) wrap Apache Arrow Flight clients
9-
> and provide convenient methods for [writing](/influxdb3/version/get-started/write/#write-line-protocol-to-influxdb), [querying](/influxdb3/version/get-started/query/#execute-an-sql-query), and processing data stored in {{% product-name %}}.
9+
> and provide convenient methods for [writing](/influxdb3/version/write-data/api-client-libraries/), [querying](/influxdb3/version/query-data/execute-queries/), and processing data stored in {{% product-name %}}.
1010
> Client libraries can query using SQL or InfluxQL.
1111
1212
The following examples show how to use the `pyarrow.flight` and `pandas` Python modules to query and format data stored in an {{% product-name %}} database:
1313

14-
{{% code-tabs-wrapper %}}
14+
{{< code-tabs-wrapper >}}
1515
{{% code-tabs %}}
1616
[SQL](#sql-python)
1717
[InfluxQL](#influxql-python)
1818
{{% /code-tabs %}}
19-
2019
{{% code-tab-content %}}
2120
<!-- BEGIN SQL -->
2221
{{% code-placeholders "DATABASE_NAME|DATABASE_TOKEN" %}}
23-
```py
22+
```python
2423
# Using pyarrow>=12.0.0 FlightClient
2524
from pyarrow.flight import FlightClient, Ticket, FlightCallOptions
2625
import json
@@ -62,7 +61,7 @@ print(data_frame.to_markdown())
6261
{{% code-tab-content %}}
6362
<!-- BEGIN INFLUXQL -->
6463
{{% code-placeholders "DATABASE_NAME|DATABASE_TOKEN" %}}
65-
```py
64+
```python
6665
# Using pyarrow>=12.0.0 FlightClient
6766
from pyarrow.flight import FlightClient, Ticket, FlightCallOptions
6867
import json
@@ -97,12 +96,11 @@ print(data_frame.to_markdown())
9796
{{% /code-placeholders %}}
9897
<!-- END INFLUXQL -->
9998
{{% /code-tab-content %}}
99+
{{< /code-tabs-wrapper >}}
100100

101101
Replace the following:
102102

103103
- {{% code-placeholder-key %}}`DATABASE_NAME`{{% /code-placeholder-key %}}: your {{% product-name %}} database
104104
- {{% code-placeholder-key %}}`DATABASE_TOKEN`{{% /code-placeholder-key %}}:
105105
a [database token](/influxdb3/version/admin/tokens/database/)
106106
with sufficient permissions to the specified database
107-
108-
{{% /code-tabs-wrapper %}}

content/shared/influxdb-client-libraries-reference/flight/python-flightsql-dbapi.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The [Python `flightsql-dbapi` Flight SQL DBAPI library](https://github.com/influ
66
> We recommend using the [`influxdb3-python` Python client library](/influxdb3/version/reference/client-libraries/v3/python/) for integrating InfluxDB 3 with your Python application code.
77
>
88
> [InfluxDB 3 client libraries](/influxdb3/version/reference/client-libraries/v3/) wrap Apache Arrow Flight clients
9-
> and provide convenient methods for [writing](/influxdb3/version/get-started/write/#write-line-protocol-to-influxdb), [querying](/influxdb3/version/get-started/query/#execute-an-sql-query), and processing data stored in {{% product-name %}}.
9+
> and provide convenient methods for [writing](/influxdb3/version/write-data/api-client-libraries/), [querying](/influxdb3/version/query-data/execute-queries/), and processing data stored in {{% product-name %}}.
1010
> Client libraries can query using SQL or InfluxQL.
1111
1212
## Installation
@@ -32,7 +32,7 @@ from flightsql import FlightSQLClient
3232
```
3333

3434
- `flightsql.FlightSQLClient` class: an interface for [initializing
35-
a client](#initialization) and interacting with a Flight SQL server.
35+
a client](#initialize-a-client) and interacting with a Flight SQL server.
3636

3737
## API reference
3838

@@ -41,11 +41,11 @@ a client](#initialization) and interacting with a Flight SQL server.
4141
- [Initialize a client](#initialize-a-client)
4242
- [Instance methods](#instance-methods)
4343
- [FlightSQLClient.execute](#flightsqlclientexecute)
44-
- [Syntax {#execute-query-syntax}](#syntax-execute-query-syntax)
45-
- [Example {#execute-query-example}](#example-execute-query-example)
44+
- [Syntax](#execute-query-syntax)
45+
- [Example](#execute-query-example)
4646
- [FlightSQLClient.do_get](#flightsqlclientdo_get)
47-
- [Syntax {#retrieve-data-syntax}](#syntax-retrieve-data-syntax)
48-
- [Example {#retrieve-data-example}](#example-retrieve-data-example)
47+
- [Syntax](#retrieve-data-syntax)
48+
- [Example](#retrieve-data-example)
4949

5050
## Class FlightSQLClient
5151

0 commit comments

Comments
 (0)