DO Ideas 2

Add several options at image API

If I check my image data from API with /images/[image_id], it only shown id, name, and distribution. Can you please give information about image's creation time and location like you shown at your control panel?

It shown:

[0] => Array
(
[id] => 368563
[name] => 20130526_0955
[slug] =>
[distribution] => Ubuntu
)

I need:

[0] => Array
(
[id] => 368563
[name] => 20130526_0955
[slug] =>
[distribution] => Ubuntu
[creation_time] => 2013-06-01 21:12:03
[location] => New York 1
[distribution] => Ubuntu
)

Thank you.

  • Wiwid
  • Sep 11 2018
  • Shipped
  • Sep 11, 2018

    Admin Response

    Hi! We recently release version 2 of our API into public beta. This includes adding a created_at attribute and an array of available regions to the image endpoint. Check out the documentation: https://developers.digitalocean.com/#images 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
  • Wiwid commented
    September 11, 2018 18:31

    Sorry for late comment. I didn't expect my suggestion applied :D. And now I am really using this feature.

  • Ryan Carr commented
    September 11, 2018 18:31

    I would SO love to have this. My automated snapshot script does well in creating but I have no way of really deleting images by date.

  • Wiwid commented
    September 11, 2018 18:31

    Also, if possible, the size (MB / GB) of the image. Based on that, we can assume the size of droplet which will be created.