Server
This section describes the communication protocol between the control system and SDM
rpc.serverInfo
Get all supported RCP methods
Request
Method | Param | Value | Comment | Supported Versions |
---|---|---|---|---|
rpc.serverInfo | >v1.8.50 |
{"jsonrpc":"2.0","id":1,"method":"rpc.serverInfo"}
Reply
Result | Key | Comment |
---|---|---|
methods | All supported methods that can be used by a 3rd party control system | |
counters | Server counters | |
startTime | Server start time |
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"methods": ["config.Create", "discovery.Get", "monitor.Get", "preset.Recall", "routing.Create", "routing.Delete", "routing.Get", "routing.Subscribe", "sdm.Get", "system.Get", "system.Set"],
"usesContext": false,
"counters": {
"rpc.bytesRead": 50,
"rpc.requests": 1
},
"maxValue": {
"rpc.bytesRead": 50
},
"startTime": "2021-04-22T06:19:41.709283225Z"
}
}