2013-05-24 06:02:42 -04:00
|
|
|
{
|
|
|
|
"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": {
|
2013-05-26 08:11:15 -04:00
|
|
|
"type" : "boolean",
|
|
|
|
"description" : "Simulate the operation only and return the resulting state after rebalancing"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
|
|
|
"filter_metadata": {
|
2013-05-26 08:11:15 -04:00
|
|
|
"type" : "boolean",
|
|
|
|
"description" : "TODO: ?"
|
2013-05-24 06:02:42 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"body": {
|
2013-05-26 08:11:15 -04:00
|
|
|
"description" : "The definition of `commands` to perform (`move`, `cancel`, `allocate`)"
|
2013-05-24 06:02:42 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|