List all app alerts
List alerts associated to the app and any components. This includes configuration information about the alerts including emails, slack webhooks, and triggering events or conditions.
Path parameters
The app ID
Response
A JSON object with a alerts key. This is list of object alerts.
Example response
{
"alerts": [
{
"id": "4f6c71e2-1e90-4762-9fee-6cc4a0a9f2cf",
"component_name": "backend",
"spec": {
"rule": "CPU_UTILIZATION",
"operator": "GREATER_THAN",
"value": 2.32,
"window": "FIVE_MINUTES"
},
"emails": [
"sammy@digitalocean.com"
],
"slack_webhooks": [
{
"url": "https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX",
"channel": "Channel Name"
}
],
"phase": "ACTIVE",
"progress": {
"steps": [
{
"name": "example_step",
"status": "SUCCESS",
"started_at": "2020-11-19T20:27:18Z",
"ended_at": "2020-11-19T20:27:18Z",
"reason": {
"code": "Title of Error",
"message": "This is an error"
}
}
]
}
}
]
}Changes
Changed in 5 of the 8 revisions of this API.114
- ○
api tag
DigitalOcean-public.v2-new_Appsaddedapi-tag-added
- ○
api tag
Appsremovedapi-tag-removed
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
added the new
AUTOSCALE_SUCCEEDEDenum value to thealerts/items/spec/ruleresponse property for the response status200response-property-enum-value-added
This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
endpoint added
endpoint-added
This revision also has 70 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 436 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
endpoint added
endpoint-added
This revision also has 70 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○