forked from elastic/elasticsearch-specification
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcat.allocation.json
68 lines (68 loc) · 1.99 KB
/
cat.allocation.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
{
"cat.allocation": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-allocation.html",
"description": "Provides a snapshot of how many shards are allocated to each data node and how much disk space they are using."
},
"stability": "stable",
"visibility": "public",
"headers": {
"accept": ["text/plain", "application/json"]
},
"url": {
"paths": [
{
"path": "/_cat/allocation",
"methods": ["GET"]
},
{
"path": "/_cat/allocation/{node_id}",
"methods": ["GET"],
"parts": {
"node_id": {
"type": "list",
"description": "A comma-separated list of node IDs or 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"]
},
"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
},
"s": {
"type": "list",
"description": "Comma-separated list of column names or column aliases to sort by"
},
"v": {
"type": "boolean",
"description": "Verbose mode. Display column headers",
"default": false
}
}
}
}