Skip to content

Commit 15bcfc9

Browse files
committed
hotfix: fix links in shared v2 content
1 parent 1522e73 commit 15bcfc9

File tree

195 files changed

+1975
-1975
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

195 files changed

+1975
-1975
lines changed

content/shared/influxdb-v2/admin/buckets/delete-bucket.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ to delete a bucket.
2929

3030
## Delete a bucket using the influx CLI
3131

32-
Use the [`influx bucket delete` command](/influxdb/v2/reference/cli/influx/bucket/delete)
32+
Use the [`influx bucket delete` command](/influxdb/version/reference/cli/influx/bucket/delete)
3333
to delete a bucket a bucket by name or ID.
3434

3535
### Delete a bucket by name

content/shared/influxdb-v2/admin/tokens/create-token.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ find the token you want to clone and click the **{{< icon "settings" >}}** icon
9191

9292
## Create a token using the influx CLI
9393

94-
Use the [`influx auth create` command](/influxdb/v2/reference/cli/influx/auth/create) to create a token.
94+
Use the [`influx auth create` command](/influxdb/version/reference/cli/influx/auth/create) to create a token.
9595
Include flags with the command to grant specific permissions to the token.
96-
See the [available flags](/influxdb/v2/reference/cli/influx/auth/create#flags).
96+
See the [available flags](/influxdb/version/reference/cli/influx/auth/create#flags).
9797
Only tokens with the `write: authorizations` permission can create tokens.
9898

9999
```sh
@@ -125,9 +125,9 @@ influx auth create \
125125
```
126126

127127
{{% note %}}
128-
To [view or create an operator token](/influxdb/v2/admin/tokens/create-token/) with the InfluxDB UI, `api/v2` API, or `influx` CLI after the setup process is completed, you must use an existing operator token.
128+
To [view or create an operator token](/influxdb/version/admin/tokens/create-token/) with the InfluxDB UI, `api/v2` API, or `influx` CLI after the setup process is completed, you must use an existing operator token.
129129

130-
To create a new operator token without using an existing one, see how to use the [`influxd recovery auth`](/influxdb/v2/reference/cli/influxd/recovery/auth/) CLI.
130+
To create a new operator token without using an existing one, see how to use the [`influxd recovery auth`](/influxdb/version/reference/cli/influxd/recovery/auth/) CLI.
131131
{{% /note %}}
132132
{{% /show-in %}}
133133

@@ -166,19 +166,19 @@ influx auth create \
166166
--write-users
167167
```
168168

169-
See the [`influx auth create` documentation](/influxdb/v2/reference/cli/influx/auth/create) for information about other available flags.
169+
See the [`influx auth create` documentation](/influxdb/version/reference/cli/influx/auth/create) for information about other available flags.
170170

171171
## Create a token using the InfluxDB API
172172

173173
Use the `/api/v2/authorizations` InfluxDB API endpoint to create a token.
174174

175-
{{< api-endpoint method="POST" endpoint="http://localhost:8086/api/v2/authorizations" api-ref="/influxdb/v2/api/#operation/PostAuthorizations" >}}
175+
{{< api-endpoint method="POST" endpoint="http://localhost:8086/api/v2/authorizations" api-ref="/influxdb/version/api/#operation/PostAuthorizations" >}}
176176

177177
Include the following in your request:
178178

179179
| Requirement | Include by |
180180
|:----------- |:---------- |
181-
| API token with the [`write: authorizations`](/influxdb/v2/api/#operation/PostAuthorizations) permission | Use the `Authorization` header and the {{% show-in "v2" %}}`Bearer` or {{% /show-in %}}`Token` scheme. |
181+
| API token with the [`write: authorizations`](/influxdb/version/api/#operation/PostAuthorizations) permission | Use the `Authorization` header and the {{% show-in "v2" %}}`Bearer` or {{% /show-in %}}`Token` scheme. |
182182
| Organization | Pass as `orgID` in the request body.
183183
| Permissions list | Pass as a `permissions` array in the request body.
184184

@@ -196,5 +196,5 @@ body.
196196
```
197197

198198
See the
199-
[`POST /api/v2/authorizations` documentation](/influxdb/v2/api/#operation/PostAuthorizations)
199+
[`POST /api/v2/authorizations` documentation](/influxdb/version/api/#operation/PostAuthorizations)
200200
for more information about options.

content/shared/influxdb-v2/admin/tokens/delete-token.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ have access to your InfluxDB instance.
3535

3636
## Delete a token using the influx CLI
3737

38-
Use the [`influx auth delete` command](/influxdb/v2/reference/cli/influx/auth/delete)
38+
Use the [`influx auth delete` command](/influxdb/version/reference/cli/influx/auth/delete)
3939
to delete a token.
4040

4141
_This command requires an auth ID, which is available in the output of `influx auth find`._
@@ -52,13 +52,13 @@ influx auth delete -i 03a2bee5a9c9a000
5252

5353
Use the `/api/v2/authorizations` InfluxDB API endpoint to delete a token.
5454

55-
{{< api-endpoint method="DELETE" endpoint="http://localhost:8086/api/v2/authorizations/AUTH_ID" api-ref="/influxdb/v2/api/#operation/DeleteAuthorizationsID" >}}
55+
{{< api-endpoint method="DELETE" endpoint="http://localhost:8086/api/v2/authorizations/AUTH_ID" api-ref="/influxdb/version/api/#operation/DeleteAuthorizationsID" >}}
5656

5757
Include the following in your request:
5858

5959
| Requirement | Include by |
6060
|:----------- |:---------- |
61-
| API token with the [`write: authorizations`](/influxdb/v2/api/#operation/PostAuthorizations) permission | Use the `Authorization: Token YOUR_API_TOKEN` header. |
61+
| API token with the [`write: authorizations`](/influxdb/version/api/#operation/PostAuthorizations) permission | Use the `Authorization: Token YOUR_API_TOKEN` header. |
6262
| Authorization ID | URL path parameter. |
6363

6464
```sh

content/shared/influxdb-v2/admin/tokens/update-tokens.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ using the InfluxDB user interface (UI).
4343

4444
## Enable a token using the influx CLI
4545

46-
Use the [`influx auth active` command](/influxdb/v2/reference/cli/influx/auth/active)
46+
Use the [`influx auth active` command](/influxdb/version/reference/cli/influx/auth/active)
4747
to activate a token.
4848

4949
_This command requires an authorization ID, which is available in the output of `influx auth find`._
@@ -55,15 +55,15 @@ influx auth active -i <auth-id>
5555
# Example
5656
influx auth active -i 0804f74142bbf000
5757
```
58-
To get the current status of a token, use the JSON output of the [`influx auth list` command](/influxdb/v2/reference/cli/influx/auth/list).
58+
To get the current status of a token, use the JSON output of the [`influx auth list` command](/influxdb/version/reference/cli/influx/auth/list).
5959

6060
```sh
6161
influx auth find --json
6262
```
6363

6464
### Disable a token using the influx CLI
6565

66-
Use the [`influx auth inactive` command](/influxdb/v2/reference/cli/influx/auth/active)
66+
Use the [`influx auth inactive` command](/influxdb/version/reference/cli/influx/auth/active)
6767
to deactivate a token.
6868

6969
_This command requires an authorization ID, which is available in the output of `influx auth find`._
@@ -76,7 +76,7 @@ influx auth inactive -i <auth-id>
7676
influx auth inactive -i 0804f74142bbf000
7777
```
7878

79-
To get the current status of a token, use the JSON output of the [`influx auth list` command](/influxdb/v2/reference/cli/influx/auth/list).
79+
To get the current status of a token, use the JSON output of the [`influx auth list` command](/influxdb/version/reference/cli/influx/auth/list).
8080

8181
```sh
8282
influx auth find --json
@@ -86,13 +86,13 @@ influx auth find --json
8686

8787
Use the `/api/v2/authorizations` InfluxDB API endpoint to update the description and status of a token.
8888

89-
{{< api-endpoint method="PATCH" endpoint="http://localhost:8086/api/v2/authorizations/AUTH_ID" api-ref="/influxdb/v2/api/#operation/PatchAuthorizationsID" >}}
89+
{{< api-endpoint method="PATCH" endpoint="http://localhost:8086/api/v2/authorizations/AUTH_ID" api-ref="/influxdb/version/api/#operation/PatchAuthorizationsID" >}}
9090

9191
Include the following in your request:
9292

9393
| Requirement | Include by |
9494
|:----------- |:---------- |
95-
| API token with the [`write: authorizations`](/influxdb/v2/api/#operation/PostAuthorizations) permission | Use the `Authorization: Token YOUR_API_TOKEN` header. |
95+
| API token with the [`write: authorizations`](/influxdb/version/api/#operation/PostAuthorizations) permission | Use the `Authorization: Token YOUR_API_TOKEN` header. |
9696
| Authorization ID | URL path parameter. |
9797
| Description and/or Status | Pass as `description`, `status` in the request body. |
9898

content/shared/influxdb-v2/admin/tokens/use-tokens.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
Use tokens to authenticate requests to InfluxDB, including requests to write, query, and manage data and resources.
3-
Authenticate requests using the [`influx` CLI](/influxdb/v2/reference/cli/influx/), API requests made with client libraries, and tools like `curl`.
3+
Authenticate requests using the [`influx` CLI](/influxdb/version/reference/cli/influx/), API requests made with client libraries, and tools like `curl`.
44

55
### Add a token to a CLI request
66

@@ -14,19 +14,19 @@ influx write -t $INFLUX_TOKEN -b my-bucket -o my-org "measurement field=1"
1414
```
1515

1616
{{% note %}}
17-
See [here](/influxdb/v2/write-data/no-code/use-telegraf/auto-config/#configure-your-token-as-an-environment-variable)
17+
See [here](/influxdb/version/write-data/no-code/use-telegraf/auto-config/#configure-your-token-as-an-environment-variable)
1818
to configure environment variables on Windows.
1919
(Click on the **Windows** tab.)
2020
{{% /note %}}
2121

2222
### Use CLI configurations
2323

24-
Automatically manage and use tokens from the CLI using [`influx config`](/influxdb/v2/reference/cli/influx/config/).
24+
Automatically manage and use tokens from the CLI using [`influx config`](/influxdb/version/reference/cli/influx/config/).
2525

2626
### Use a token in an API request
2727

28-
Use tokens in [API requests](/influxdb/v2/api-guide/api_intro/#authentication).
28+
Use tokens in [API requests](/influxdb/version/api-guide/api_intro/#authentication).
2929

3030
### Use a token in Postman
3131

32-
Make authenticated requests with tokens [using Postman](/influxdb/v2/tools/postman/).
32+
Make authenticated requests with tokens [using Postman](/influxdb/version/tools/postman/).

content/shared/influxdb-v2/admin/tokens/view-tokens.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,28 +47,28 @@ We recommend the following for managing your tokens:
4747

4848
## View tokens using the influx CLI
4949

50-
Use the [`influx auth list` command](/influxdb/v2/reference/cli/influx/auth/list)
50+
Use the [`influx auth list` command](/influxdb/version/reference/cli/influx/auth/list)
5151
to view tokens.
5252

5353
```sh
5454
influx auth list
5555
```
5656

5757
Filtering options such as filtering by authorization ID, username, or user ID are available.
58-
See the [`influx auth list` documentation](/influxdb/v2/reference/cli/influx/auth/list)
58+
See the [`influx auth list` documentation](/influxdb/version/reference/cli/influx/auth/list)
5959
for information about other available flags.
6060

6161
## View tokens using the InfluxDB API
6262

6363
Use the `/api/v2/authorizations` InfluxDB API endpoint to view tokens and permissions.
6464

65-
{{< api-endpoint method="GET" endpoint="/api/v2/authorizations" api-ref="/influxdb/v2/api/#operation/GetAuthorizations" >}}
65+
{{< api-endpoint method="GET" endpoint="/api/v2/authorizations" api-ref="/influxdb/version/api/#operation/GetAuthorizations" >}}
6666

6767
Include the following in your request:
6868

6969
| Requirement | Include by |
7070
|:----------- |:---------- |
71-
| API token with the [`read: authorizations`](/influxdb/v2/api/#operation/PostAuthorizations) permission | Use the `Authorization: Token YOUR_API_TOKEN` header. |
71+
| API token with the [`read: authorizations`](/influxdb/version/api/#operation/PostAuthorizations) permission | Use the `Authorization: Token YOUR_API_TOKEN` header. |
7272

7373
```sh
7474
{{% get-shared-text "api/v2.0/auth/oss/tokens-view.sh" %}}
@@ -78,7 +78,7 @@ Include the following in your request:
7878

7979
To view a specific authorization and token, include the authorization ID in the URL path.
8080

81-
{{% api-endpoint method="GET" endpoint="/api/v2/authorizations/{authID}" api-ref="/influxdb/v2/api/#operation/GetAuthorizationsID" %}}
81+
{{% api-endpoint method="GET" endpoint="/api/v2/authorizations/{authID}" api-ref="/influxdb/version/api/#operation/GetAuthorizationsID" %}}
8282

8383
### Filter the token list
8484

@@ -91,9 +91,9 @@ To filter tokens by user, include `userID` as a query parameter in your request.
9191

9292
{{% show-in "v2" %}}
9393

94-
[***Operator tokens***](/influxdb/v2/admin/tokens/#operator-token) have access to all organizations' authorizations.
94+
[***Operator tokens***](/influxdb/version/admin/tokens/#operator-token) have access to all organizations' authorizations.
9595
To filter authorizations by organization when using an operator token, include an `org` or `orgID` query parameter in your request.
9696

9797
{{% /show-in %}}
9898

99-
See the [`/authorizations` endpoint documentation](/influxdb/v2/api/#tag/Authorizations-(API-tokens)) for more information about available parameters.
99+
See the [`/authorizations` endpoint documentation](/influxdb/version/api/#tag/Authorizations-(API-tokens)) for more information about available parameters.

content/shared/influxdb-v2/api-guide/api_intro.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11

2-
InfluxDB offers a rich API and [client libraries](/influxdb/v2/api-guide/client-libraries) ready to integrate with your application. Use popular tools like Curl and [Postman](/influxdb/v2/api-guide/postman) for rapidly testing API requests.
2+
InfluxDB offers a rich API and [client libraries](/influxdb/version/api-guide/client-libraries) ready to integrate with your application. Use popular tools like Curl and [Postman](/influxdb/version/api-guide/postman) for rapidly testing API requests.
33

44
This section guides you through the most commonly used API methods.
55

6-
For detailed documentation on the entire API, see the [InfluxDB v2 API Reference](/influxdb/v2/reference/api/#influxdb-v2-api-documentation).
6+
For detailed documentation on the entire API, see the [InfluxDB v2 API Reference](/influxdb/version/reference/api/#influxdb-v2-api-documentation).
77

88
{{% note %}}
9-
If you need to use InfluxDB {{< current-version >}} with **InfluxDB 1.x** API clients and integrations, see the [1.x compatibility API](/influxdb/v2/reference/api/#influxdb-v1-compatibility-api-reference-documentation).
9+
If you need to use InfluxDB {{< current-version >}} with **InfluxDB 1.x** API clients and integrations, see the [1.x compatibility API](/influxdb/version/reference/api/#influxdb-v1-compatibility-api-reference-documentation).
1010
{{% /note %}}
1111

1212
## Bootstrap your application
1313

1414
With most API requests, you'll need to provide a minimum of your InfluxDB URL and Authorization Token (API Token).
1515

16-
[Install InfluxDB OSS v2.x](/influxdb/v2/install/) or upgrade to
16+
[Install InfluxDB OSS v2.x](/influxdb/version/install/) or upgrade to
1717
an [InfluxDB Cloud account](/influxdb/cloud/sign-up).
1818

1919
### Authentication
2020

21-
InfluxDB uses [API tokens](/influxdb/v2/admin/tokens/) to authorize API requests.
21+
InfluxDB uses [API tokens](/influxdb/version/admin/tokens/) to authorize API requests.
2222

2323
1. Before exploring the API, use the InfluxDB UI to
24-
[create an initial API token](/influxdb/v2/admin/tokens/create-token/) for your application.
24+
[create an initial API token](/influxdb/version/admin/tokens/create-token/) for your application.
2525

2626
2. Include your API token in an `Authorization: Token YOUR_API_TOKEN` HTTP header with each request.
2727

@@ -42,21 +42,21 @@ InfluxDB uses [API tokens](/influxdb/v2/admin/tokens/) to authorize API requests
4242
{{% /code-tab-content %}}
4343
{{< /code-tabs-wrapper >}}
4444

45-
Postman is another popular tool for exploring APIs. See how to [send authenticated requests with Postman](/influxdb/v2/tools/postman/#send-authenticated-api-requests-with-postman).
45+
Postman is another popular tool for exploring APIs. See how to [send authenticated requests with Postman](/influxdb/version/tools/postman/#send-authenticated-api-requests-with-postman).
4646

4747
## Buckets API
4848

4949
Before writing data you'll need to create a Bucket in InfluxDB.
50-
[Create a bucket](/influxdb/v2/admin/buckets/create-bucket/#create-a-bucket-using-the-influxdb-api) using an HTTP request to the InfluxDB API `/buckets` endpoint.
50+
[Create a bucket](/influxdb/version/admin/buckets/create-bucket/#create-a-bucket-using-the-influxdb-api) using an HTTP request to the InfluxDB API `/buckets` endpoint.
5151

5252
```sh
5353
{{% get-shared-text "api/v2.0/buckets/oss/create.sh" %}}
5454
```
5555

5656
## Write API
5757

58-
[Write data to InfluxDB](/influxdb/v2/write-data/developer-tools/api/) using an HTTP request to the InfluxDB API `/api/v2/write` endpoint.
58+
[Write data to InfluxDB](/influxdb/version/write-data/developer-tools/api/) using an HTTP request to the InfluxDB API `/api/v2/write` endpoint.
5959

6060
## Query API
6161

62-
[Query from InfluxDB](/influxdb/v2/query-data/execute-queries/influx-api/) using an HTTP request to the `/api/v2/query` endpoint.
62+
[Query from InfluxDB](/influxdb/version/query-data/execute-queries/influx-api/) using an HTTP request to the `/api/v2/query` endpoint.

content/shared/influxdb-v2/api-guide/client-libraries/browserjs.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Use the [InfluxDB JavaScript client library](https://github.com/influxdata/influ
55
* Bundled UMD
66

77
This guide presumes some familiarity with JavaScript, browser environments, and InfluxDB.
8-
If you're just getting started with InfluxDB, see [Get started with InfluxDB](/influxdb/v2/get-started/).
8+
If you're just getting started with InfluxDB, see [Get started with InfluxDB](/influxdb/version/get-started/).
99

1010
{{% warn %}}
1111
### Tokens in production applications
@@ -22,12 +22,12 @@ If you're just getting started with InfluxDB, see [Get started with InfluxDB](/i
2222
1. Install [Node.js](https://nodejs.org/en/download/package-manager/) to serve your front-end app.
2323

2424
2. Ensure that InfluxDB is running and you can connect to it.
25-
For information about what URL to use to connect to InfluxDB OSS or InfluxDB Cloud, see [InfluxDB URLs](/influxdb/v2/reference/urls/).
25+
For information about what URL to use to connect to InfluxDB OSS or InfluxDB Cloud, see [InfluxDB URLs](/influxdb/version/reference/urls/).
2626

2727
## Use with module bundlers
2828

2929
If you use a module bundler like Webpack or Parcel, install `@influxdata/influxdb-client-browser`.
30-
For more information and examples, see [Node.js](/influxdb/v2/api-guide/client-libraries/nodejs/).
30+
For more information and examples, see [Node.js](/influxdb/version/api-guide/client-libraries/nodejs/).
3131

3232
## Use bundled distributions with browsers and module loaders
3333

@@ -72,7 +72,7 @@ For more information and examples, see [Node.js](/influxdb/v2/api-guide/client-l
7272
{{% /code-tab-content %}}
7373
{{< /code-tabs-wrapper >}}
7474

75-
After you've imported the client library, you're ready to [write data](/influxdb/v2/api-guide/client-libraries/nodejs/write/?t=nodejs) to InfluxDB.
75+
After you've imported the client library, you're ready to [write data](/influxdb/version/api-guide/client-libraries/nodejs/write/?t=nodejs) to InfluxDB.
7676

7777
## Get started with the example app
7878

@@ -85,7 +85,7 @@ This library includes an example browser app that queries from and writes to you
8585
cd examples
8686
```
8787

88-
3. Update `./env_browser.js` with your InfluxDB [url](/influxdb/v2/reference/urls/), [bucket](/influxdb/v2/admin/buckets/), [organization](/influxdb/v2/admin/organizations/), and [token](/influxdb/v2/admin/tokens/)
88+
3. Update `./env_browser.js` with your InfluxDB [url](/influxdb/version/reference/urls/), [bucket](/influxdb/version/admin/buckets/), [organization](/influxdb/version/admin/organizations/), and [token](/influxdb/version/admin/tokens/)
8989

9090
4. Run the following command to start the application at [http://localhost:3001/examples/index.html]()
9191

0 commit comments

Comments
 (0)