2013-05-24 06:02:42 -04:00
|
|
|
{
|
|
|
|
"cluster.health": {
|
2014-01-22 08:40:31 -05:00
|
|
|
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/cluster-health.html",
|
2013-05-24 06:02:42 -04:00
|
|
|
"methods": ["GET"],
|
|
|
|
"url": {
|
|
|
|
"path": "/_cluster/health",
|
|
|
|
"paths": ["/_cluster/health", "/_cluster/health/{index}"],
|
|
|
|
"parts": {
|
|
|
|
"index": {
|
2013-05-26 06:27:56 -04:00
|
|
|
"type" : "string",
|
2013-05-28 03:58:00 -04:00
|
|
|
"description" : "Limit the information returned to a specific index"
|
2013-05-24 06:02:42 -04:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"params": {
|
2013-05-26 06:20:43 -04:00
|
|
|
"level": {
|
2013-05-26 06:27:56 -04:00
|
|
|
"type" : "enum",
|
|
|
|
"options" : ["cluster","indices","shards"],
|
|
|
|
"default" : "cluster",
|
|
|
|
"description" : "Specify the level of detail for returned information"
|
2013-05-26 06:20:43 -04:00
|
|
|
},
|
2013-05-24 06:02:42 -04:00
|
|
|
"local": {
|
2013-05-26 06:27:56 -04:00
|
|
|
"type" : "boolean",
|
|
|
|
"description" : "Return local information, do not retrieve the state from master node (default: false)"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
|
|
|
"master_timeout": {
|
2013-05-26 06:27:56 -04:00
|
|
|
"type" : "time",
|
2013-05-28 03:58:00 -04:00
|
|
|
"description" : "Explicit operation timeout for connection to master node"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
|
|
|
"timeout": {
|
2013-05-26 06:27:56 -04:00
|
|
|
"type" : "time",
|
|
|
|
"description" : "Explicit operation timeout"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
|
|
|
"wait_for_active_shards": {
|
2013-05-26 06:27:56 -04:00
|
|
|
"type" : "number",
|
2013-05-28 03:58:00 -04:00
|
|
|
"description" : "Wait until the specified number of shards is active"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
|
|
|
"wait_for_nodes": {
|
2013-10-01 13:28:46 -04:00
|
|
|
"type" : "string",
|
2013-05-28 03:58:00 -04:00
|
|
|
"description" : "Wait until the specified number of nodes is available"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
2013-05-26 06:20:43 -04:00
|
|
|
"wait_for_relocating_shards": {
|
2013-05-26 06:27:56 -04:00
|
|
|
"type" : "number",
|
2013-05-28 03:58:00 -04:00
|
|
|
"description" : "Wait until the specified number of relocating shards is finished"
|
2013-05-26 06:20:43 -04:00
|
|
|
},
|
|
|
|
"wait_for_status": {
|
2013-05-26 06:27:56 -04:00
|
|
|
"type" : "enum",
|
|
|
|
"options" : ["green","yellow","red"],
|
|
|
|
"default" : null,
|
|
|
|
"description" : "Wait until cluster is in a specific state"
|
2013-05-24 06:02:42 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"body": null
|
|
|
|
}
|
|
|
|
}
|