restart-required

post/settings/api/v1/restart_required/{scope}

Verify if restart is required for given settings scope.

Responses

Request examples

{
  "db": {
    "conn_max_idletime": 900,
    "conn_max_lifetime": 900,
    "max_idle_conns": 2,
    "max_open_conns": 20
  },
  "housekeeping": {
    "data_retention_period": 180,
    "housekeeping_interval": 8,
    "status_check_interval": 10,
    "system_health_check_interval": 1,
    "cache_db_expiry_interval": 300,
    "verify_disk_mounts": "/:5GB,/var/log:5GB,/var/privx/audit:10GB"
  }
}

Response examples

OK

{
  "restart": true,
  "settings": {
    "db": {
      "conn_max_idletime": true,
      "conn_max_lifetime": true,
      "max_idle_conns": true,
      "max_open_conns": true
    },
    "housekeeping": {
      "data_retention_period": true,
      "housekeeping_interval": false,
      "status_check_interval": true,
      "system_health_check_interval": false,
      "cache_db_expiry_interval": false,
      "verify_disk_mounts": false
    }
  }
}

Was this page helpful?