change health from string to enum (#20661)

This commit is contained in:
Martijn Laarman 2016-09-26 22:44:30 +02:00 committed by GitHub
parent 27496d6b92
commit e5f1eb5dc9
1 changed files with 4 additions and 2 deletions

View File

@ -34,8 +34,10 @@
"description" : "Comma-separated list of column names to display"
},
"health": {
"type" : "string",
"description" : "A health status (\"green\", \"yellow\", or \"red\" to filter only indices matching the specified health status"
"type" : "enum",
"options" : ["green","yellow","red"],
"default" : null,
"description" : "A health status (\"green\", \"yellow\", or \"red\" to filter only indices matching the specified health status"
},
"help": {
"type": "boolean",