Juan Hernandez has posted comments on this change. Change subject: restapi : [RFE] Add the option to retrieve the top X disks in a storage domain(#950129) ......................................................................
Patch Set 5: I think that the user can solve this problem combining the "max" matrix parameter and the "search" query parameter, like this: https://rhel.example.com/api/disks;max=10?search=storage=Data%20sortby%20actual_size%20desc In the future we should probably change the subcollections so that they support the "search" query parameter as well, but that is a much larger work item. -- To view, visit http://gerrit.ovirt.org/20297 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ifbefd30b1b1e62d87c30a836236028777e734a7d Gerrit-PatchSet: 5 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Ravi Nori <rn...@redhat.com> Gerrit-Reviewer: Daniel Erez <de...@redhat.com> Gerrit-Reviewer: Juan Hernandez <juan.hernan...@redhat.com> Gerrit-Reviewer: Michael Pasternak <mishka8...@yahoo.com> Gerrit-Reviewer: Ori Liel <ol...@redhat.com> Gerrit-Reviewer: Ravi Nori <rn...@redhat.com> Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: No _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches