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": "ipsa",
"description": "inventore",
"measurement_id": 4,
"calculation": "omnis",
"comparator": "cum",
"comparison": "eos",
"threshold_value": 36.3091,
"calculation_minutes": 20,
"alert_on_occurrences": 11,
"webhook_url": "animi",
"exclude_months": [
1,
2,
3,
11,
12
],
"exclude_hours": [
0,
1,
2,
3,
22,
23
],
"exclude_hive_ids": [
"ea"
]
}