Added the API definition for `_cluster/state`
This commit is contained in:
parent
72cd419617
commit
7c7fead20b
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue