Skip to content

Commit 3057b74

Browse files
authored
Add external docs link from Duration to time unit API conventions (#5409) (#5430)
(cherry picked from commit 21acd77)
1 parent 395146f commit 3057b74

File tree

5 files changed

+14
-4
lines changed

5 files changed

+14
-4
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 6 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_doc_ids/table.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -888,6 +888,7 @@ tasks,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/tasks.htm
888888
templating-role-query,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/field-and-document-access-control.html#templating-role-query,,
889889
terminate-processor,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/terminate-processor.html,,
890890
test-grok-pattern,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/test-grok-pattern.html,,
891+
time-units,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/api-conventions.html#time-units,,Time units
891892
time-value,https://github.com/elastic/elasticsearch/blob/{branch}/libs/core/src/main/java/org/elasticsearch/core/TimeValue.java,,
892893
time-zone-id,https://docs.oracle.com/javase/8/docs/api/java/time/ZoneId.html,,
893894
transform-set-upgrade-mode,https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-transform-set-upgrade-mode,https://www.elastic.co/guide/en/elasticsearch/reference/8.18/transform-set-upgrade-mode.html,

specification/_types/Time.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export type DateFormat = string
5353
* A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and
5454
* `d` (days). Also accepts "0" without a unit and "-1" to indicate an unspecified value.
5555
* @doc_id time-value
56+
* @ext_doc_id time-units
5657
*/
5758
// Used to be Time, see ES TimeValue
5859
export type Duration = string | -1 | 0

0 commit comments

Comments
 (0)