26 lines
730 B
JSON
26 lines
730 B
JSON
{
|
|
"cluster.reroute": {
|
|
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/cluster-reroute.html",
|
|
"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"
|
|
},
|
|
"filter_metadata": {
|
|
"type" : "boolean",
|
|
"description" : "Don't return cluster state metadata (default: false)"
|
|
}
|
|
}
|
|
},
|
|
"body": {
|
|
"description" : "The definition of `commands` to perform (`move`, `cancel`, `allocate`)"
|
|
}
|
|
}
|
|
}
|