Skip to content

Update rest-api-spec main #4936

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 16, 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
15 changes: 9 additions & 6 deletions output/schema/validation-errors.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
{
"endpointErrors": {
"cluster.allocation_explain": {
"request": [
"Request: missing json spec query parameter 'index'",
"Request: missing json spec query parameter 'shard'",
"Request: missing json spec query parameter 'primary'",
"Request: missing json spec query parameter 'current_node'"
],
"response": []
},
"msearch": {
"request": [
"Request: query parameter 'allow_no_indices' does not exist in the json spec",
Expand All @@ -11,12 +20,6 @@
],
"response": []
},
"reindex": {
"request": [
"Request: query parameter 'require_alias' does not exist in the json spec"
],
"response": []
},
"searchable_snapshots.clear_cache": {
"request": [
"Request: missing json spec query parameter 'index'"
Expand Down
16 changes: 16 additions & 0 deletions specification/_json_spec/cluster.allocation_explain.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,22 @@
]
},
"params": {
"index": {
"type": "string",
"description": "Specifies the name of the index that you would like an explanation for"
},
"shard": {
"type": "number",
"description": "Specifies the ID of the shard that you would like an explanation for"
},
"primary": {
"type": "boolean",
"description": "If true, returns explanation for the primary shard for the given shard ID"
},
"current_node": {
"type": "string",
"description": "Specifies the node ID or the name of the node to only explain a shard that is currently located on the specified node"
},
"master_timeout": {
"type": "time",
"description": "Timeout for connection to master node"
Expand Down
5 changes: 5 additions & 0 deletions specification/_json_spec/reindex.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@
"max_docs": {
"type": "number",
"description": "Maximum number of documents to process (default: all documents)"
},
"require_alias": {
"type": "boolean",
"default": false,
"description": "When true, requires destination to be an alias."
}
},
"body": {
Expand Down