Get nodes
Retrieves nodes in a cluster.
HTTP request syntax (URI)
GET <base_URI>/v7/storage/nodes
Return codes
Code | Data | Description |
200 | node | Array of nodes retrieved successfully. |
500 | Error message | Error associated with the storage system. |
501 | No Data | Server has not implemented the request operation on the resource. |
Any HTTP status code other than 200 indicates that the API did not complete successfully.
Request example
curl -vk -H "X-Api-Key: zrxvSDAv9x.RIP4gkmKarG3beF.or.4Tc2im7oeqYN88C9XPGHxbXC" https://172.17.11.11:8444/v7/storage/nodes
Response example
HTTP/1.1 200 OK "nodes" : [ { "UUID" : "2bb93988-246e-11cf-9001-5ec00375458d", "firmwareVersion" : "13.5.5521.00", "ipAddresses" : [ "192.0.2.100" ], "model" : "HNAS 4060", "name" : "Gizmo-CLUSTER-1", "nodeId" : 1, "objectId" : "313a3a3a3a3a3a303a3a3a4f49445f24232140255f56", "serial" : "M4SJKW1345761", "status" : "ONLINE" }, { "UUID" : "db5fde82-246e-11cf-9001-4bee3faaca3b", "firmwareVersion" : "13.5.5521.00", "ipAddresses" : [ "192.0.2.200" ], "model" : "HNAS 4060", "name" : "Gizmo-CLUSTER-2", "nodeId" : 2, "objectId" : "323a3a3a3a3a3a303a3a3a4f49445f24232140255f56", "serial" : "M4SJKW1345760", "status" : "ONLINE" } ]