DO Ideas 2

Add distribution and image os name to the droplet api list

When using /droplets api it will show image_id, however in the images list some of the old image os ids have been removed and therefore the /images api list id do not match the image_id of the droplet. It would be much better to just show the distribution and image os name in the /droplets and /droplet api call directly.

So the response would be something like:
{
"status": "OK",
"droplets": [
{
"backups_active": null,
"id": 100000,
"image_id": 10000,
"image_distribution": "Ubuntu",
"image_name": "LAMP on Ubuntu 12.04",
"name": "test222",
"region_id": 1,
"size_id":33,
"status": "active"
}
]
}

  • eblive
  • Sep 11 2018
  • Shipped
  • Sep 11, 2018

    Admin Response

    Hi! We recently released version 2 of our API into public beta. The droplet end point now returns much more information, including a distribution attribute. Check out the documentation: https://developers.digitalocean.com/#droplets While the beta is on-going, we’re looking for as much feedback as possible. If there’s anything else you’d like to see in the API, please open an issue over on our GitHub page: http://do.co/APIv2_feedback Thanks!
  • Attach files