SolarWinds Backup Help

Getting storage node information in JSON-RPC API

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

Sample request

{
    "jsonrpc":"2.0",
    "visa": "33491-50121-1-1512736778-A99E8BAC8AC82XXXXX0000000XXXXXXXXXXXX00000",
    "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": "33491-50121-1-1512736778-A99E8BAC8AC82XXXXX0000000XXXXXXXXXXXX00000"
}