Personal tools
You are here: Home Blog Archive 2010 May 06 The new RESTful API *PREVIEW*
Document Actions

The new RESTful API *PREVIEW*

Filed Under:

For over a year, we've had an API available based on XML::RPC.  It wasn't popular and it was difficult to support and keep up to date.  However, today I present to you a *PREVIEW* of our RESTful API.  Results are returned in JSON.  You can now authenticate and push requests to the cloud-shell interface via HTTP. 

The interface is in extreme-beta-state for the moment, as it only provides RAW access to  the STDOUT of the methods as run through the interactive cloud-shell.   The output must be cleaned up, the proper return-values and data-types must be returned.  Interpreting HTTP-POST data as script should also be implemented.  Once this is all complete, we'll mark it as stable.  I'm estimating a week.

Example:

 https://secure.grokthis.net/manage/vps/rest/status

Enter your username and password for the cloud-shell management interface (HTTP BASIC auth) and you should retrieve the status of your default instance.

Other commands of the cloud-shell will also work. Not yet supported via the REST interface are 'fetchuri', 'reimage', and 'console'.

Syndication
Facebook
GrokThis.net on Facebook
Twitter
Tag cloud
upgrade vps contest xen howto feature rails django hardware failure ajax virtualization security mason support cloud software
Log in


Forgot your password?
New user?
Archives
 

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: