Method:/register /agent Parameters: \{ attrs: \{ password:xxx,//optional checkIp:xxx,//optional type:xxx, name:xxx, agentData:xxx //optional application:\{name:xxx\},//optional \}, return: \[ 'name', 'type', 'ipaddress', 'certificatePfx', 'certificateJks', 'certificatePassword', 'agentConfigurePack' \\ \] \} |
Method:/register /queryAgent Parameters: \{ agent: \{ name:xxx \}, return: \[ '*' \] \} \\ |
Method:/register /agent Parameters: \{ return:\['name'\] \} \\ Response: \{ "error":0, "result": \{ total:2, rows: \[ \{"name":"xxx\}, \{"name":"xxx\} \] \} \} |
Method:/register /getSystemInfo
Parameters:
{
}
Response:
{
"error":0,
"result":
{
"version":"1.0",
"copyright":"Copyright(C) Deepnet Security Limited.",
"provisioningPort":8088,
"managementPort":8444,
"authenticationPort":8445,
"serverFQDN":"dual.parkoffice.com"
}
}