v1

latestOpenAPI 3.0.32026-07-171140286.6 KB
Api\AlertController

api/alerts/{id} POST Create the specified user alert.

post/api/alerts

Headers

Authorizationstring
Content-Typestring
Acceptstring
Accept-languagestring

Request body

alert_rule_idinteger required

The alert rule that has been alerted for.

measurement_idinteger required

The physical quantity / unit to alert for.

alert_valuestring required

The alert value.

showboolean

Set to false (0) if the alert should NOT be shown anymore.

Example request

{
  "alert_rule_id": 20,
  "measurement_id": 3,
  "alert_value": "mollitia"
}