Skip to content

Commit b6f4a30

Browse files
authored
Add external docs link from Duration to time unit API conventions (#5409) (#5429)
(cherry picked from commit 21acd77)
1 parent 9b741ca commit b6f4a30

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
@@ -889,6 +889,7 @@ templating-role-query,https://www.elastic.co/docs/deploy-manage/users-roles/clus
889889
term-vectors-examples,https://www.elastic.co/docs/reference/elasticsearch/rest-apis/term-vectors-examples,,
890890
terminate-processor,https://www.elastic.co/docs/reference/enrich-processor/terminate-processor,,
891891
test-grok-pattern,https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-text-structure-test-grok-pattern,https://www.elastic.co/guide/en/elasticsearch/reference/8.18/test-grok-pattern.html,
892+
time-units,https://www.elastic.co/docs/reference/elasticsearch/rest-apis/api-conventions#time-units,,Time units
892893
time-value,https://github.com/elastic/elasticsearch/blob/current/libs/core/src/main/java/org/elasticsearch/core/TimeValue.java,,
893894
time-zone-id,https://docs.oracle.com/javase/8/docs/api/java/time/ZoneId.html,,
894895
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)