Skip to content

Update rest-api-spec 9.1 #4976

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions output/schema/validation-errors.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@
],
"response": []
},
"indices.recovery": {
"request": [
"Request: query parameter 'allow_no_indices' does not exist in the json spec",
"Request: query parameter 'expand_wildcards' does not exist in the json spec",
"Request: query parameter 'ignore_unavailable' does not exist in the json spec"
],
"response": []
},
"msearch": {
"request": [
"Request: query parameter 'allow_no_indices' does not exist in the json spec",
Expand Down
16 changes: 16 additions & 0 deletions specification/_json_spec/indices.recovery.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,22 @@
"type": "boolean",
"description": "Display only those recoveries that are currently on-going",
"default": false
},
"ignore_unavailable": {
"type": "boolean",
"description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)",
"default": false
},
"allow_no_indices": {
"type": "boolean",
"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)",
"default": true
},
"expand_wildcards": {
"type": "enum",
"options": ["open", "closed", "hidden", "none", "all"],
"default": "open",
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."
}
}
}
Expand Down