Chapter 3. Alert Service
3.1. Alert Service Copy linkLink copied to clipboard!
3.1.1. CountAlerts Copy linkLink copied to clipboard!
GET /v1/alertscount
CountAlerts counts how many alerts match the get request.
3.1.1.1. Description Copy linkLink copied to clipboard!
3.1.1.2. Parameters Copy linkLink copied to clipboard!
3.1.1.2.1. Query Parameters Copy linkLink copied to clipboard!
| Name | Description | Required | Default | Pattern |
|---|---|---|---|---|
| query | - | null | ||
| pagination.limit | - | null | ||
| pagination.offset | - | null | ||
| pagination.sortOption.field | - | null | ||
| pagination.sortOption.reversed | - | null | ||
| pagination.sortOption.aggregateBy.aggrFunc | - | UNSET | ||
| pagination.sortOption.aggregateBy.distinct | - | null |
3.1.1.3. Return Type Copy linkLink copied to clipboard!
3.1.1.4. Content Type Copy linkLink copied to clipboard!
- application/json
3.1.1.5. Responses Copy linkLink copied to clipboard!
| Code | Message | Datatype |
|---|---|---|
| 200 | A successful response. | |
| 0 | An unexpected error response. |
3.1.1.6. Samples Copy linkLink copied to clipboard!
3.1.2. DeleteAlerts Copy linkLink copied to clipboard!
DELETE /v1/alerts
3.1.2.1. Description Copy linkLink copied to clipboard!
3.1.2.2. Parameters Copy linkLink copied to clipboard!
3.1.2.2.1. Query Parameters Copy linkLink copied to clipboard!
| Name | Description | Required | Default | Pattern |
|---|---|---|---|---|
| query.query | - | null | ||
| query.pagination.limit | - | null | ||
| query.pagination.offset | - | null | ||
| query.pagination.sortOption.field | - | null | ||
| query.pagination.sortOption.reversed | - | null | ||
| query.pagination.sortOption.aggregateBy.aggrFunc | - | UNSET | ||
| query.pagination.sortOption.aggregateBy.distinct | - | null | ||
| confirm | - | null |
3.1.2.3. Return Type Copy linkLink copied to clipboard!
3.1.2.4. Content Type Copy linkLink copied to clipboard!
- application/json
3.1.2.5. Responses Copy linkLink copied to clipboard!
| Code | Message | Datatype |
|---|---|---|
| 200 | A successful response. | |
| 0 | An unexpected error response. |
3.1.2.6. Samples Copy linkLink copied to clipboard!
3.1.3. GetAlert Copy linkLink copied to clipboard!
GET /v1/alerts/{id}
GetAlert returns the alert given its id.
3.1.3.1. Description Copy linkLink copied to clipboard!
3.1.3.2. Parameters Copy linkLink copied to clipboard!
3.1.3.2.1. Path Parameters Copy linkLink copied to clipboard!
| Name | Description | Required | Default | Pattern |
|---|---|---|---|---|
| id | X | null |
3.1.3.3. Return Type Copy linkLink copied to clipboard!
3.1.3.4. Content Type Copy linkLink copied to clipboard!
- application/json
3.1.3.5. Responses Copy linkLink copied to clipboard!
| Code | Message | Datatype |
|---|---|---|
| 200 | A successful response. | |
| 0 | An unexpected error response. |
3.1.3.6. Samples Copy linkLink copied to clipboard!
3.1.4. GetAlertTimeseries Copy linkLink copied to clipboard!
GET /v1/alerts/summary/timeseries
GetAlertTimeseries returns the alerts sorted by time.
3.1.4.1. Description Copy linkLink copied to clipboard!
3.1.4.2. Parameters Copy linkLink copied to clipboard!
3.1.4.2.1. Query Parameters Copy linkLink copied to clipboard!
| Name | Description | Required | Default | Pattern |
|---|---|---|---|---|
| query | - | null | ||
| pagination.limit | - | null | ||
| pagination.offset | - | null | ||
| pagination.sortOption.field | - | null | ||
| pagination.sortOption.reversed | - | null | ||
| pagination.sortOption.aggregateBy.aggrFunc | - | UNSET | ||
| pagination.sortOption.aggregateBy.distinct | - | null |
3.1.4.3. Return Type Copy linkLink copied to clipboard!
3.1.4.4. Content Type Copy linkLink copied to clipboard!
- application/json
3.1.4.5. Responses Copy linkLink copied to clipboard!
| Code | Message | Datatype |
|---|---|---|
| 200 | A successful response. | |
| 0 | An unexpected error response. |
3.1.4.6. Samples Copy linkLink copied to clipboard!
3.1.5. GetAlertsCounts Copy linkLink copied to clipboard!
GET /v1/alerts/summary/counts
GetAlertsCounts returns the number of alerts in the requested cluster or category.
3.1.5.1. Description Copy linkLink copied to clipboard!
3.1.5.2. Parameters Copy linkLink copied to clipboard!
3.1.5.2.1. Query Parameters Copy linkLink copied to clipboard!
| Name | Description | Required | Default | Pattern |
|---|---|---|---|---|
| request.query | - | null | ||
| request.pagination.limit | - | null | ||
| request.pagination.offset | - | null | ||
| request.pagination.sortOption.field | - | null | ||
| request.pagination.sortOption.reversed | - | null | ||
| request.pagination.sortOption.aggregateBy.aggrFunc | - | UNSET | ||
| request.pagination.sortOption.aggregateBy.distinct | - | null | ||
| groupBy | - | UNSET |
3.1.5.3. Return Type Copy linkLink copied to clipboard!
3.1.5.4. Content Type Copy linkLink copied to clipboard!
- application/json
3.1.5.5. Responses Copy linkLink copied to clipboard!
| Code | Message | Datatype |
|---|---|---|
| 200 | A successful response. | |
| 0 | An unexpected error response. |
3.1.5.6. Samples Copy linkLink copied to clipboard!
3.1.6. GetAlertsGroup Copy linkLink copied to clipboard!
GET /v1/alerts/summary/groups
GetAlertsGroup returns alerts grouped by policy.
3.1.6.1. Description Copy linkLink copied to clipboard!
3.1.6.2. Parameters Copy linkLink copied to clipboard!
3.1.6.2.1. Query Parameters Copy linkLink copied to clipboard!
| Name | Description | Required | Default | Pattern |
|---|---|---|---|---|
| query | - | null | ||
| pagination.limit | - | null | ||
| pagination.offset | - | null | ||
| pagination.sortOption.field | - | null | ||
| pagination.sortOption.reversed | - | null | ||
| pagination.sortOption.aggregateBy.aggrFunc | - | UNSET | ||
| pagination.sortOption.aggregateBy.distinct | - | null |
3.1.6.3. Return Type Copy linkLink copied to clipboard!
3.1.6.4. Content Type Copy linkLink copied to clipboard!
- application/json
3.1.6.5. Responses Copy linkLink copied to clipboard!
| Code | Message | Datatype |
|---|---|---|
| 200 | A successful response. | |
| 0 | An unexpected error response. |
3.1.6.6. Samples Copy linkLink copied to clipboard!
3.1.7. ListAlerts Copy linkLink copied to clipboard!
GET /v1/alerts
List returns the slim list version of the alerts.
3.1.7.1. Description Copy linkLink copied to clipboard!
3.1.7.2. Parameters Copy linkLink copied to clipboard!
3.1.7.2.1. Query Parameters Copy linkLink copied to clipboard!
| Name | Description | Required | Default | Pattern |
|---|---|---|---|---|
| query | - | null | ||
| pagination.limit | - | null | ||
| pagination.offset | - | null | ||
| pagination.sortOption.field | - | null | ||
| pagination.sortOption.reversed | - | null | ||
| pagination.sortOption.aggregateBy.aggrFunc | - | UNSET | ||
| pagination.sortOption.aggregateBy.distinct | - | null |
3.1.7.3. Return Type Copy linkLink copied to clipboard!
3.1.7.4. Content Type Copy linkLink copied to clipboard!
- application/json
3.1.7.5. Responses Copy linkLink copied to clipboard!
| Code | Message | Datatype |
|---|---|---|
| 200 | A successful response. | |
| 0 | An unexpected error response. |
3.1.7.6. Samples Copy linkLink copied to clipboard!
3.1.8. ResolveAlert Copy linkLink copied to clipboard!
PATCH /v1/alerts/{id}/resolve
ResolveAlert marks the given alert (by ID) as resolved.
3.1.8.1. Description Copy linkLink copied to clipboard!
3.1.8.2. Parameters Copy linkLink copied to clipboard!
3.1.8.2.1. Path Parameters Copy linkLink copied to clipboard!
| Name | Description | Required | Default | Pattern |
|---|---|---|---|---|
| id | X | null |
3.1.8.2.2. Body Parameter Copy linkLink copied to clipboard!
| Name | Description | Required | Default | Pattern |
|---|---|---|---|---|
| body | X |
3.1.8.3. Return Type Copy linkLink copied to clipboard!
Object
3.1.8.4. Content Type Copy linkLink copied to clipboard!
- application/json
3.1.8.5. Responses Copy linkLink copied to clipboard!
| Code | Message | Datatype |
|---|---|---|
| 200 | A successful response. |
|
| 0 | An unexpected error response. |
3.1.8.6. Samples Copy linkLink copied to clipboard!
3.1.9. ResolveAlerts Copy linkLink copied to clipboard!
PATCH /v1/alerts/resolve
ResolveAlertsByQuery marks alerts matching search query as resolved.
3.1.9.1. Description Copy linkLink copied to clipboard!
3.1.9.2. Parameters Copy linkLink copied to clipboard!
3.1.9.2.1. Body Parameter Copy linkLink copied to clipboard!
| Name | Description | Required | Default | Pattern |
|---|---|---|---|---|
| body | X |
3.1.9.3. Return Type Copy linkLink copied to clipboard!
Object
3.1.9.4. Content Type Copy linkLink copied to clipboard!
- application/json
3.1.9.5. Responses Copy linkLink copied to clipboard!
| Code | Message | Datatype |
|---|---|---|
| 200 | A successful response. |
|
| 0 | An unexpected error response. |
3.1.9.6. Samples Copy linkLink copied to clipboard!
3.1.10. SnoozeAlert Copy linkLink copied to clipboard!
PATCH /v1/alerts/{id}/snooze
SnoozeAlert is deprecated.
3.1.10.1. Description Copy linkLink copied to clipboard!
3.1.10.2. Parameters Copy linkLink copied to clipboard!
3.1.10.2.1. Path Parameters Copy linkLink copied to clipboard!
| Name | Description | Required | Default | Pattern |
|---|---|---|---|---|
| id | X | null |
3.1.10.2.2. Body Parameter Copy linkLink copied to clipboard!
| Name | Description | Required | Default | Pattern |
|---|---|---|---|---|
| body | X |
3.1.10.3. Return Type Copy linkLink copied to clipboard!
Object
3.1.10.4. Content Type Copy linkLink copied to clipboard!
- application/json
3.1.10.5. Responses Copy linkLink copied to clipboard!
| Code | Message | Datatype |
|---|---|---|
| 200 | A successful response. |
|
| 0 | An unexpected error response. |