Skip to content

Commit 774c35e

Browse files
pquentingithub-actions[bot]
authored andcommitted
Update rest-api-spec
1 parent 1f59dfe commit 774c35e

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
@@ -210,14 +210,6 @@
210210
],
211211
"response": []
212212
},
213-
"indices.recovery": {
214-
"request": [
215-
"Request: query parameter 'allow_no_indices' does not exist in the json spec",
216-
"Request: query parameter 'expand_wildcards' does not exist in the json spec",
217-
"Request: query parameter 'ignore_unavailable' does not exist in the json spec"
218-
],
219-
"response": []
220-
},
221213
"ingest.delete_geoip_database": {
222214
"request": [
223215
"Request: query parameter 'master_timeout' 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)