
How-To: Remote Control the Robin
Robin Tech Note
Go-to-Robin using HTTP commands
Using HTTP commands, the Robin can connect, check the status and close the connection with the
G0-to-Robin remote server.
The Robin will answer to these commands in JSON.
Command:
curl -u admin:<password> “http://<address>/api/v1/tunnel_connect”
Goal:
Start the ‘Go-To-Robin’ connection (to enable remote support access to the Robin)
Answer:
{
“ok”:true,”rv”:[]
}
Command:
curl -u admin:<password> “http://<address>/api/v1/tunnel_disconnect”
Goal:
Close the ‘Go-To-Robin’ connection
Answer:
{
“ok”:true,”rv”:[]
}
Command:
curl -u admin:<password> “http://<address>/api/v1/tunnel_status”
Goal:
Retrieve the connection status of the ‘Go-To-Robin’ connection - In this example:
‘Connected’
Answer:
{
“ok”:true,”rv”:{“status”:”connected”}
}