Skip to content

Commit

Permalink
Cat shards bytes (#26952)
Browse files Browse the repository at this point in the history
* Add `bytes` to cat.shards API spec

* add bytes param to rest-api-spec of cat.segments
  • Loading branch information
GlenRSmith committed Oct 11, 2017
1 parent 10bf1ae commit 80b1e2c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down

0 comments on commit 80b1e2c

Please sign in to comment.