You can use these API calls to retrieve information on the nodes in your cluster.
GET nodes | Returns a list of nodes in this cluster. |
GET nodes/:nodeid | Returns details for a specific node in this cluster. |
This is the multi-page printable view of this section. Click here to print.
You can use these API calls to retrieve information on the nodes in your cluster.
GET nodes | Returns a list of nodes in this cluster. |
GET nodes/:nodeid | Returns details for a specific node in this cluster. |
Returns a list of nodes associated with this cluster.
https://<NODE>:5444/nodes
The API key must have restricted level security or higher.
None.
GET |
https://<NODE>:5444/nodes |
Response:
{
"body": [
"node0001",
"node0002",
"node0003",
"v_testdb_node0001",
"v_testdb_node0002",
"v_testdb_node0003",
"v_vmart_node0001",
"v_vmart_node0002",
"v_vmart_node0003"
],
"href": "/nodes",
"links": [
"/:nodeid"
],
"mime-type": "application/vertica.nodes.json-v2"
}
Returns details about the node identified by :node_id
. You can find the :node_id
for each node using GET nodes.
In the body field, the following information is detailed in comma-separated format:
Node Name
Host Address
Catalog Directory
Data Directory
https://<NODE>:5444/nodes/:node_id
The API key must have restricted level security or higher.
None.
GET |
https://<NODE>:5444/nodes/v_vmart_node0001 |
Response:
{
"body": [
"v_vmart_node0001",
"10.20.100.247,/home/dbadmin,/home/dbadmin"
],
"href": "/nodes/v_vmart_node0001",
"links": [],
"mime-type": "application/vertica.node.json-v2"
}