Api\AlertRuleController
api/alert-rules/{id} POST Create the specified user alert rule.
post/api/alert-rules
Headers
Authorizationstring
Content-Typestring
Acceptstring
Request body
Example request
{
"name": "unde",
"description": "ea",
"measurement_id": 14,
"calculation": "suscipit",
"comparator": "ex",
"comparison": "pariatur",
"threshold_value": 6574.72941,
"calculation_minutes": 12,
"alert_on_occurrences": 12,
"alert_via_email": true,
"webhook_url": "veritatis",
"exclude_months": [
1,
2,
3,
11,
12
],
"exclude_hours": [
0,
1,
2,
3,
22,
23
],
"exclude_hive_ids": [
"qui"
]
}