2013-05-24 06:02:42 -04:00
|
|
|
{
|
|
|
|
"cluster.reroute": {
|
2014-01-22 08:40:31 -05:00
|
|
|
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/cluster-reroute.html",
|
2013-05-24 06:02:42 -04:00
|
|
|
"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)"
|
2014-01-16 09:27:24 -05:00
|
|
|
},
|
|
|
|
"master_timeout": {
|
|
|
|
"type" : "time",
|
|
|
|
"description" : "Explicit operation timeout for connection to master node"
|
|
|
|
},
|
|
|
|
"timeout": {
|
|
|
|
"type" : "time",
|
|
|
|
"description" : "Explicit operation timeout"
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|