OpenSearch/rest-api-spec/api/cluster.stats.json

29 lines
967 B
JSON

{
"cluster.stats": {
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/cluster-stats.html",
"methods": ["GET"],
"url": {
"path": "/_cluster/stats",
"paths": ["/_cluster/stats", "/_cluster/stats/nodes/{node_id}"],
"parts": {
"node_id": {
"type" : "list",
"description" : "A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes"
}
},
"params": {
"flat_settings": {
"type": "boolean",
"description": "Return settings in flat format (default: false)"
},
"human": {
"type": "boolean",
"description": "Whether to return time and byte values in human-readable format.",
"default": false
}
}
},
"body": null
}
}