To retrieve a specific action object, send a GET request to /v2/actions/$ACTION_ID
.
Name | Type | Required | Description | Default Value |
---|---|---|---|---|
action_id |
integer | True | A unique numeric ID that can be used to identify and reference an action. |
import os
from pydo import Client
client = Client(token=os.getenv("$DIGITALOCEAN_TOKEN"))
get_resp = client.actions.get(action_id=36804636)
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.