Created attachment 1167816 [details] api.xsd Description of problem: [REST API] Missing capabilities in rest api 4.0.0-14 Version-Release number of selected component (if applicable): Red Hat Enterprise Virtualization Manager Version: 4.0.0.4-0.1.el7ev How reproducible: 100% Steps to Reproduce: 1. Install the new build 4.0.0-14 2. run the rest query: https://jenkins-vm-08.scl.lab.tlv.redhat.com/ovirt-engine/api/capabilities Actual results: 404 - Not Found Expected results: got something like: <capabilities> <version major="4"minor="0"href="/ovirt-engine/api/capabilities/332e3633-2e36-332e-3633-2e36332e3633"id="332e3633-2e36-332e-3633-2e36332e3633"> .... </capabilities> Additional info: juan already knows about this issue see attached api.xsd file
In version 4 of the API there is no "capabilities" concept. It has been replaced by the description of the model, which includes the descriptions of services and types. It is available in the live server in the following URLs: GET /ovirt-engine/api/model.xml GET /ovirt-engine/api/model.json Starting with 4.1 it will also be avaialble as HTML, for human users: GET /ovirte-engine/api/model.html In version 3 of the API it should be still available: GET /ovirt-engine/api/v3/capabilities Or using the "Version" header: GET /ovirt-engine/api/capabilities Version: 3 Please check that and close the bug.
Juan, This is the issues with missing capabilities in HEAD You already have a patch for that: restapi: Adapt "Link" header for V3 https://gerrit.ovirt.org/58992
OK, then I think we can close this as a duplicate of bug 1342226, it is already fixed. *** This bug has been marked as a duplicate of bug 1342226 ***