| Summary: | Hostgroups API Call Returns Incorrect Data | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Josh Foots <jfoots> |
| Component: | Host Group | Assignee: | satellite6-bugs <satellite6-bugs> |
| Status: | CLOSED NOTABUG | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.2.0 | CC: | andrew.schofield, bbuckingham, jcallaha, jfoots, jswensso, kabbott, ohadlevy |
| Target Milestone: | Unspecified | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-30 14:11:24 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Josh Foots
2016-09-02 19:01:12 UTC
As an alternative, does search by title work in the UI? (In reply to Brad Buckingham from comment #1) > As an alternative, does search by title work in the UI? Customer is not interested in using the UI. I haven't tested the results out in the UI. Josh, I beleive you are not using the API correctly, the correct way to search a hostgroup based on its name or title is: https://satellite.example.com/api/v2/hostgroups?search=title=test/EA/ENG I'm not sure why you think title is a valid query parameter? Please re-open in case I've missed something - thanks! |