Re: [Users] crafting a POST request to the oVirt API manually
Thank you all! The information you've provided will help immensely! Cheers, iordan On Wed, Dec 4, 2013 at 11:47 AM, Douglas Schilling Landgraf < dougsl...@redhat.com> wrote: > On 12/04/2013 08:28 AM, Sven Kieske wrote: > >> Hi, >> >> a first starting point can be: http://www.ovirt.org/Api >> >> HTH >> >> PS: RedHat has also an extensive PDF, RHEV 3.2 DeveloperGuide >> >> > Some rest examples: > https://github.com/dougsland/ovirt-restapi-scripts/wiki > > POST: > https://github.com/dougsland/ovirt-restapi-scripts/blob/ > master/vm_shutdown.py > > > Am 03.12.2013 22:50, schrieb i iordanov: >> >>> Hello, >>> >>> Can somebody give me some pointers on how to craft POST requests to the >>> API >>> "by hand" with (for example) a Firefox plugin like Poster: >>> >>> https://addons.mozilla.org/en-US/firefox/addon/poster/ >>> >>> It would be very helpful for libgovirt development. >>> >>> Thanks! >>> iordan >>> >>> >>> >>> ___ >>> Users mailing list >>> Users@ovirt.org >>> http://lists.ovirt.org/mailman/listinfo/users >>> >>> >> > > -- > Cheers > Douglas > > ___ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users > -- The conscious mind has only one thread of execution. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] crafting a POST request to the oVirt API manually
On 12/04/2013 08:28 AM, Sven Kieske wrote: Hi, a first starting point can be: http://www.ovirt.org/Api HTH PS: RedHat has also an extensive PDF, RHEV 3.2 DeveloperGuide Some rest examples: https://github.com/dougsland/ovirt-restapi-scripts/wiki POST: https://github.com/dougsland/ovirt-restapi-scripts/blob/master/vm_shutdown.py Am 03.12.2013 22:50, schrieb i iordanov: Hello, Can somebody give me some pointers on how to craft POST requests to the API "by hand" with (for example) a Firefox plugin like Poster: https://addons.mozilla.org/en-US/firefox/addon/poster/ It would be very helpful for libgovirt development. Thanks! iordan ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Cheers Douglas ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] crafting a POST request to the oVirt API manually
Hi, a first starting point can be: http://www.ovirt.org/Api HTH PS: RedHat has also an extensive PDF, RHEV 3.2 DeveloperGuide Am 03.12.2013 22:50, schrieb i iordanov: > Hello, > > Can somebody give me some pointers on how to craft POST requests to the API > "by hand" with (for example) a Firefox plugin like Poster: > > https://addons.mozilla.org/en-US/firefox/addon/poster/ > > It would be very helpful for libgovirt development. > > Thanks! > iordan > > > > ___ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users > -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] crafting a POST request to the oVirt API manually
Hi, On 12/04/2013 10:16 AM, Itamar Heim wrote: > > [Users] crafting a POST request to the oVirt API manually.eml > > Subject: > [Users] crafting a POST request to the oVirt API manually > From: > i iordanov > Date: > 12/03/2013 11:50 PM > > To: > "users@ovirt.org" > > > Hello, > > Can somebody give me some pointers on how to craft POST requests to the API > "by hand" with (for example) a Firefox plugin like Poster: > > https://addons.mozilla.org/en-US/firefox/addon/poster/ > > It would be very helpful for libgovirt development. this [1] should give you a clue on how to use http methods, and this [2] what content to be send and what is available in general at api. [1] http://www.ovirt.org/REST-Api#oVirt-API_How-to_.28the_methods.29 [2] on your environment run: 2.1 GET http[2]://myserver[:port]/api?rsdl (RESTful service description language) 2.2 GET http[2]://myserver[:port]/api?schema (xsd schema we used to model our api) hope it helps. > > Thanks! > iordan > > -- > The conscious mind has only one thread of execution. > > > ___ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users > -- Michael Pasternak RedHat, ENG-Virtualization R&D ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] crafting a POST request to the oVirt API manually
Hello, Can somebody give me some pointers on how to craft POST requests to the API "by hand" with (for example) a Firefox plugin like Poster: https://addons.mozilla.org/en-US/firefox/addon/poster/ It would be very helpful for libgovirt development. Thanks! iordan -- The conscious mind has only one thread of execution. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users