Question

Snapshot API - is it possibile to get a list of running snapshot?

Posted April 27, 2021 100 views
DigitalOceanAPI

Hello,
I didn’t find any API about a list of running processes about snapshot api.
Is there an endpoint to get a list of snapshots that are running?

Thank you

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

Hi there,

When you execute Snapshot actions, it returns an action ID.

Then you can use this Action ID and retrieve the status of the action. You can take a look at the actions documentation here:

https://developers.digitalocean.com/documentation/v2/#retrieve-a-droplet-action

For more details I would recommend taking a look at this very good answer here:

https://www.digitalocean.com/community/questions/how-do-i-get-the-id-from-a-snapshot-during-creation-via-api

Hope that this helps!
Regards,
Bobby