Description of problem: We need the ability to list available permits from the API which on v3 we could find under the capabilities entry point which is no longer there on v4. This seems to be a regression since it was previously fixed under BZ1355647 Version-Release number of selected component (if applicable): ovirt-engine-restapi-4.0.4.3-0.1.el7ev.noarch How reproducible: 100% Steps to Reproduce: 1. Go to https://{engine}/ovirt-engine/api/capabilities Actual results: No results are returned Expected results: Results for capabilities are returned
The 'capabilities' collection has been removed in version 4 of the API. It has been replaced by the new 'clusterlevels' collection. See here for details: https://github.com/oVirt/ovirt-engine/blob/master/backend/manager/modules/restapi/README.adoc#39-removed-the-capabilitiespermits-element The new 'clusterlevels' collection was added by this patch: restapi: Add cluster levels support https://gerrit.ovirt.org/59227 This was done in order to fix bug 1347157, and was included in version 4.0.1.1 of the engine. I'm closing this bug as a duplicate. *** This bug has been marked as a duplicate of bug 1347157 ***