Server
rpc.serverInfo
Get all supported RCP methods
Request
Method | Param | Value | Comment | Supported Versions |
---|---|---|---|---|
rpc.serverInfo | >1.0.1 |
{"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": ["4140pwrr3.appLogLevelGet","4140pwrr3.appLogLevelSet","4140pwrr3.appVersionGet","amplifier.channelGet","amplifier.channelSet","amplifier.channelsSubscribe","amplifier.channelsUnsubscribe","api.appLogLevelGet","api.appLogLevelSet","api.appVersionGet"],
"usesContext": false,
"counters": {
"rpc.bytesRead": 50,
"rpc.requests": 1
},
"maxValue": {
"rpc.bytesRead": 50
},
"startTime": "2021-04-22T06:19:41.709283225Z"
}
}