Skip to main content

actions

Overview

Nameactions
TypeResource
Iddigitalocean.actions.actions

Fields

NameDatatypeDescription
idintegerA unique numeric ID that can be used to identify and reference an action.
resource_idintegerA unique identifier for the resource that the action is associated with.
completed_atstringA time value given in ISO8601 combined date and time format that represents when the action was completed.
statusstringThe current status of the action. This can be "in-progress", "completed", or "errored".
started_atstringA time value given in ISO8601 combined date and time format that represents when the action was initiated.
typestringThis is the type of action that the object represents. For example, this could be "transfer" to represent the state of an image transfer action.
regionobject
region_slugstringA human-readable string that is used as a unique identifier for each region.
resource_typestringThe type of resource that the action is associated with.

Methods

NameAccessible byRequired ParamsDescription
getSELECTaction_idTo retrieve a specific action object, send a GET request to /v2/actions/$ACTION_ID.
listSELECTThis will be the entire list of actions taken on your account, so it will be quite large. As with any large collection returned by the API, the results will be paginated with only 20 on each page by default.
_getEXECaction_idTo retrieve a specific action object, send a GET request to /v2/actions/$ACTION_ID.
_listEXECThis will be the entire list of actions taken on your account, so it will be quite large. As with any large collection returned by the API, the results will be paginated with only 20 on each page by default.