[Users] Fwd: oVirt 3.3.1 REST-API: UML for all Objects?

2013-12-03 Thread Sven Kieske
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.kie...@mittwald.de
An: mpast...@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@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Fwd: oVirt 3.3.1 REST-API: UML for all Objects?

2013-12-03 Thread Oved Ourfalli
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.kie...@mittwald.de
 To: users@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.kie...@mittwald.de
 An: mpast...@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@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Fwd: oVirt 3.3.1 REST-API: UML for all Objects?

2013-12-03 Thread Michael Pasternak

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.kie...@mittwald.de
 To: users@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.kie...@mittwald.de
 An: mpast...@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@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users

 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 


-- 

Michael Pasternak
RedHat, ENG-Virtualization RD
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Fwd: oVirt 3.3.1 REST-API: UML for all Objects?

2013-12-03 Thread Sven Kieske
Thanks for the fast and helpful reply, this helps our
developers!

-- 
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