Alerts
Operations related to Alerts for monitoring platform events and triggering notifications based on predefined conditions. Enables automated alerting for critical events such as segment drops, with configurable alert types and delivery preferences.
Organisation owning the alerts
Community owning the alerts
Datamart owning the alerts
The type of the alerts
The subtype of the alerts
Segment link to the alert
If true the result will contain only archived alerts
Offset from which the search must be performed
Number of maximum items that shall be return by this search
We return alerts from this date
We return alerts to this date
Either we should return archived AND unarchived alerts or not
Either we should return only last non-archived alert for each segment
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/alerts HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"total": 1,
"max_results": 1,
"count": 1,
"data": [
{
"drop_rate_from_initial": 0,
"user_point_count": 0,
"created_ts": 0,
"segment": {
"segment_type": "USER_LIST",
"segment_id": "text",
"segment_name": "text",
"feeds_count": 0,
"user_points_count": 0
},
"last_count_ts": 0,
"id": "text",
"archived": false,
"count": 0,
"expiration": 0,
"archived_by": "text",
"organisation_id": "text",
"archived_ts": 0,
"user_point_count_from_initial": 0,
"community_id": "text",
"drop_rate": 0,
"datamart_id": "text"
}
],
"first_result": 1,
"status": "ok"
}The alert id
Success !
Error response
Error response
Error response
Error response
Error response
Error response
PUT /v1/alerts/{alert_id}?archive=true HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"type": "SEGMENT_VOLUME_DROP",
"drop_rate_from_initial": 0,
"user_point_count": 0,
"created_ts": 0,
"segment": {
"segment_type": "USER_LIST",
"segment_id": "text",
"segment_name": "text",
"feeds_count": 0,
"user_points_count": 0
},
"last_count_ts": 0,
"id": "text",
"archived": false,
"count": 0,
"expiration": 0,
"archived_by": "text",
"organisation_id": "text",
"archived_ts": 0,
"user_point_count_from_initial": 0,
"community_id": "text",
"drop_rate": 0,
"datamart_id": "text"
}
}The alert id
Success response
Error response
Error response
Error response
Error response
Error response
Error response
DELETE /v1/alerts/{alert_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok"
}Last updated
Was this helpful?