Api\AlertRuleController
api/alert-rules/{id} POST Create the specified user alert rule.
Changed onpost/api/alert-rules
Request
- Base URLhttps://api.beep.nl
- URLhttps://api.beep.nl/api/alert-rules
- AuthHTTP bearer
Headers
Authorizationstring
Content-Typestring
Acceptstring
Accept-languagestring
Request body
Example request
{
"name": "repellendus",
"description": "nihil",
"measurement_id": 12,
"threshold_value": 3527054.7321377,
"formulas": [
[]
],
"calculation_minutes": "totam",
"alert_on_occurrences": 19,
"webhook_url": "voluptas",
"active": true,
"exclude_months": [
1,
2,
3,
11,
12
],
"exclude_hours": [
0,
1,
2,
3,
22,
23
],
"exclude_hive_ids": [
"corporis"
]
}Changes
- breaking
the request property
became required - breaking
the
request property type changed fromintegertostring - info
added the new optional request property
- info
the request property
became optional - info
the request property
became optional - info
the request property
became optional - info
the request property
became optional - info
the request property
became optional
- breaking
- info
added the new optional
headerrequest parameterAccept-language
- info