EasyManua.ls Logo

Calnex Sentinel - Page 79

Calnex Sentinel
93 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Using Sentinel
CX3001 v7.0 © Calnex Solutions 79
calnexsol.com |
action
This parameter must be included and must be set equal to clear for the
clear
to be actioned.
Returns
JSON formatted status for the request:
{
"result" : true,
"message" : "Device data cleared. The device will now reboot."
}
If action is not included on the API call as a parameter the following response will be received:
{
"result" : false,
"message" : "Confirmation not provided"
}
If all user data cannot be deleted the following response will be received:
{
"result" : false,
"message" : "Device data could not all be removed. Please retry or reboot and then
retry."
}
Example
Browser
http://192.168.123.123/api/clear?action=clear
Curl
curl http://192.168.123.123/api/clear?action=clear
Reset
API Call
/api/reset
Summary
Reboot the Sentinel device.
Description
This service reboots the Sentinel device, no prompt or interlock will be provided.
action
must be included in the
request or the reboot will not take place, this is a mechanism to prevent accidental reboot by calling this API. No
mechanism is available to stop this service once it has been called.
Parameters
Name
Description
Required
action
This parameter must be included and must be set equal to reboot for the
reboot to be actioned.
Returns
JSON formatted status for the request:
{
"result" : true,
"message" : "Sentinel will now reboot"
}
Example
Browser
http://192.168.123.123/api/reset?action=reset
Curl
curl http://192.168.123.123/api/reset?action=reset

Related product manuals