pydo.functions.get_trigger()
Generated on 12 Dec 2025
from pydo version
v0.22.0
Description
Gets the trigger details. To get the trigger details, send a GET request to /v2/functions/namespaces/$NAMESPACE_ID/triggers/$TRIGGER_NAME.
Parameters
| Name | Type | Required | Description | Default Value |
|---|---|---|---|---|
namespace_id |
string | True | The ID of the namespace to be managed. | |
trigger_name |
string | True | The name of the trigger to be managed. |
Request Sample
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
resp = client.functions.get_trigger(namespace_id="aff93af3", trigger_name="trig_name")More Information
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.