Description of problem: Please add a list of fields to use in a search to the builtin API doc. I would like to link to such information from the API Guide.
There's currently no way of listing the fields to search in neither API nor UI. Web UI compensates the problem with search query completion. It definitely makes sense to extend apidoc with such information. It should be then re-used with hammer cli too.
Created redmine issue http://projects.theforeman.org/issues/17964 from this bug
Will not hit 6.3, moving out.
Upstream bug assigned to tstrachota
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/17964 has been resolved.
Created attachment 1474902 [details] Verified - Search Fileds List Verified! @ Satellite 6.4 snap 16 Steps: 1. Go through entities in Satellite APIDOC page. Behavior: The list of fields to be used inside search queries is shown inside GET for applicable entities. The screenshot is attached for GET host lists with search fields. Note: The behavior is not seen from the CLI hammer command and if thats the intend please feel free to reopen this bug.
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:2927