-
Couldn't load subscription status.
- Fork 315
Open
Milestone
Description
Description
Update the /api/v3/write_lp precision parameter documentation to include additional short-form values that are supported in the latest Enterprise build but not yet released in Core/Enterprise.
Additional precision short forms to document
As of the latest Enterprise build, the following additional short forms are supported:
u(in addition tous) for microsecond precisionn(in addition tons) for nanosecond precision
Reference code from influxdb3_types/src/write.rs:
match precision {
"auto" => Self::Auto,
"s" | "second" => Self::Second,
"ms" | "millisecond" => Self::Millisecond,
"us" | "u" | "microsecond" => Self::Microsecond,
"ns" | "n" | "nanosecond" => Self::Nanosecond,
_ => return Err(format!("unrecognized precision unit: {precision}")),
}Files to update
-
content/shared/influxdb3-write-guides/http-api/v3-write-lp.md- Add
uandnto the precision values list - Update examples if needed
- Add
-
api-docs/influxdb3/core/v3/ref.yml- Add
uandnto thePrecisionWriteschema enum - Update description to list both forms
- Add
-
api-docs/influxdb3/enterprise/v3/ref.yml- Add
uandnto thePrecisionWriteschema enum - Update description to list both forms
- Add
When to update
Wait until the next Core/Enterprise release that includes this change. The feature is currently in the Enterprise latest build but not yet in a stable release.
Related
- Related to precision parameter documentation added in commit 402451c