Question
Does Libcloud work with DigitalOcean's v2 API?
I was using Apache Libcloud with v1 of the DigitalOcean API before. But I see that v1 is now deprecated.
Does it work with v2? At least for creating droplets?
Note: I looked through the libcloud repo and docs for info about this, but I didn’t find anything.
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.
×
Hi coffeepot,
I assume no staffer got back to you on this one.
I assume by now you’ve found the answer.
The answer is no. Apache Libcloud library only works
with the older v1 API right now – Which is problematic
as I have run into several issues with that.
cheers
James
What is the status of Libcloud support for DigitalOcean API v2 now? This link claims v2 of DO API is supported now (apache-libcloud==0.17.0) and is supposed to become the default in the next release.
However if I try the v2 example from the above link:
I get “Access Denied”. The same access token with a curl request works fine.
Thanks for any update!
From https://libcloud.readthedocs.org/en/latest/compute/drivers/digital_ocean.html
Since trunk (to be libcloud v0.18.0), the driver uses new API v2.0 by default.