Skip to content

Commit 8264b61

Browse files
committed
Core: update to Random numbers sample data
1 parent aee6535 commit 8264b61

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

content/shared/influxdb3-sample-data/sample-data.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,12 +608,13 @@ transformation functions.
608608

609609
#### Write the random number sample data to InfluxDB
610610

611-
Use the `influxdb3` CLI, InfluxDB v2 API, or InfluxDB v1 API to write the
611+
Use the `influxdb3` CLI, InfluxDB v3 API, InfluxDB v2 API, or InfluxDB v1 API to write the
612612
random number sample data to {{< product-name >}}.
613613

614614
{{< code-tabs-wrapper >}}
615615
{{% code-tabs %}}
616616
[influxdb3](#)
617+
[v3 API](#)
617618
[v2 API](#)
618619
[v1 API](#)
619620
{{% /code-tabs %}}
@@ -631,6 +632,16 @@ influxdb3 write \
631632
{{% /code-tab-content %}}
632633
{{% code-tab-content %}}
633634

635+
{{% code-placeholders "AUTH_TOKEN|DATABASE_NAME" %}}
636+
```sh
637+
curl -v "http://localhost:8181/api/v3/write_lp?db=sensors&precision=auto&accept_partial=false" \
638+
--data-binary "$(curl --request GET https://docs.influxdata.com/downloads/bitcoin.lp)"
639+
```
640+
{{% /code-placeholders %}}
641+
642+
{{% /code-tab-content %}}
643+
{{% code-tab-content %}}
644+
634645
{{% code-placeholders "AUTH_TOKEN|DATABASE_NAME" %}}
635646
```sh
636647
curl --request POST \

0 commit comments

Comments
 (0)