cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prasanna Santhanam <>
Subject Exposing APIs that carry POST data
Date Wed, 24 Apr 2013 08:38:47 GMT
Vijay added the ability to send userdata as POST for the
deployVirtualMachine API in review [1]. What I'd like to address here
is how to expose this via ApiDiscovery so that clients like marvin,
cloudmonkey can autogenerate themselves to support APIs of this
kind. This also needs to be clearly specified in our API docs.

I'm guessing we'll have to put in additional annotations on our APIs
that support POST so that API discovery can print the methods
supported (GET/POST). Right now it's only the deployVMCmd (AFAIK). But
I expect this will need to be done for others soon.

I've included POST support for _every_ command in marvin but that's
just brute-force. To make it more intelligent I think we should apply
it to only apis that make sense as POST (causing side-effects). But
that needs to be exposed by the api endpoint.




Powered by

View raw message