diff --git a/content/shared/influxdb3-sample-data/sample-data.md b/content/shared/influxdb3-sample-data/sample-data.md index 8d97a6881..b6844427b 100644 --- a/content/shared/influxdb3-sample-data/sample-data.md +++ b/content/shared/influxdb3-sample-data/sample-data.md @@ -271,7 +271,7 @@ home sensor actions sample data to {{< product-name >}}. {{< code-tabs-wrapper >}} {{% code-tabs %}} [influxdb3](#) -[V3 API](#) +[v3 API](#) [v2 API](#) [v1 API](#) {{% /code-tabs %}} @@ -412,12 +412,13 @@ series use cases that involve seasonality. #### Write the NOAA Bay Area weather data to InfluxDB -Use the `influxdb3` CLI, InfluxDB v2 API, or InfluxDB v1 API to write the +Use the `influxdb3` CLI, InfluxDb v3 API, InfluxDB v2 API, or InfluxDB v1 API to write the NOAA Bay Area weather sample data to {{< product-name >}}. {{< code-tabs-wrapper >}} {{% code-tabs %}} [influxdb3](#) +[v3 API](#) [v2 API](#) [v1 API](#) {{% /code-tabs %}} @@ -432,6 +433,16 @@ influxdb3 write \ ``` {{% /code-placeholders %}} +{{% /code-tabs %}} +{{% code-tab-content %}} + +{{% code-placeholders "AUTH_TOKEN|DATABASE_NAME" %}} +```sh +curl -v "http://localhost:8181/api/v3/write_lp?db=sensors&precision=auto&accept_partial=false" \ + --data-raw "$(curl --request GET https://docs.influxdata.com/downloads/bay-area-weather.lp)" +``` +{{% /code-placeholders %}} + {{% /code-tab-content %}} {{% code-tab-content %}}