Hey Sven,
Sorry for the late reply, RSDL is your tool indeed, btw please note that you
can see entire xsd schema we use to model api, just do GET on /api?schema, (it is also
referenced from RSDL),
hope it helps.
On 12/03/2013 12:52 PM, Oved Ourfalli wrote:
Perhaps using the RSDL (RESTful service description language) can
give you a clue about the different object types, and their fields. Also, it provides
information about the different actions you can do, mandatory fields for these actions,
and etc.
Just go to the API URL, followed by "?rsdl"
(
http://localhost:8700/ovirt-engine/api?rsdl)
As a rule we try to make everything available at the UI level also available at API
level. Not sure what the current gaps are (if any).
Oved
----- Original Message -----
> From: "Sven Kieske" <S.Kieske(a)mittwald.de>
> To: users(a)ovirt.org
> Sent: Tuesday, December 3, 2013 12:33:43 PM
> Subject: [Users] Fwd: oVirt 3.3.1 REST-API: UML for all Objects?
>
> Hi,
>
> as I didn't get any reply until today from the REST-API
> Maintainer, maybe someone on the users list knows where
> such a list of all objects can be obtained?
>
> See below for detailed information.
>
> Thank you!
>
>
> -------- Original-Nachricht --------
> Betreff: oVirt 3.3.1 REST-API: UML for all Objects?
> Datum: Fri, 29 Nov 2013 11:07:22 +0100
> Von: Sven Kieske <s.kieske(a)mittwald.de>
> An: mpastern(a)redhat.com
>
> Hi,
>
> you are listed as the REST-API Maintainer, so I write to you and hope
> you can help me.
>
> We need a description (preferred as UML, but we take anything we can get
> ) about all Objects which are provided through the Rest-API.
>
> We know we can call via REST-API, but it seems not all objects are
> reported back, e.g. if the object is not set.
>
> Example: Via GUI, you can set a description for each VM-Disk, but this
> does not get reported if I call this disk via REST-API.
>
> In the RHEV-API-Guide (Developers Guide) 3.2 there is no such list
> and browsing via gitweb was also not successful(maybe we looked in the
> wrong place?).
>
> Is there such a list or UML for all accessible REST-API-Objects for
> oVirt 3.3.1?
>
> Or are the objects which can't be seen via REST-API not implemented
> in the REST-API and are therefore just accessible over GUI?
>
>
> Thanks for your help!
>
> --
> 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(a)ovirt.org
>
http://lists.ovirt.org/mailman/listinfo/users
>
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users