浏览代码

Spec: Added human flag to indices.get_upgrade

Clinton Gormley 11 年之前
父节点
当前提交
20a901964c
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      rest-api-spec/api/indices.get_upgrade.json

+ 5 - 0
rest-api-spec/api/indices.get_upgrade.json

@@ -25,6 +25,11 @@
             "options" : ["open","closed"],
             "default" : "open",
             "description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
+        },
+        "human": {
+            "type": "boolean",
+            "description": "Whether to return time and byte values in human-readable format.",
+            "default": false
         }
       }
     },