38 lines
1.1 KiB
JSON
38 lines
1.1 KiB
JSON
{
|
|
"cluster.reroute": {
|
|
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/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"
|
|
},
|
|
"explain": {
|
|
"type" : "boolean",
|
|
"description" : "Return an explanation of why the commands can or cannot be executed"
|
|
},
|
|
"filter_metadata": {
|
|
"type" : "boolean",
|
|
"description" : "Don't return cluster state metadata (default: false)"
|
|
},
|
|
"master_timeout": {
|
|
"type" : "time",
|
|
"description" : "Explicit operation timeout for connection to master node"
|
|
},
|
|
"timeout": {
|
|
"type" : "time",
|
|
"description" : "Explicit operation timeout"
|
|
}
|
|
}
|
|
},
|
|
"body": {
|
|
"description" : "The definition of `commands` to perform (`move`, `cancel`, `allocate`)"
|
|
}
|
|
}
|
|
}
|