Sfoglia il codice sorgente

Spec: Added human flag to indices.get_upgrade

Clinton Gormley 11 anni fa
parent
commit
20a901964c
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  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
         }
       }
     },