DO Ideas 2

Return snapshot ID when creating via API

With your API, when you create a snapshot it does not return a snapshot ID. It returns an action which is fine, but even the action doesn't contain the snapshot ID only the droplet ID. As a result there is no easy way of detecting the ID of the snapshot.

The only option is to give it a unique name and then loop through the images, the problem with this is running loops significantly slows down page loads.

Either the original request and/or the action should return the snapshot ID.

  • Anonymous
  • Sep 11 2018
  • Sep 11, 2018

    Admin Response

    Hi! This is something we are considering. For API related feedback, you can also open issues on GitHub. You might want to follow this related issue there: https://github.com/digitalocean/api-v2/issues/98 Thanks for the feedback!
  • Attach files
  • Soporte Mesi commented
    September 11, 2018 17:08

    I agree, it would be really useful to have that ID