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:
Glen Smith 2017-10-11 11:03:59 -06:00 committed by GitHub
parent 2e36f19051
commit f3942799bb
2 changed files with 10 additions and 0 deletions

View File

@ -16,6 +16,11 @@
"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" ]
},
"h": {
"type": "list",
"description" : "Comma-separated list of column names to display"

View File

@ -16,6 +16,11 @@
"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)"