|
@@ -3,23 +3,20 @@
|
|
|
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/cat.html",
|
|
|
"methods": ["GET"],
|
|
|
"url": {
|
|
|
- "path": "/_cat",
|
|
|
- "paths": ["/_cat/aliases", "/_cat/aliases/{alias}", "/_cat/allocation", "/_cat/allocation/{nodes}", "/_cat", "/_cat/health", "/_cat/indices", "/_cat/indices/{index}", "/_cat/master", "/_cat/nodes", "/_cat/pending_tasks", "/_cat/shards", "/_cat/shards/{index}"],
|
|
|
+ "path": "/_cat/allocation",
|
|
|
+ "paths": ["/_cat/allocation", "/_cat/allocation/{nodes}"],
|
|
|
"parts": {
|
|
|
- "alias": {
|
|
|
- "type" : "list",
|
|
|
- "description" : "A comma-separated list of alias names to return"
|
|
|
- },
|
|
|
"nodes": {
|
|
|
"type": "list",
|
|
|
"description": "A comma-separated list of node IDs or names to limit the returned information"
|
|
|
- },
|
|
|
- "index": {
|
|
|
- "type" : "list",
|
|
|
- "description": "A comma-separated list of index names to limit the returned information"
|
|
|
}
|
|
|
},
|
|
|
"params": {
|
|
|
+ "bytes": {
|
|
|
+ "type": "enum",
|
|
|
+ "description" : "The unit in which to display byte values",
|
|
|
+ "options": [ "b", "k", "m", "g" ]
|
|
|
+ },
|
|
|
"local": {
|
|
|
"type" : "boolean",
|
|
|
"description" : "Return local information, do not retrieve the state from master node (default: false)"
|
|
@@ -29,6 +26,10 @@
|
|
|
"description" : "Explicit operation timeout for connection to master node"
|
|
|
},
|
|
|
"h": {
|
|
|
+ "type": "list",
|
|
|
+ "description" : "Comma-separated list of column names to display"
|
|
|
+ },
|
|
|
+ "help": {
|
|
|
"type": "boolean",
|
|
|
"description": "Return help information",
|
|
|
"default": false
|