# getConnected
Description: Retrieve information about the server and the status of the connection to it.
Request example:
{
"method": "getConnected",
"requestId" : "1"
}
Response example:
{
"method": "getConnected",
"requestId" : "1",
"state": 2,
"serverInfo": {
"server": "192.168.0.103",
"service": false,
"port": 4307,
"domain": "some.server.net"
},
"result": true
}
Parameter description:
state
- connection status:0
— TrueConf Room is not connected to the server1
— TrueConf Room is trying to connect to the server2
— TrueConf Room is connected to the server
serverInfo
— information about the server to which TrueConf Room is connected to or is trying to connect. If TrueConf Room is not connected to the server and is not trying to connect, this information will not be available.server
— IP or domain name of the server to which TrueConf Room is connected. If TrueConf Room is not connected and is not trying to connect, this information will not be includedservice
— Connection type:true
— connection to TrueConf Online cloud servicefalse
— connection to TrueConf Server
port
— server portdomain
— server domainrequestId
- a unique request identifier. You can learn more about it here.
See also: