Skip to content

Commit 088735b

Browse files
peterbarnett03jstirnaman
authored andcommitted
fix: updating API write endpoint
1 parent 32d455a commit 088735b

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

content/shared/v3-core-get-started/_index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -233,17 +233,17 @@ This means that individual write requests may not complete quickly, but you can
233233
234234
The database has three write API endpoints that respond to HTTP `POST` requests:
235235
236-
* `/write?db=mydb,precision=ns`
237-
* `/api/v2/write?db=mydb,precision=ns`
238-
* `/api/v3/write?db=mydb,precision=ns`
236+
* `/write_lp?db=mydb,precision=ns`
237+
* `/api/v2/write_lp?db=mydb,precision=ns`
238+
* `/api/v3/write_lp?db=mydb,precision=ns`
239239
240-
{{% product-name %}} provides the `/write` and `/api/v2` endpoints for backward compatibility with clients that can write data to previous versions of InfluxDB.
240+
{{% product-name %}} provides the `/write_lp` and `/api/v2` endpoints for backward compatibility with clients that can write data to previous versions of InfluxDB.
241241
However, these APIs differ from the APIs in the previous versions in the following ways:
242242
243243
- Tags in a table (measurement) are _immutable_
244244
- A tag and a field can't have the same name within a table.
245245
246-
The `/api/v3/write` endpoint accepts the same line protocol syntax as previous versions, and brings new functionality that lets you accept or reject partial writes using the `accept_partial` parameter (`true` is default).
246+
The `/api/v3/write_lp` endpoint accepts the same line protocol syntax as previous versions, and brings new functionality that lets you accept or reject partial writes using the `accept_partial` parameter (`true` is default).
247247
248248
The following code block is an example of [line protocol](/influxdb3/core/reference/syntax/line-protocol/), which shows the table name followed by tags, which are an ordered, comma-separated list of key/value pairs where the values are strings, followed by a comma-separated list of key/value pairs that are the fields, and ending with an optional timestamp. The timestamp by default is a nanosecond epoch, but you can specify a different precision through the `precision` query parameter.
249249

content/shared/v3-enterprise-get-started/_index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -222,17 +222,17 @@ This means that individual write requests may not complete quickly, but you can
222222
223223
The database has three write API endpoints that respond to HTTP `POST` requests:
224224
225-
* `/write?db=mydb,precision=ns`
226-
* `/api/v2/write?db=mydb,precision=ns`
227-
* `/api/v3/write?db=mydb,precision=ns`
225+
* `/write_lp?db=mydb,precision=ns`
226+
* `/api/v2/write_lp?db=mydb,precision=ns`
227+
* `/api/v3/write_lp?db=mydb,precision=ns`
228228
229-
{{% product-name %}} provides the `/write` and `/api/v2` endpoints for backward compatibility with clients that can write data to previous versions of InfluxDB.
229+
{{% product-name %}} provides the `/write_lp` and `/api/v2` endpoints for backward compatibility with clients that can write data to previous versions of InfluxDB.
230230
However, these APIs differ from the APIs in the previous versions in the following ways:
231231
232232
- Tags in a table (measurement) are _immutable_
233233
- A tag and a field can't have the same name within a table.
234234
235-
The `/api/v3/write` endpoint accepts the same line protocol syntax as previous versions, and brings new functionality that lets you accept or reject partial writes using the `accept_partial` parameter (`true` is default).
235+
The `/api/v3/write_lp` endpoint accepts the same line protocol syntax as previous versions, and brings new functionality that lets you accept or reject partial writes using the `accept_partial` parameter (`true` is default).
236236
237237
The following code block is an example of [line protocol](/influxdb3/enterprise/reference/syntax/line-protocol/), which shows the table name followed by tags, which are an ordered, comma-separated list of key/value pairs where the values are strings, followed by a comma-separated list of key/value pairs that are the fields, and ending with an optional timestamp. The timestamp by default is a nanosecond epoch, but you can specify a different precision through the `precision` query parameter.
238238

0 commit comments

Comments
 (0)