Bug 1480348

Summary: [RFE] API to fetch list of hosts without full host details
Product: Red Hat Satellite Reporter: Satellite Program <pm-sat>
Component: HostsAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Nikhil Kathole <nkathole>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2.9CC: bbuckingham, bill.scherer, bkearney, cduryee, dcaplan, dkaylor, egolov, inecas, jcallaha, mhulan, nkathole, sreber, tbrisker, zhunting
Target Milestone: UnspecifiedKeywords: FieldEngineering, FutureFeature, PrioBumpField, PrioBumpPM, PrioBumpQA
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1461194 Environment:
Last Closed: 2018-02-21 12:39:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 2 Nikhil Kathole 2017-09-17 10:50:08 UTC
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"}]
}

Comment 5 errata-xmlrpc 2018-02-21 12:39:59 UTC
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