v3 API//
- Search target items (data sources - audits, journeys etc) that may have specified Alert assigned or not assigned
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
Update target items (data sources) that have specified Alert assigned
Search Alerts for assigning them to other items (audits, WJs etc)
Update Alerts assigned to specified item (audit, journey etc)
Search target items (data...
POST /v3/alerts/target-items/{itemType}/search
Security
API_Key
if alertId is NOT specified, assignedToAlert is ignored. if alertId IS specified assignedToAlert has 3 states: when TRUE - only items assigned to the specified alert will be returned; when FALSE - only NOT assigned; when NOT specified or NULL - both assigned and not assigned items will be returned
ID of the item that can have assigned Alert(s) onto it. See also AlertAssignmentTypeEnum
non-empty array of labels present on an item, works as "item has all specified labels" filter
POST
curl -i -X POST \
'https://api.observepoint.com/v3/alerts/target-items/{itemType}/search?size=50&page=0&sortBy=IS_ASSIGNED&sortDesc=false' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"alertId": 0,
"assignedToAlert": true,
"itemName": "string",
"itemId": 0,
"itemLabels": [
223
],
"folders": [
{
"folderId": 123,
"domains": [
123
]
}
]
}'Response
{ "metadata": { "pagination": { … } }, "items": [ { … } ] }