Api\AlertRuleController
api/alert-rules/{id} POST Create the specified user alert rule.
post/api/alert-rules
Headers
Authorizationstring
Content-Typestring
Acceptstring
Accept-languagestring
Request body
Example request
{
"name": "animi",
"description": "veritatis",
"measurement_id": 11,
"calculation": "quia",
"comparator": "suscipit",
"comparison": "id",
"threshold_value": 4993321.5227,
"calculation_minutes": 4,
"alert_on_occurrences": 18,
"webhook_url": "est",
"active": true,
"exclude_months": [
1,
2,
3,
11,
12
],
"exclude_hours": [
0,
1,
2,
3,
22,
23
],
"exclude_hive_ids": [
"et"
]
}