Added the API definition for `_cluster/state`

This commit is contained in:
Karel Minarik 2013-05-26 15:49:53 +02:00
parent 72cd419617
commit 7c7fead20b
1 changed files with 16 additions and 0 deletions

View File

@ -9,20 +9,36 @@
}, },
"params": { "params": {
"filter_blocks": { "filter_blocks": {
"type" : "boolean",
"description" : "Do not return information about blocks"
}, },
"filter_index_templates": { "filter_index_templates": {
"type" : "boolean",
"description" : "Do not return information about index templates"
}, },
"filter_indices": { "filter_indices": {
"type" : "list",
"description" : "Limit returned metadata information to specific indices"
}, },
"filter_metadata": { "filter_metadata": {
"type" : "boolean",
"description" : "Do not return information about indices metadata"
}, },
"filter_nodes": { "filter_nodes": {
"type" : "boolean",
"description" : "Do not return information about nodes"
}, },
"filter_routing_table": { "filter_routing_table": {
"type" : "boolean",
"description" : "Do not return information about shard allocation (`routing_table` and `routing_nodes`)"
}, },
"local": { "local": {
"type" : "boolean",
"description" : "Return local information, do not retrieve the state from master node (default: false)"
}, },
"master_timeout": { "master_timeout": {
"type" : "time",
"description" : "Specify timeout for connection to master"
} }
} }
}, },