From 06e5f3dd6ff3db5c30b67e1d4eb80ff759533f93 Mon Sep 17 00:00:00 2001 From: Clinton Gormley Date: Mon, 13 Jan 2014 18:05:38 +0100 Subject: [PATCH] [SPEC] Added level param to cluster.state --- rest-api-spec/api/cluster.state.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rest-api-spec/api/cluster.state.json b/rest-api-spec/api/cluster.state.json index 643158c24e1..f63a7f18dad 100644 --- a/rest-api-spec/api/cluster.state.json +++ b/rest-api-spec/api/cluster.state.json @@ -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)"