Skip to content

Commit 1ee3ff2

Browse files
Update rest-api-spec (#4976)
Co-authored-by: pquentin <42327+pquentin@users.noreply.github.com>
1 parent 1c7f1f2 commit 1ee3ff2

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

output/schema/validation-errors.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,6 @@
66
],
77
"response": []
88
},
9-
"indices.recovery": {
10-
"request": [
11-
"Request: query parameter 'allow_no_indices' does not exist in the json spec",
12-
"Request: query parameter 'expand_wildcards' does not exist in the json spec",
13-
"Request: query parameter 'ignore_unavailable' does not exist in the json spec"
14-
],
15-
"response": []
16-
},
179
"msearch": {
1810
"request": [
1911
"Request: query parameter 'allow_no_indices' does not exist in the json spec",

specification/_json_spec/indices.recovery.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,22 @@
3737
"type": "boolean",
3838
"description": "Display only those recoveries that are currently on-going",
3939
"default": false
40+
},
41+
"ignore_unavailable": {
42+
"type": "boolean",
43+
"description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)",
44+
"default": false
45+
},
46+
"allow_no_indices": {
47+
"type": "boolean",
48+
"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)",
49+
"default": true
50+
},
51+
"expand_wildcards": {
52+
"type": "enum",
53+
"options": ["open", "closed", "hidden", "none", "all"],
54+
"default": "open",
55+
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."
4056
}
4157
}
4258
}

0 commit comments

Comments
 (0)