forked from elastic/elasticsearch-specification
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcat.shards.json
69 lines (69 loc) · 1.93 KB
/
cat.shards.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"cat.shards": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-shards.html",
"description": "Provides a detailed view of shard allocation on nodes."
},
"stability": "stable",
"visibility": "public",
"headers": {
"accept": ["text/plain", "application/json"]
},
"url": {
"paths": [
{
"path": "/_cat/shards",
"methods": ["GET"]
},
{
"path": "/_cat/shards/{index}",
"methods": ["GET"],
"parts": {
"index": {
"type": "list",
"description": "A comma-separated list of index names to limit the returned information"
}
}
}
]
},
"params": {
"format": {
"type": "string",
"description": "a short version of the Accept header, e.g. json, yaml"
},
"bytes": {
"type": "enum",
"description": "The unit in which to display byte values",
"options": ["b", "k", "kb", "m", "mb", "g", "gb", "t", "tb", "p", "pb"]
},
"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
},
"s": {
"type": "list",
"description": "Comma-separated list of column names or column aliases to sort by"
},
"time": {
"type": "enum",
"description": "The unit in which to display time values",
"options": ["d", "h", "m", "s", "ms", "micros", "nanos"]
},
"v": {
"type": "boolean",
"description": "Verbose mode. Display column headers",
"default": false
}
}
}
}