OpenSearch/rest-api-spec/api/cluster.reroute.json

34 lines
995 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)"
},
"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`)"
}
}
}