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",
|
2013-05-28 04:32:27 -04:00
|
|
|
"description" : "Simulate the operation only and return the resulting state"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
|
|
|
"filter_metadata": {
|
2013-05-26 08:11:15 -04:00
|
|
|
"type" : "boolean",
|
2013-06-04 11:35:22 -04:00
|
|
|
"description" : "Don't return cluster state metadata (default: false)"
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|