WebApp
Web Apps

Get the web app health check settings

Changed on

This function returns the settings the scheduled web application health check runs with.

These are the effective values, so a server whose settings have never been changed reports the defaults rather than an empty answer.

get/WebApp/get_health_settings

Request

  • Base URL
    https://whm-server.tld:2087/json-api
  • Auth
    HTTP basic

Response

HTTP Request was successful.

Example response

{
  "data": {
    "auto_recovery": 1,
    "cooldown": 600,
    "daily_cap": 10,
    "sweep_interval": 300
  },
  "metadata": {
    "command": "get_health_settings",
    "namespace": "WebApp",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}

Changes