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": "repudiandae",
"description": "impedit",
"measurement_id": 9,
"calculation": "quos",
"comparator": "sit",
"comparison": "ut",
"threshold_value": 45182.8264,
"calculation_minutes": 19,
"alert_on_occurrences": 11,
"alert_via_email": true,
"webhook_url": "maxime",
"active": true,
"exclude_months": [
1,
2,
3,
11,
12
],
"exclude_hours": [
0,
1,
2,
3,
22,
23
],
"exclude_hive_ids": [
"corrupti"
]
}