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
"1" → Learn 

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
"1" → Multicast

status

string containing integer

Whether proxy settings synchronization is enabled

"0" → Disabled
"1" → Enabled

sync_style

string containing integer

Synchronization type

"1" → Full Sync
"2" → Template 

Example: Get synchronization configuration

Request

GET

/api/v1/appliance/syncsettings

cURL

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"
}