List all deployments of an app.
Name | Type | Required | Description | Default Value |
---|---|---|---|---|
app_id |
string | True | The app ID | |
page |
integer | False | Which ‘page’ of paginated results to return. | 1 |
per_page |
integer | False | Number of items returned per page | 20 |
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
get_resp = client.apps.list_deployments(app_id="4f6c71e2")
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.