Class WatchdogController

Assembly: redb.Tsak.Core.dll

REST API for the Route Watchdog: status, alerts, enable/disable, alert-delivery test.

[Route("/api/watchdog")]
public class WatchdogController : RedbController

Inheritance

Object→RedbController→WatchdogController

Inherited Members

Methods

Disable()

[HttpPost("/disable")]
public object Disable()

Enable()

[HttpPost("/enable")]
public object Enable()

GetAlerts()

[HttpGet("/alerts")]
public object GetAlerts()

GetAlertStatus()

Alert-delivery status: is delivery active, and which channels are enabled.

[HttpGet("/alerts/status")]
public object GetAlertStatus()

GetStatus()

[HttpGet("/status")]
public object GetStatus()

TestAlert()

Sends a synthetic alert through every enabled channel and reports the per-channel outcome —

[HttpPost("/test-alert")]
public Task<object> TestAlert()