DigitalOcean-public.v2-new_Droplet Autoscale Pools
List members
To list the Droplets in an autoscale pool, send a GET request to /v2/droplets/autoscale/$AUTOSCALE_POOL_ID/members.
The response body will be a JSON object with a key of droplets. This will be set to an array containing information about each of the Droplets in the autoscale pool.
get/v2/droplets/autoscale/{autoscale_pool_id}/members
Path parameters
autoscale_pool_idstring required
A unique identifier for an autoscale pool.
Query parameters
per_pageinteger
Number of items returned per page
pageinteger
Which 'page' of paginated results to return.
Response
A JSON object with a key of droplets.
Example response
{
"droplets": [
{
"droplet_id": 459903570,
"created_at": "2020-07-28T18:00:00Z",
"updated_at": "2020-07-28T18:00:00Z",
"health_status": "active",
"status": "active",
"current_utilization": {
"memory": 0.3588531587713522,
"cpu": 0.0007338008770232183
}
}
],
"links": {
"pages": {
"last": "https://api.digitalocean.com/v2/images?page=2",
"next": "https://api.digitalocean.com/v2/images?page=2"
}
},
"meta": {
"total": 1
}
}