47 lines
1.4 KiB
JSON
47 lines
1.4 KiB
JSON
{
|
|
"cat": {
|
|
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/cat.html",
|
|
"methods": ["GET"],
|
|
"url": {
|
|
"path": "/_cat/allocation",
|
|
"paths": ["/_cat/allocation", "/_cat/allocation/{nodes}"],
|
|
"parts": {
|
|
"nodes": {
|
|
"type": "list",
|
|
"description": "A comma-separated list of node IDs or 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)"
|
|
},
|
|
"master_timeout": {
|
|
"type" : "time",
|
|
"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
|
|
},
|
|
"v": {
|
|
"type": "boolean",
|
|
"description": "Verbose mode. Display column headers",
|
|
"default": false
|
|
}
|
|
}
|
|
},
|
|
"body": null
|
|
}
|
|
}
|