OpenSearch/rest-api-spec/api/cluster.reroute.json

26 lines
680 B
JSON
Raw Normal View History

{
"cluster.reroute": {
"documentation": "http://elasticsearch.org/guide/reference/api/admin-cluster-reroute/",
"methods": ["POST"],
"url": {
"path": "/_cluster/reroute",
"paths": ["/_cluster/reroute"],
"parts": {
},
"params": {
"dry_run": {
"type" : "boolean",
"description" : "Simulate the operation only and return the resulting state after rebalancing"
},
"filter_metadata": {
"type" : "boolean",
"description" : "TODO: ?"
}
}
},
"body": {
"description" : "The definition of `commands` to perform (`move`, `cancel`, `allocate`)"
}
}
}