pydo.image_actions.get()
Generated on 16 Jun 2025
from pydo
version
v0.11.0
Description
To retrieve the status of an image action, send a GET request to /v2/images/$IMAGE_ID/actions/$IMAGE_ACTION_ID
.
Parameters
Name | Type | Required | Description | Default Value |
---|---|---|---|---|
image_id |
integer | True | A unique number that can be used to identify and reference a specific image. | |
action_id |
integer | True | A unique numeric ID that can be used to identify and reference an action. |
Request Sample
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
resp = client.image_actions.get(action_id=36805527, image_id=7938269)
More Information
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.