You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-1Lines changed: 16 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@
10
10
11
11
This repository contains the reference C# client for the InfluxDB 2.0.
12
12
13
-
#### Note: Use this client library with InfluxDB 2.x and InfluxDB 1.8+. For connecting to InfluxDB 1.7 or earlier instances, use the [influxdb-csharp](https://github.com/influxdata/influxdb-csharp) client library.
13
+
#### Note: Use this client library with InfluxDB 2.x and InfluxDB 1.8+ ([see details](#influxdb-18-api-compatibility)). For connecting to InfluxDB 1.7 or earlier instances, use the [influxdb-csharp](https://github.com/influxdata/influxdb-csharp) client library.
14
14
15
15
-[Features](#features)
16
16
-[Documentation](#documentation)
@@ -213,6 +213,21 @@ namespace Examples
213
213
}
214
214
```
215
215
216
+
### InfluxDB 1.8 API compatibility
217
+
218
+
[InfluxDB 1.8.0 introduced forward compatibility APIs](https://docs.influxdata.com/influxdb/latest/tools/api/#influxdb-2-0-api-compatibility-endpoints) for InfluxDB 2.0. This allow you to easily move from InfluxDB 1.x to InfluxDB 2.0 Cloud or open source.
219
+
220
+
The following forward compatible APIs are available:
221
+
222
+
| API | Endpoint | Description |
223
+
|:----------|:----------|:----------|
224
+
|[QueryApi.cs](Client/QueryApi.cs)|[/api/v2/query](https://docs.influxdata.com/influxdb/latest/tools/api/#api-v2-query-http-endpoint)| Query data in InfluxDB 1.8.0+ using the InfluxDB 2.0 API and [Flux](https://docs.influxdata.com/flux/latest/)_(endpoint should be enabled by [`flux-enabled` option](https://docs.influxdata.com/influxdb/latest/administration/config/#flux-enabled-false))_|
225
+
|[WriteApi.cs](Client/WriteApi.cs)|[/api/v2/write](https://docs.influxdata.com/influxdb/latest/tools/api/#api-v2-write-http-endpoint)| Write data to InfluxDB 1.8.0+ using the InfluxDB 2.0 API |
226
+
|[HealthAsync](Client/InfluxDBClient.cs#L362)|[/health](https://docs.influxdata.com/influxdb/latest/tools/api/#health-http-endpoint)| Check the health of your InfluxDB instance |
227
+
228
+
For detail info see [InfluxDB 1.8 example](Examples/InfluxDB18Example.cs).
229
+
230
+
216
231
### Flux queries in InfluxDB 1.7+
217
232
218
233
The following example demonstrates querying using the Flux language.
0 commit comments