2013-05-24 06:02:42 -04:00
|
|
|
{
|
|
|
|
"cluster.state": {
|
2014-01-22 08:40:31 -05:00
|
|
|
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/cluster-state.html",
|
2013-05-24 06:02:42 -04:00
|
|
|
"methods": ["GET"],
|
|
|
|
"url": {
|
|
|
|
"path": "/_cluster/state",
|
2014-01-13 12:02:15 -05:00
|
|
|
"paths": [
|
|
|
|
"/_cluster/state",
|
|
|
|
"/_cluster/state/{metric}",
|
|
|
|
"/_cluster/state/{metric}/{index}"
|
|
|
|
],
|
|
|
|
"parts": {
|
|
|
|
"index": {
|
|
|
|
"type" : "list",
|
|
|
|
"description" : "A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices"
|
|
|
|
},
|
|
|
|
"metric" : {
|
|
|
|
"type" : "list",
|
2014-02-28 08:27:17 -05:00
|
|
|
"options" : ["_all", "blocks", "metadata", "nodes", "routing_table", "master_node", "version"],
|
2014-01-13 12:02:15 -05:00
|
|
|
"description" : "Limit the information returned to the specified metrics"
|
|
|
|
}
|
|
|
|
},
|
2013-05-24 06:02:42 -04:00
|
|
|
"params": {
|
|
|
|
"local": {
|
2014-01-06 11:50:57 -05:00
|
|
|
"type": "boolean",
|
|
|
|
"description": "Return local information, do not retrieve the state from master node (default: false)"
|
2013-05-26 06:20:43 -04:00
|
|
|
},
|
|
|
|
"master_timeout": {
|
2014-01-06 11:50:57 -05:00
|
|
|
"type": "time",
|
|
|
|
"description": "Specify timeout for connection to master"
|
|
|
|
},
|
2014-01-27 04:57:26 -05:00
|
|
|
"index_templates": {
|
|
|
|
"type": "list",
|
|
|
|
"description": "A comma separated list to return specific index templates when returning metadata"
|
|
|
|
},
|
2014-01-06 11:50:57 -05:00
|
|
|
"flat_settings": {
|
|
|
|
"type": "boolean",
|
|
|
|
"description": "Return settings in flat format (default: false)"
|
2013-05-24 06:02:42 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"body": null
|
|
|
|
}
|
|
|
|
}
|