Re: [Users] oVirt REST API

Hi James, On 08/27/2013 06:45 PM, James Laska wrote:
Greetings Michael,
Thanks for your guidance earlier today on IRC regarding accessing the oVirt REST API using json.
Can you direct me to examples, or documentation, on how to pass arguments via the REST API? I'm able to get basic queries working ...
you can use very same query you use in UI.
However, more exhaustive documentation/examples would be very helpful.
see https://somehost.example.com/api?rsdl
Thanks, James
-- Michael Pasternak RedHat, ENG-Virtualization R&D

--=-UMsuaUcMC8XDwBBou3KM Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2013-08-27 at 19:04 +0300, Michael Pasternak wrote:
Hi James, =20 On 08/27/2013 06:45 PM, James Laska wrote:
Greetings Michael, =20 Thanks for your guidance earlier today on IRC regarding accessing the oVirt REST API using json. =20 =20 Can you direct me to examples, or documentation, on how to pass arguments via the REST API? I'm able to get basic queries working ... =20 https://somehost.example.com/api/vms?search=3Dname=3Dfoo =20 you can use very same query you use in UI. =20 =20 However, more exhaustive documentation/examples would be very helpful. =20 see https://somehost.example.com/api?rsdl
Brilliant! Thanks, James --=-UMsuaUcMC8XDwBBou3KM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iEYEABECAAYFAlIc4OoACgkQTIzV5q3qUnY1iQCeOGiXT7/Fc0WkqfdRkVASjK29 eN0An1p7HCTZ2eXgMJByoWtNEJYwaDaT =vKbR -----END PGP SIGNATURE----- --=-UMsuaUcMC8XDwBBou3KM--

Hey James, This may also be of some help to you, or not. https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtua... Tim Hildred, RHCE, RHCVA Content Author II - Engineering Content Services, Red Hat, Inc. Brisbane, Australia Email: thildred@redhat.com Internal: 8588287 Mobile: +61 4 666 25242 IRC: thildred ----- Original Message -----
From: "Michael Pasternak" <mpastern@redhat.com> To: "James Laska" <jlaska@redhat.com> Cc: users@ovirt.org Sent: Wednesday, August 28, 2013 2:04:33 AM Subject: Re: [Users] oVirt REST API
Hi James,
On 08/27/2013 06:45 PM, James Laska wrote:
Greetings Michael,
Thanks for your guidance earlier today on IRC regarding accessing the oVirt REST API using json.
Can you direct me to examples, or documentation, on how to pass arguments via the REST API? I'm able to get basic queries working ...
you can use very same query you use in UI.
However, more exhaustive documentation/examples would be very helpful.
see https://somehost.example.com/api?rsdl
Thanks, James
--
Michael Pasternak RedHat, ENG-Virtualization R&D _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (3)
-
James Laska
-
Michael Pasternak
-
Tim Hildred