To retrieve a Droplet action, send a GET request to
/v2/droplets/$DROPLET_ID/actions/$ACTION_ID.
The response will be a JSON object with a key called action. The value will
be a Droplet action object.
643 matches
60 actions
DigitalOcean
60 actions
Infrastructure/DigitalOcean
To retrieve a Droplet action, send a GET request to
/v2/droplets/$DROPLET_ID/actions/$ACTION_ID.
The response will be a JSON object with a key called action. The value will
be a Droplet action object.
{
"type": "object",
"properties": {
"action_id": {
"type": "integer"
},
"droplet_id": {
"type": "integer"
}
},
"required": [
"action_id",
"droplet_id"
],
"additionalProperties": false
}{
"properties": {
"action": {
"type": "object",
"properties": {
"completed_at": {
"type": "string",
"format": "date-time",
"description": "A time value given in ISO8601 combined date and time format that represents when the action was completed."
},
"id": {
"type": "integer",
"description": "A unique numeric ID that can be used to identify and reference an action."
},
"region": {
"type": "object",
"required": [
"available",
"features",
"name",
"sizes",
"slug"
],
"properties": {
"available": {
"type": "boolean",
"description": "This is a boolean value that represents whether new Droplets can be created in this region."
},
"features": {
"description": "This attribute is set to an array which contains features available in this region",
"items": {
"type": "string"
}
},
"name": {
"type": "string",
"description": "The display name of the region. This will be a full name that is used in the control panel and other interfaces."
},
"sizes": {
"description": "This attribute is set to an array which contains the identifying slugs for the sizes available in this region.",
"items": {
"type": "string"
}
},
"slug": {
"type": "string",
"description": "A human-readable string that is used as a unique identifier for each region."
}
}
},
"region_slug": {
"type": "object"
},
"resource_id": {
"type": "integer",
"description": "A unique identifier for the resource that the action is associated with."
},
"resource_type": {
"type": "string",
"description": "The type of resource that the action is associated with."
},
"started_at": {
"type": "string",
"format": "date-time",
"description": "A time value given in ISO8601 combined date and time format that represents when the action was initiated."
},
"status": {
"type": "string",
"description": "The current status of the action. This can be \"in-progress\", \"completed\", or \"errored\".",
"enum": [
"in-progress",
"completed",
"errored"
]
},
"type": {
"type": "string",
"description": "This is the type of action that the object represents. For example, this could be \"transfer\" to represent the state of an image transfer action."
}
}
}
}
}