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
- Http
Schema
- is_enabled booleanDevice should try to connect to Management server 
- protocol stringPossible values: [ http,mqtt]User can choose between HTTP and MQTT protocols 
- settings object- Settings used for connecting to management server oneOf- MOD1
- MOD2
 url ipv4 or dns- Server address password string- Password for server authentication is_logging_enabled boolean- Should device send logs to server or not is_encrypted boolean- If enabled you can provide custom certificate with - POST /network/management/settings/certificateor device will use default one.url ipv4 or dns- Server address password string- Password for server authentication is_logging_enabled boolean- Should device send logs to server or not is_heartbeat_enabled boolean- If enabled device will send keep alive request every 10 seconds 
{
  "is_enabled": true,
  "protocol": "mqtt",
  "settings": {
    "url": "link.bas-ip.com:1883",
    "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
  }
}
Please log in
- application/json
- Schema
- Example (from schema)
- Example
Schema
- error object- Describes the base error user might get code string- Possible values: [ - invalid_authentication,- permission_denied,- not_valid,- system_error]- Error code message string- Error message - data object- Did not pass validation parameters. Can be represented as an object, which can include field names, arrays, query parameters etc. param string- Describes the parameter that did not pass a validation 
{
  "error": {
    "code": "not_valid",
    "message": "Data validation error",
    "data": {
      "param": "must be a string"
    }
  }
}
{
  "error": {
    "code": "invalid_authentication",
    "message": "Log In"
  }
}