Get management server settings
Get management server settings.
If Link is enabled - server will sync identifiers, access rules, logs etc.
If realtime logging is enabled - panel will send the logs in realtime to the server.
If heartbeat is enabled - panel will send keep alive to the server every 10 seconds. When MQTT protocol is used heartbeat is enabled by default.
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- Mqtt
- Htpp
Schema
- is_enabled boolean
describes feature status, true - on / false - off
- protocol string
Possible values: [
http
,mqtt
]connection protocol that is used to connect to management server (http/mqtt)
settings object
settings applied to connection to management server
oneOf- MOD1
- MOD2
url ipv4 or dnsServer address
password stringpassword for device authentication on management server
is_logging_enabled booleanwill send logs idf enabled
is_encrypted booleanIf enabled you can provide custom certificate with
POST /network/management/settings/certificate
or device will use default one.url ipv4 or dnsServer address
password stringpassword for device authentication on management server
is_logging_enabled booleanwill send logs if enabled
is_heartbeat_enabled booleanIf enabled device will send keep alive request every 10 seconds
{
"is_enabled": true,
"protocol": "mqtt",
"settings": {
"url": "link.bas-ip.com",
"password": "123abc",
"is_logging_enabled": false,
"is_encrypted": false
}
}
{
"is_enabled": false,
"protocol": "mqtt",
"settings": {
"url": "link.bas-ip.com",
"password": "123abc",
"is_logging_enabled": true,
"is_encrypted": true
}
}
{
"is_enabled": false,
"protocol": "http",
"settings": {
"url": "link.bas-ip.com",
"password": "123abc",
"is_logging_enabled": true,
"is_heartbeat_enabled": true
}
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
error message
{
"error": "Log In"
}
{
"error": "Log In"
}