Skip to content

Commit 3bbab4c

Browse files
[SPEC] Added cluster.stats.json
1 parent 00ed78f commit 3bbab4c

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

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

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"cluster.stats": {
3+
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/cluster-stats.html",
4+
"methods": ["GET"],
5+
"url": {
6+
"path": "/_cluster/stats",
7+
"paths": ["/_cluster/stats", "/_cluster/stats/nodes/{nodeId}"],
8+
"parts": {
9+
"node_id": {
10+
"type" : "list",
11+
"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"
12+
}
13+
},
14+
"params": {
15+
"flat_settings": {
16+
"type": "boolean",
17+
"description": "Return settings in flat format (default: false)"
18+
},
19+
"human": {
20+
"type": "boolean",
21+
"description": "Whether to return time and byte values in human-readable format.",
22+
"default": false
23+
}
24+
}
25+
},
26+
"body": null
27+
}
28+
}

0 commit comments

Comments
 (0)