Skip to content

Commit 500d6f7

Browse files
[SPEC] Added cat.json
1 parent e613ecf commit 500d6f7

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

rest-api-spec/api/cat.json

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"cat": {
3+
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/cat.html",
4+
"methods": ["GET"],
5+
"url": {
6+
"path": "/_cat",
7+
"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}"],
8+
"parts": {
9+
"alias": {
10+
"type" : "list",
11+
"description" : "A comma-separated list of alias names to return"
12+
},
13+
"nodes": {
14+
"type": "list",
15+
"description": "A comma-separated list of node IDs or names to limit the returned information"
16+
},
17+
"index": {
18+
"type" : "list",
19+
"description": "A comma-separated list of index names to limit the returned information"
20+
}
21+
},
22+
"params": {
23+
"local": {
24+
"type" : "boolean",
25+
"description" : "Return local information, do not retrieve the state from master node (default: false)"
26+
},
27+
"master_timeout": {
28+
"type" : "time",
29+
"description" : "Explicit operation timeout for connection to master node"
30+
},
31+
"h": {
32+
"type": "boolean",
33+
"description": "Return help information",
34+
"default": false
35+
},
36+
"v": {
37+
"type": "boolean",
38+
"description": "Verbose mode. Display column headers",
39+
"default": false
40+
}
41+
}
42+
},
43+
"body": null
44+
}
45+
}

0 commit comments

Comments
 (0)