I have worked a lot with the REST API recently, and some of these took me a while to find:
- You can connect to the API Docs on your Web UI using:
https://FQDNofENGINE/ovirt-engine/apidoc/ - If you connect to your WebUI API using
https://FQDNofENGINE/ovirt-engine/api/
Then view the source of your browser and you should see the XML. The XML should also be clickable to navigate all of the levels of the API with your data.
- RHEL Guide to the API almost all applies to the oVirt 4.2.x REST API.
- There are some API changes in oVirt 4.2.x. The best way I have found to expose them is to pass invalid params to the API and then do a
tail /var/log/ovirt-*/*.log -f
on the Engine VM and watch for the errors. The error will show you the invalid params as well as list all of the valid params that can be passed.
- Highly recommend installing the REST API plugin for your browser. It makes testing the API much easier.