Retrieve details about an existing app by either its ID or name. To retrieve an app by its name, do not include an ID in the request path. Information about the current active deployment as well as any in progress ones will also be included in the response.
Name | Type | Required | Description | Default Value |
---|---|---|---|---|
id |
string | True | The ID of the app | |
name |
string | False | The name of the app to retrieve. |
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
create_resp = client.apps.get(id="4f6c71e2")
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.