Skip to content

Commit 64c74f7

Browse files
Update rest-api-spec (#5616)
Co-authored-by: pquentin <[email protected]>
1 parent 4d0eb81 commit 64c74f7

38 files changed

+221
-8
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_json_spec/cat.segments.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,17 @@
7474
},
7575
"ignore_unavailable": {
7676
"type": "boolean",
77+
"default": false,
7778
"description": "Whether specified concrete indices should be ignored when unavailable (missing or closed). Only allowed when providing an index expression."
7879
},
7980
"ignore_throttled": {
8081
"type": "boolean",
82+
"default": false,
8183
"description": "Whether specified concrete, expanded or aliased indices should be ignored when throttled. Only allowed when providing an index expression."
8284
},
8385
"allow_no_indices": {
8486
"type": "boolean",
87+
"default": true,
8588
"description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified). Only allowed when providing an index expression."
8689
},
8790
"expand_wildcards": {

specification/_json_spec/esql.get_query.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"esql.get_query": {
33
"documentation": {
4-
"url": null,
4+
"url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-esql-get-query",
55
"description": "Get a specific running ES|QL query information"
66
},
77
"stability": "experimental",

specification/_json_spec/esql.list_queries.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"esql.list_queries": {
33
"documentation": {
4-
"url": null,
4+
"url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-esql-list-queries",
55
"description": "Get running ES|QL queries information"
66
},
77
"stability": "experimental",

specification/_json_spec/indices.data_streams_stats.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@
2626
}
2727
}
2828
]
29+
},
30+
"params": {
31+
"expand_wildcards": {
32+
"type": "list",
33+
"description": "Whether to expand wildcard expressions to concrete data stream names that are open, closed or both.",
34+
"default": "open,closed",
35+
"options": ["all", "closed", "hidden", "none", "open"]
36+
}
2937
}
3038
}
3139
}

specification/_json_spec/indices.resolve_index.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
"mode": {
4444
"type": "enum",
4545
"options": ["standard", "time_series", "logsdb", "lookup"],
46-
"default": "",
4746
"description": "Filter indices by index mode. Comma-separated list of IndexMode. Empty means no filter."
4847
},
4948
"project_routing": {

specification/_json_spec/inference.chat_completion_unified.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@
2727
"body": {
2828
"description": "The inference payload",
2929
"required": true
30+
},
31+
"params": {
32+
"timeout": {
33+
"type": "time",
34+
"description": "Specifies the amount of time to wait for the inference request to complete.",
35+
"default": "30s"
36+
}
3037
}
3138
}
3239
}

specification/_json_spec/inference.completion.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@
2727
"body": {
2828
"description": "The inference payload",
2929
"required": true
30+
},
31+
"params": {
32+
"timeout": {
33+
"type": "time",
34+
"description": "Specifies the amount of time to wait for the inference request to complete.",
35+
"default": "30s"
36+
}
3037
}
3138
}
3239
}

specification/_json_spec/inference.inference.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@
4141
"body": {
4242
"description": "The inference payload",
4343
"required": true
44+
},
45+
"params": {
46+
"timeout": {
47+
"type": "time",
48+
"description": "The amount of time to wait for the inference request to complete.",
49+
"default": "30s"
50+
}
4451
}
4552
}
4653
}

0 commit comments

Comments
 (0)