From 7c7fead20b4054d8772e3fce7091e2aca0d87676 Mon Sep 17 00:00:00 2001 From: Karel Minarik Date: Sun, 26 May 2013 15:49:53 +0200 Subject: [PATCH] Added the API definition for `_cluster/state` --- rest-api-spec/api/cluster.state.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/rest-api-spec/api/cluster.state.json b/rest-api-spec/api/cluster.state.json index 821150348b4..9207e51283b 100644 --- a/rest-api-spec/api/cluster.state.json +++ b/rest-api-spec/api/cluster.state.json @@ -9,20 +9,36 @@ }, "params": { "filter_blocks": { + "type" : "boolean", + "description" : "Do not return information about blocks" }, "filter_index_templates": { + "type" : "boolean", + "description" : "Do not return information about index templates" }, "filter_indices": { + "type" : "list", + "description" : "Limit returned metadata information to specific indices" }, "filter_metadata": { + "type" : "boolean", + "description" : "Do not return information about indices metadata" }, "filter_nodes": { + "type" : "boolean", + "description" : "Do not return information about nodes" }, "filter_routing_table": { + "type" : "boolean", + "description" : "Do not return information about shard allocation (`routing_table` and `routing_nodes`)" }, "local": { + "type" : "boolean", + "description" : "Return local information, do not retrieve the state from master node (default: false)" }, "master_timeout": { + "type" : "time", + "description" : "Specify timeout for connection to master" } } },