This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes
Bug 1480348 - [RFE] API to fetch list of hosts without full host details
[RFE] API to fetch list of hosts without full host details
Status: VERIFIED
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Hosts (Show other bugs)
6.2.9
Unspecified Unspecified
medium Severity medium (vote)
: GA
: --
Assigned To: satellite6-bugs
Nikhil Kathole
: FieldEngineering, FutureFeature, PrioBumpField, PrioBumpPM, PrioBumpQA
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-08-10 15:45 EDT by pm-sat@redhat.com
Modified: 2017-10-03 17:58 EDT (History)
14 users (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1461194
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Foreman Issue Tracker 20072 None None None 2017-08-10 15:45 EDT

  None (edit)
Comment 2 Nikhil Kathole 2017-09-17 06:50:08 EDT
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"}]
}

Note You need to log in before you can comment on or make changes to this bug.