v3 API//
- Search Alerts for assigning them to other items (audits, WJs etc)
Create Alert
Get specific Alert by ID
Update specific Alert
Delete specific Alert
Update labels for an Alert
Get Alerts Library items
Get Alerts by metric
Search target items (data sources - audits, journeys etc) that may have specified Alert assigned or not assigned
Update target items (data sources) that have specified Alert assigned
Update Alerts assigned to specified item (audit, journey etc)
Search Alerts for assigni...
POST /v3/alerts/search/assignments
Security
API_Key
When value is present it works as "alert name contains given substring" filter
non-empty array of labels present on an alert, works as "alert has all specified labels" filter
POST
curl -i -X POST \
'https://api.observepoint.com/v3/alerts/search/assignments?size=50&page=0&sortBy=ALERT_NAME&sortDesc=false' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"targetItem": {
"itemType": "AUDIT",
"itemId": 0,
"isAssigned": true
},
"search": "string",
"labels": [
223
],
"isDefaultForNewDataSources": true
}'Response
{ "metadata": { "pagination": { … } }, "alerts": [ { … } ] }