[SPEC] Added level param to cluster.state

This commit is contained in:
Clinton Gormley 2014-01-13 18:05:38 +01:00
parent 7779196c8a
commit 06e5f3dd6f
1 changed files with 6 additions and 0 deletions

View File

@ -21,6 +21,12 @@
}
},
"params": {
"level": {
"type" : "enum",
"description": "Report cluster state at cluster, index or shard level",
"options" : ["cluster", "indices", "shards"],
"default" : "cluster"
},
"local": {
"type": "boolean",
"description": "Return local information, do not retrieve the state from master node (default: false)"