Skip to content

Commit 07e99a7

Browse files
authored
Merge pull request #5846 from influxdata/jts/query-system-data
Query system data: use `/api/v3/query_sql` to query system and schema information
2 parents fc93609 + 99f52cb commit 07e99a7

File tree

13 files changed

+447
-7
lines changed

13 files changed

+447
-7
lines changed

content/influxdb3/core/admin/_index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ source: /shared/influxdb3-admin/_index.md
1111
---
1212

1313
<!--
14-
The content of this file is located at content/shared/influxdb3-admin/_index.md
14+
The content of this file is located at
15+
// SOURCE content/shared/influxdb3-admin/_index.md
1516
-->
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: Query system data
3+
description: |
4+
Query system tables to see data related
5+
to the server, queries, and tables in an {{% product-name %}} instance.
6+
Use the HTTP SQL query API to retrieve information about your database server
7+
and table schemas.
8+
menu:
9+
influxdb3_core:
10+
name: Query system data
11+
parent: Administer InfluxDB
12+
weight: 3
13+
influxdb3/core/tags: [query, api, system information, schemas]
14+
related:
15+
- /influxdb3/core/query-data/sql/
16+
- /influxdb3/core/query-data/execute-queries/
17+
source: /shared/influxdb3-admin/query-system-data/_index.md
18+
---
19+
20+
<!--
21+
The content of this page is at
22+
// SOURCE content/shared/influxdb3-admin/query-system-data/_index.md
23+
-->

content/influxdb3/core/get-started/_index.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,12 @@ menu:
99
influxdb3_core:
1010
name: Get started
1111
weight: 3
12+
related:
13+
- /influxdb3/core/admin/query-system-data/
1214
source: /shared/v3-core-get-started/_index.md
1315
---
1416

1517
<!--
16-
The content of this page is at /shared/v3-core-get-started/_index.md
18+
The content of this page is at
19+
// SOURCE content/shared/v3-core-get-started/_index.md
1720
-->

content/influxdb3/core/plugins.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Use the Python processing engine to trigger and execute custom code
44
menu:
55
influxdb3_core:
66
name: Processing Engine and Python Plugins
7-
weight: 2
7+
weight: 4
88
influxdb3/core/tags: []
99
source: /shared/v3-core-plugins/_index.md
1010
---
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
title: Use the InfluxDB v3 HTTP query API
3+
seotitle: Use SQL or InfluxQL and InfluxDB v3 HTTP query API
4+
list_title: Use the v3 query API
5+
description: >
6+
Use SQL or InfluxQL and the InfluxDB v3 HTTP query API to query data in {{< product-name >}}.
7+
weight: 301
8+
menu:
9+
influxdb3_core:
10+
parent: Execute queries
11+
name: Use the v3 query API
12+
influxdb3/core/tags: [query, influxql, sql, python]
13+
metadata: [InfluxQL, SQL]
14+
related:
15+
- /influxdb3/core/api-compatibility/v1/
16+
list_code_example: |
17+
```sh
18+
curl --get http://{{< influxdb/host >}}/api/v3/query_sql \
19+
--header "Authorization: Token DATABASE_TOKEN" \
20+
--data-urlencode "db=DATABASE_NAME" \
21+
--data-urlencode "q=SELECT * FROM home"
22+
```
23+
source: /shared/influxdb3-query-guides/execute-queries/influxdb3-api.md
24+
---
25+
26+
<!--
27+
The content for this page is at
28+
// SOURCE content/shared/influxdb3-query-guides/execute-queries/influxdb3-api.md
29+
-->
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: Query system data
3+
description: |
4+
Query system tables to see data related
5+
to the server, queries, and tables in an {{% product-name %}} instance.
6+
Use the HTTP SQL query API to retrieve information about your database server
7+
and table schemas.
8+
menu:
9+
influxdb3_enterprise:
10+
name: Query system data
11+
parent: Administer InfluxDB
12+
weight: 3
13+
influxdb3/enterprise/tags: [query, api, system information, schemas]
14+
related:
15+
- /influxdb3/enterprise/query-data/sql/
16+
- /influxdb3/enterprise/query-data/execute-queries/
17+
source: /shared/influxdb3-admin/query-system-data/_index.md
18+
---
19+
20+
<!--
21+
The content of this page is at
22+
// SOURCE content/shared/influxdb3-admin/query-system-data/_index.md
23+
-->

content/influxdb3/enterprise/get-started/_index.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,12 @@ menu:
99
influxdb3_enterprise:
1010
name: Get started
1111
weight: 3
12+
related:
13+
- /influxdb3/enterprise/admin/query-system-data/
1214
source: /shared/v3-enterprise-get-started/_index.md
1315
---
1416

1517
<!--
16-
The content of this page is at /shared/v3-enterprise-get-started/_index.md
18+
The content of this page is at
19+
// SOURCE content/shared/v3-core-get-started/_index.md
1720
-->

content/influxdb3/enterprise/plugins.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Use the Python processing engine to trigger and execute custom code
44
menu:
55
influxdb3_enterprise:
66
name: Processing Engine and Python Plugins
7-
weight: 2
7+
weight: 4
88
influxdb3/enterprise/tags: []
99
source: /shared/v3-core-plugins/_index.md
1010
---

content/influxdb3/enterprise/query-data/execute-queries/influxdb-v1-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ list_title: Use the v1 query API and InfluxQL
55
description: >
66
Use the InfluxDB v1 HTTP query API to query data in {{< product-name >}}
77
with InfluxQL.
8-
weight: 302
8+
weight: 303
99
menu:
1010
influxdb3_enterprise:
1111
parent: Execute queries
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
title: Use the InfluxDB v3 HTTP query API
3+
seotitle: Use SQL or InfluxQL and InfluxDB v3 HTTP query API
4+
list_title: Use the v3 query API
5+
description: >
6+
Use SQL or InfluxQL and the InfluxDB v3 HTTP query API to query data in {{< product-name >}}.
7+
weight: 301
8+
menu:
9+
influxdb3_enterprise:
10+
parent: Execute queries
11+
name: Use the v3 query API
12+
influxdb3/enterprise/tags: [query, influxql, sql, python]
13+
metadata: [InfluxQL, SQL]
14+
related:
15+
- /influxdb3/enterprise/api-compatibility/v1/
16+
list_code_example: |
17+
```sh
18+
curl --get http://{{< influxdb/host >}}/api/v3/query_sql \
19+
--header "Authorization: Token DATABASE_TOKEN" \
20+
--data-urlencode "db=DATABASE_NAME" \
21+
--data-urlencode "q=SELECT * FROM home"
22+
```
23+
source: /shared/influxdb3-query-guides/execute-queries/influxdb3-api.md
24+
---
25+
26+
<!--
27+
The content for this page is at
28+
// SOURCE content/shared/influxdb3-query-guides/execute-queries/influxdb3-api.md
29+
-->

0 commit comments

Comments
 (0)