pydo.apps.get_exec_active_deployment()

Generated on 17 Apr 2025 from pydo version v0.10.0

Description

Returns a websocket URL that allows sending/receiving console input and output to a component of the active deployment if one exists.

Parameters

Name Type Required Description Default Value
app_id string True The app ID
component_name string True An optional component name. If set, logs will be limited to this component only.

Request Sample

import os
from pydo import Client

client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))

get_resp = client.apps.get_exec_active_deployment(app_id="a6adf840", component_name="component")

More Information

See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.