Getting storage node information
You can get the information on storage nodes using the GetStorageNodeInfo method.
Required parameters
Parameter  | Description  | Supported values  | 
|---|---|---|
storageNodeId  | The ID of the storage node to get information for  | <int> Integer  | 
Sample request
{
    "jsonrpc":"2.0",
    "visa": "{{visa}}",
    "id":"jsonrpc",
    "method" : "GetStorageNodeInfo",
    "params" : {
	    "storageNodeId": 100
    }
}Sample response
{
    "id": "jsonrpc",
    "jsonrpc": "2.0",
    "result": {
	"result": {
	    "ActiveAccounts": 0,
	    "CommonInfo": {
	    "CertificateInfo": {
		"Certificate": "",
		"CertificatePin": "",
		"EndDate": 0,
		"StartDate": 0
	},
	    "Family": "WEBDAVS",
	    "GatewayHost": "100.0.0.0",
	    "Host": "100.0.0.0:443",
	    "HttpGatewayHost": "100.0.0.0:2999",
	    "Name": "node_5",
	    "Password": "*****",
	    "Path": "",
	    "StorageId": 200,
	    "User": "*****"
	},
	"Id": 100,
	"LocationId": 13,
	"ModeInfo": {
	    "Message": "",
	    "Mode": "Operable"
	},
	"StateInfo": {
	    "PrivilegedStorage": 0,
	    "State": [
		"Online",
		"Full"
	    ],
	    "TotalStorage": 14544046,
	    "UsedStorage": 14544046
	},
	"TotalAccounts": 0
	}
    },
    "visa": "{{visa}}"
}Updated 3 months ago