Get Synchronization Configuration
Obtains synchronization configuration.
URL
/api/v1/appliance/syncsettings
HTTP Method
GET
URL Parameters
none
Response Parameters
Parameter |
Type |
Description |
---|---|---|
mode |
string containing integer |
Synchronization mode "0" → Teach |
password |
string |
Synchronization password |
peer |
array of strings containing IP addresses |
The IP address(es) of the peer(s) to sync with |
protocol |
string containing integer |
Transmission type "0" → Unicast |
status |
string containing integer |
Whether proxy settings synchronization is enabled "0" → Disabled |
sync_style |
string containing integer |
Synchronization type "1" → Full Sync |
Example: Get synchronization configuration
Request
/api/v1/appliance/syncsettings
curl -kv
-u api_ninja:ninja_password
-X GET
https://172.31.1.172:4849/api/v1/appliance/syncsettings
Response
{ "mode": "0", "password": "ninja_password", "peer": [ "4.3.2.1" ], "protocol": "0", "status": "0", "sync_style": "1" }