From fb0f0c0cfd8ab0b62bc92bc8551e98f6a68e5282 Mon Sep 17 00:00:00 2001 From: pierwill <19642016+pierwill@users.noreply.github.com> Date: Fri, 4 Dec 2020 15:59:01 -0800 Subject: [PATCH] Add Working with the API page (#1943) --- content/influxdb/cloud/tools/api/_index.md | 12 +++++++++ content/influxdb/v2.0/tools/api/_index.md | 29 ++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 content/influxdb/cloud/tools/api/_index.md create mode 100644 content/influxdb/v2.0/tools/api/_index.md diff --git a/content/influxdb/cloud/tools/api/_index.md b/content/influxdb/cloud/tools/api/_index.md new file mode 100644 index 000000000..b82cd2778 --- /dev/null +++ b/content/influxdb/cloud/tools/api/_index.md @@ -0,0 +1,12 @@ +--- +title: Working with the InfluxDB API +seotitle: Use the InfluxDB API +description: Interact with InfluxDB using a rich API for writing and querying data and more. +weight: 103 +menu: + influxdb_cloud: + name: Working with the API + parent: Tools & integrations +--- + +{{< duplicate-oss >}} diff --git a/content/influxdb/v2.0/tools/api/_index.md b/content/influxdb/v2.0/tools/api/_index.md new file mode 100644 index 000000000..9d90fc6ec --- /dev/null +++ b/content/influxdb/v2.0/tools/api/_index.md @@ -0,0 +1,29 @@ +--- +title: Working with the InfluxDB API +seotitle: Use the InfluxDB API +description: Interact with InfluxDB 2.0 using a rich API for writing and querying data and more. +weight: 103 +menu: + influxdb_2_0: + name: Working with the API + parent: Tools & integrations +--- + +InfluxDB offers a rich API that you can use to create applications. +The following pages offer general guides to the most commonly used API methods. + +For detailed documentation on the entire API, see [InfluxDBv2 API Documentation](/influxdb/v2.0/reference/api/#influxdb-v2-api-documentation). + +{{% note %}} +If you are interacting with InfluxDB 1.x, see the [1.x compatibility API](/influxdb/v2.0/reference/api/influxdb-1x/). +{{% /note %}} + +Use the following API endpoints to write and query data: + +## Write API + +[Write data to InfluxDB](/influxdb/v2.0/write-data/developer-tools/api/) using an HTTP request to the InfluxDB API `/write` endpoint. + +## Query API + +[Query from InfluxDB](/influxdb/v2.0/query-data/execute-queries/influx-api/) using an HTTP request to the `/query` endpoint.