|
7 | 7 |
|
8 | 8 | This documentation is generated from the
|
9 | 9 | InfluxDB OpenAPI specification.
|
| 10 | + version: '' |
10 | 11 | license:
|
11 | 12 | name: MIT
|
12 | 13 | url: https://opensource.org/licenses/MIT
|
13 |
| - version: '' |
14 | 14 | contact:
|
15 | 15 | name: InfluxData
|
16 | 16 | url: https://www.influxdata.com
|
|
31 | 31 | - name: Authentication
|
32 | 32 | x-traitTag: true
|
33 | 33 | description: |
|
34 |
| - The InfluxDB Management API endpoints require the following credentials: |
| 34 | + With InfluxDB 3 Cloud Dedicated, the InfluxDB Management API endpoints require the following credentials: |
35 | 35 |
|
36 | 36 | - `ACCOUNT_ID`: The ID of the [account](/influxdb3/cloud-dedicated/get-started/setup/#request-an-influxdb-cloud-dedicated-cluster) that the cluster belongs to. To view account ID and cluster ID, [list cluster details](/influxdb3/cloud-dedicated/admin/clusters/list/#detailed-output-in-json).
|
37 | 37 | - `CLUSTER_ID`: The ID of the [cluster](/influxdb3/cloud-dedicated/get-started/setup/#request-an-influxdb-cloud-dedicated-cluster) that you want to manage. To view account ID and cluster ID, [list cluster details](/influxdb3/cloud-dedicated/admin/clusters/list/#detailed-output-in-json).
|
|
45 | 45 | description: Manage database read/write tokens for a cluster
|
46 | 46 | - name: Databases
|
47 | 47 | description: Manage databases for a cluster
|
48 |
| - - name: Example |
| 48 | + - name: Quickstart |
49 | 49 | x-traitTag: true
|
50 | 50 | description: |
|
51 | 51 | The following example script shows how to use `curl` to make database and token management requests:
|
@@ -630,7 +630,7 @@ paths:
|
630 | 630 | maxTables: 300
|
631 | 631 | maxColumnsPerTable: 150
|
632 | 632 | retentionPeriod: 600000000000
|
633 |
| - maxTablsOnly: |
| 633 | + maxTablesOnly: |
634 | 634 | summary: Update Max Tables Only
|
635 | 635 | value:
|
636 | 636 | maxTables: 300
|
@@ -681,7 +681,7 @@ paths:
|
681 | 681 | maxTables: 300
|
682 | 682 | maxColumnsPerTable: 150
|
683 | 683 | retentionPeriod: 600000000000
|
684 |
| - maxTablsOnly: |
| 684 | + maxTablesOnly: |
685 | 685 | summary: Update Max Tables Only
|
686 | 686 | value:
|
687 | 687 | accountId: 11111111-1111-4111-8111-111111111111
|
@@ -975,6 +975,10 @@ paths:
|
975 | 975 | $ref: '#/components/schemas/DatabaseTokenPermissions'
|
976 | 976 | createdAt:
|
977 | 977 | $ref: '#/components/schemas/DatabaseTokenCreatedAt'
|
| 978 | + expiresAt: |
| 979 | + $ref: '#/components/schemas/DatabaseTokenExpiresAt' |
| 980 | + revokedAt: |
| 981 | + $ref: '#/components/schemas/DatabaseTokenRevokedAt' |
978 | 982 | required:
|
979 | 983 | - accountId
|
980 | 984 | - clusterId
|
@@ -1078,6 +1082,8 @@ paths:
|
1078 | 1082 | $ref: '#/components/schemas/DatabaseTokenDescription'
|
1079 | 1083 | permissions:
|
1080 | 1084 | $ref: '#/components/schemas/DatabaseTokenPermissions'
|
| 1085 | + expiresAt: |
| 1086 | + $ref: '#/components/schemas/DatabaseTokenExpiresAt' |
1081 | 1087 | required:
|
1082 | 1088 | - description
|
1083 | 1089 | examples:
|
@@ -1127,6 +1133,10 @@ paths:
|
1127 | 1133 | $ref: '#/components/schemas/DatabaseTokenCreatedAt'
|
1128 | 1134 | accessToken:
|
1129 | 1135 | $ref: '#/components/schemas/DatabaseTokenAccessToken'
|
| 1136 | + expiresAt: |
| 1137 | + $ref: '#/components/schemas/DatabaseTokenExpiresAt' |
| 1138 | + revokedAt: |
| 1139 | + $ref: '#/components/schemas/DatabaseTokenRevokedAt' |
1130 | 1140 | required:
|
1131 | 1141 | - accountId
|
1132 | 1142 | - clusterId
|
@@ -1270,6 +1280,10 @@ paths:
|
1270 | 1280 | $ref: '#/components/schemas/DatabaseTokenPermissions'
|
1271 | 1281 | createdAt:
|
1272 | 1282 | $ref: '#/components/schemas/DatabaseTokenCreatedAt'
|
| 1283 | + expiresAt: |
| 1284 | + $ref: '#/components/schemas/DatabaseTokenExpiresAt' |
| 1285 | + revokedAt: |
| 1286 | + $ref: '#/components/schemas/DatabaseTokenRevokedAt' |
1273 | 1287 | required:
|
1274 | 1288 | - accountId
|
1275 | 1289 | - clusterId
|
@@ -1427,6 +1441,10 @@ paths:
|
1427 | 1441 | $ref: '#/components/schemas/DatabaseTokenPermissions'
|
1428 | 1442 | createdAt:
|
1429 | 1443 | $ref: '#/components/schemas/DatabaseTokenCreatedAt'
|
| 1444 | + expiresAt: |
| 1445 | + $ref: '#/components/schemas/DatabaseTokenExpiresAt' |
| 1446 | + revokedAt: |
| 1447 | + $ref: '#/components/schemas/DatabaseTokenRevokedAt' |
1430 | 1448 | required:
|
1431 | 1449 | - accountId
|
1432 | 1450 | - clusterId
|
@@ -1876,6 +1894,18 @@ components:
|
1876 | 1894 | examples:
|
1877 | 1895 | - '2023-12-21T17:32:28.000Z'
|
1878 | 1896 | - '2024-03-02T04:20:19.000Z'
|
| 1897 | + DatabaseTokenExpiresAt: |
| 1898 | + description: | |
| 1899 | + The date and time that the database token expires, if applicable |
| 1900 | +
|
| 1901 | + Uses RFC3339 format |
| 1902 | + $ref: '#/components/schemas/DateTimeRfc3339' |
| 1903 | + DatabaseTokenRevokedAt: |
| 1904 | + description: | |
| 1905 | + The date and time that the database token was revoked, if applicable |
| 1906 | +
|
| 1907 | + Uses RFC3339 format |
| 1908 | + $ref: '#/components/schemas/DateTimeRfc3339' |
1879 | 1909 | DatabaseTokenAccessToken:
|
1880 | 1910 | description: |
|
1881 | 1911 | The access token that can be used to authenticate query and write requests to the cluster
|
@@ -1986,7 +2016,7 @@ x-tagGroups:
|
1986 | 2016 | - name: Using the Management API
|
1987 | 2017 | tags:
|
1988 | 2018 | - Authentication
|
1989 |
| - - Examples |
| 2019 | + - Quickstart |
1990 | 2020 | - name: All endpoints
|
1991 | 2021 | tags:
|
1992 | 2022 | - Database tokens
|
|
0 commit comments