Question

Using Api as a Client Website creation

  • Posted January 7, 2014
  1. With the API can I get the root password for my droplets?
  2. With the api can I make a snapshot based on an image? a. Useful for creating a similar vm but then running automated scripts for customizing to the client needs
Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Sounds like Salt Cloud may be a good fit, for what you’re looking to accomplish. <i>See</i> <a href=“https://www.digitalocean.com/community/articles/automated-provisioning-of-digitalocean-cloud-servers-with-salt-cloud-on-ubuntu-12-04”>Automated Provisioning of DigitalOcean Cloud Servers with Salt Cloud on Ubuntu 12.04</a>.

a. /droplets/new has image_id parameter so you can use image created before and make new droplets based on it

1] currently no <br>2] not sure what you mean. you can take snapshot (/droplets/[droplet_id]/snapshot) and use it as an image for restore/rebuild (/droplets/[droplet_id]/restore|rebuild). you will see it in /images call also.