Returns
A preset format list of the current Sentinel settings:
[api]
cached_login_timeout=1 hours
clear_cahce_seed_change=Yes
http_enabled=Yes
https_enabled=Yes
key_seed1=12345
key_seed1_enabled=No
[e1t1_outputs]
e1_encoding=HDB3
e1_framing=HDB3 without CRC-4
mode=Disabled
t1_encoding=B8ZS
t1_framing=D4/Superframe
…
Example
Browser
https://192.168.123.123/api/getsettings
Curl
curl http://192.168.123.123/api/getsettings
SetSettings
API Call
/api/setsettings
Summary
Upload a new configuration to the Sentinel in preset file format
Description
Upload a new complete settings configuration to the Sentinel. The file uploaded should be in the same format as
obtained via getsettings
.
It would also be possible to change the Sentinel configuration using this file and the
Recall Settings menu option on the Sentinel GUI.
Parameters
If this parameter is set to
default
whilst calling the service, all settings
will be restored to their default values.
Returns
JSON status code indicating success status:
{
"result" : true,
}
On failure, Sentinel will give an indication of why the measurement could not be stopped.
{
"result" : false,
"message" : "Could not load settings"
}