Question

Did the API v1 url change?

Posted August 26, 2014 1.9k views

Having trouble connecting to the v1 API.

As far as I can tell (can’t find any official info on it) it was:
https://api.digitalocean.com/[API_resource]/
and now it is:
https://api.digitalocean.com/v1/[API_resource]/
for old api and:
https://api.digitalocean.com/v2/[API_resource]/
for new api.

Am I right in assuming the v1 url has changed?

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.

×
1 answer

https://api.digitalocean.com/v1/ can be used to access APIv1 while https://api.digitalocean.com/v2/ can be used to access APIv2.

For the time being, https://api.digitalocean.com/ can still be used to acess APIv1, but at somepoint in the near future this will be deprecated. Using the versioned URL is highly recommended.

The documentation for APIv1 is now found here.

Submit an Answer