Skip to content

Commit 34e5e88

Browse files
lcawlgithub-actions[bot]
authored andcommitted
Add external docs link from Duration to time unit API conventions (#5409)
(cherry picked from commit 21acd77)
1 parent 43aee24 commit 34e5e88

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