mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-13 00:15:47 +00:00
Cat shards bytes (#26952)
* Add `bytes` to cat.shards API spec * add bytes param to rest-api-spec of cat.segments
This commit is contained in:
parent
2e36f19051
commit
f3942799bb
@ -16,6 +16,11 @@
|
|||||||
"type" : "string",
|
"type" : "string",
|
||||||
"description" : "a short version of the Accept header, e.g. json, yaml"
|
"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" ]
|
||||||
|
},
|
||||||
"h": {
|
"h": {
|
||||||
"type": "list",
|
"type": "list",
|
||||||
"description" : "Comma-separated list of column names to display"
|
"description" : "Comma-separated list of column names to display"
|
||||||
|
@ -16,6 +16,11 @@
|
|||||||
"type" : "string",
|
"type" : "string",
|
||||||
"description" : "a short version of the Accept header, e.g. json, yaml"
|
"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": {
|
"local": {
|
||||||
"type" : "boolean",
|
"type" : "boolean",
|
||||||
"description" : "Return local information, do not retrieve the state from master node (default: false)"
|
"description" : "Return local information, do not retrieve the state from master node (default: false)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user