digitaloceanapi2

Cloud Host DigitalOcean Launches Public Beta of New API

1 comment

Cloud host DigitalOcean has made its reworked API available in public beta, allowing hosting customers to manage a wider variety of DigitalOcean actions in a more intuitive way than before.

According to a Tuesday blog post, DigitalOcean API v2.0 provides a truly RESTful API which developers can use to make calls to retrieve information or to execute actions via standard HTTP methods (GET, POST, PUT, DELETE and HEAD).

The company has released a “Getting Started” guide, and a list of API v2 libraries which currently include PHP and Ruby libraries, and full documentation is available on Github.

Other improvements in version 2 include better authentication, allowing users to create API tokens that provide read-only or read/write access to their account without exposing their credentials. Developers can also use “slugs” (in addition to the numeric IDs) to provide intuitive references to sizes, regions, domains, public SSH keys, and public images.

Building on its introduction of public IPv6 addresses at its new Singapore region data center, the new API now supports IPv6 actions, such as creating a virtual machine (known in DigitalOcean-speak as a “Droplet”) with IPv6 enabled and enabling IPv6 on existing Singapore servers.

Developers can also change their Droplet’s kernel, making upgrades via API much more seamless.

DigitalOcean hopes to eventually allow third party application developers to be able to easily create and integrate their applications on top of the new API via OAuth.

The company has also made other refinements such as paginating results pages to make information easier to sort through.

Since its launch in 2011, DigitalOcean grown considerably and has become a favorite web host among developers. In March, the company closed a $37.2 million Series A led by Andreessen Horowitz that also included IA Ventures and CrunchFund.

About the Author

David Hamilton is a Toronto-based technology journalist who has written for the National Post and other news outlets. He has covered the hosting industry internationally for the Web Host Industry Review with particular attention to innovative hosting solutions and the issues facing the industry. David is a graduate of Queen’s University and the Humber College School of Media Studies.

Add Your Comments

  • (will not be published)

One Comment

  1. Just further to your article - I believe that, come its release in the next week or so, our plugin will be the first thing built on the new API! It can be found at our website in the comments. Thanks, GravityDO

    Reply