Skip to content

Commit fe64c45

Browse files
pquentingithub-actions[bot]
authored andcommitted
Update rest-api-spec
1 parent f9b7f85 commit fe64c45

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed

output/schema/validation-errors.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
{
2-
"endpointErrors": {},
2+
"endpointErrors": {
3+
"cat.segments": {
4+
"request": [
5+
"Request: missing json spec query parameter 'ignore_unavailable'",
6+
"Request: missing json spec query parameter 'ignore_throttled'",
7+
"Request: missing json spec query parameter 'allow_no_indices'",
8+
"Request: missing json spec query parameter 'expand_wildcards'",
9+
"Request: missing json spec query parameter 'allow_closed'"
10+
],
11+
"response": []
12+
}
13+
},
314
"generalErrors": [
415
"Dangling type '_global.scripts_painless_execute:PainlessExecutionPosition'",
516
"Dangling type '_global.scripts_painless_execute:PainlessScript'",

specification/_json_spec/cat.segments.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,29 @@
6262
"type": "boolean",
6363
"description": "Verbose mode. Display column headers",
6464
"default": false
65+
},
66+
"ignore_unavailable": {
67+
"type": "boolean",
68+
"description": "Whether specified concrete indices should be ignored when unavailable (missing or closed). Only allowed when providing an index expression."
69+
},
70+
"ignore_throttled": {
71+
"type": "boolean",
72+
"description": "Whether specified concrete, expanded or aliased indices should be ignored when throttled. Only allowed when providing an index expression."
73+
},
74+
"allow_no_indices": {
75+
"type": "boolean",
76+
"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."
77+
},
78+
"expand_wildcards": {
79+
"type": "enum",
80+
"options": ["open", "closed", "hidden", "none", "all"],
81+
"default": "open",
82+
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."
83+
},
84+
"allow_closed": {
85+
"type": "boolean",
86+
"description": "If true, allow closed indices to be returned in the response otherwise if false, keep the legacy behaviour of throwing an exception if index pattern matches closed indices",
87+
"default": false
6588
}
6689
}
6790
}

0 commit comments

Comments
 (0)