OpenSearch/rest-api-spec/api/nodes.info.json

34 lines
1.2 KiB
JSON

{
"nodes.info": {
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/cluster-nodes-info.html",
"methods": ["GET"],
"url": {
"path": "/_nodes",
"paths": ["/_nodes", "/_nodes/{node_id}", "/_nodes/{metric}", "/_nodes/{node_id}/{metric}"],
"parts": {
"node_id": {
"type": "list",
"description": "A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes"
},
"metric": {
"type": "list",
"options": ["settings", "os", "process", "jvm", "thread_pool", "network", "transport", "http", "plugin"],
"description": "A comma-separated list of metrics you wish returned. Leave empty to return all."
}
},
"params": {
"flat_settings": {
"type": "boolean",
"description": "Return settings in flat format (default: false)"
},
"human": {
"type": "boolean",
"description": "Whether to return time and byte values in human-readable format.",
"default": false
}
}
},
"body": null
}
}