OpenSearch/rest-api-spec/api/cat.allocation.json

47 lines
1.4 KiB
JSON

{
"cat.allocation": {
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/cat-allocation.html",
"methods": ["GET"],
"url": {
"path": "/_cat/allocation",
"paths": ["/_cat/allocation", "/_cat/allocation/{node_id}"],
"parts": {
"node_id": {
"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": true
}
}
},
"body": null
}
}