Relates elastic/elasticsearch-specification#5298 Co-authored-by: Quentin Pradet <quentin.pradet@elastic.co> (cherry picked from commit d0ea79a3a41ae9032dbae11f7ace5547dcfa5709) # Conflicts: # rest-api-spec/src/main/resources/rest-api-spec/api/cat.aliases.json Co-authored-by: David Turner <david.turner@elastic.co>
@@ -73,6 +73,31 @@
],
"default": "all",
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."
+ },
+ "bytes": {
+ "type": "enum",
+ "description": "The unit in which to display byte values",
+ "options": [
+ "b",
+ "kb",
+ "mb",
+ "gb",
+ "tb",
+ "pb"
+ ]
+ "time": {
+ "description": "The unit in which to display time values",
+ "d",
+ "h",
+ "m",
+ "s",
+ "ms",
+ "micros",
+ "nanos"
}
@@ -52,6 +52,19 @@
"pb"
]
},
"local": {
"type": "boolean",
"description": "Return local information, do not retrieve the state from master node (default: false)"
@@ -66,6 +66,31 @@
"description": "Verbose mode. Display column headers",
"default": false
@@ -57,6 +57,31 @@
@@ -73,6 +73,19 @@
"fields": {
"type": "list",
"description": "A comma-separated list of fields to return in the output"
@@ -63,6 +63,18 @@
@@ -54,6 +54,31 @@
@@ -74,6 +74,18 @@
@@ -67,6 +67,18 @@
@@ -59,6 +59,31 @@
@@ -55,6 +55,31 @@
@@ -78,6 +78,19 @@
@@ -80,6 +80,18 @@
@@ -84,6 +84,18 @@
"default": false,
"description": "If `true`, the request blocks until the task has completed."
@@ -79,6 +79,18 @@
@@ -82,6 +82,18 @@