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.
Name | Type | Required | Description | Default Value |
---|---|---|---|---|
app_id |
string | True | The app ID |
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
get_resp = client.apps.list_alerts(app_id="4f6c71e2")
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.