[Ovirt-devel] Ovirt QMF API Proposal

David Lutterkort lutter at redhat.com
Fri Apr 3 19:18:59 UTC 2009


On Thu, 2009-04-02 at 21:14 -0700, Ian Main wrote:
> > Surely, both have their advantages; it's true that you can access the
> > REST API from anything that can make web requests (and handle XML) - but
> > to actually use the API you still need convenience wrappers around all
> > that so you can get from a VM to the hardware pool it's in without going
> > crazy.
> 
> My understanding was that it was actually fairly difficult to use the REST
> API from various languages?

There's two levels of 'support' here: since REST uses normal web
requests with data in XML documents, you could write shell scripts that
work against your REST API (though you'd quickly lose your mind)

To use REST more comfortably, you want a library that takes care of
serializing/deserializing the XML and make the web requests - that's
what ActiveResource does for ruby, and where support for other languages
is behind.

David





More information about the ovirt-devel mailing list