To retrieve all actions that have been executed on an image, send a GET request to /v2/images/$IMAGE_ID/actions
.
Name | Type | Required | Description | Default Value |
---|---|---|---|---|
image_id |
integer | True | A unique number that can be used to identify and reference a specific image. |
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
resp = client.image_actions.list(image_id=7938269)
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.