Red Hat Bugzilla – Bug 1480348
[RFE] API to fetch list of hosts without full host details
Last modified: 2018-02-21 07:39:59 EST
VERIFIED Version Tested: Satellite-6.3 Snap 16 steps: 1. curl -s -X GET -k -u admin:<password> 'https://host/api/v2/hosts?thin=true' { "total": 3, "subtotal": 3, "page": 1, "per_page": 20, "search": null, "sort": { "by": null, "order": null }, "results": [{"id":1,"name":"host"}, {"id":44,"name":"doug-zeise.rhts.eng.bos.redhat.com"}, {"id":45,"name":"hope-caicedo.rhts.eng.bos.redhat.com"}] }
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:0336