OpenSearch/rest-api-spec/api/cluster.state.json

51 lines
1.6 KiB
JSON
Raw Normal View History

{
"cluster.state": {
"documentation": "http://elasticsearch.org/guide/reference/api/admin-cluster-state/",
"methods": ["GET"],
"url": {
"path": "/_cluster/state",
"paths": ["/_cluster/state"],
"parts": {},
"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"
},
"flat_settings": {
"type": "boolean",
"description": "Return settings in flat format (default: false)"
}
}
},
"body": null
}
}