Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1410746 - [RFE] List of fields to use in a search
[RFE] List of fields to use in a search
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: API (Show other bugs)
6.3.0
Unspecified Unspecified
medium Severity medium (vote)
: GA
: Unused
Assigned To: Jitendra Yejare
Jitendra Yejare
: FutureFeature, Triaged
Depends On:
Blocks: 1309791
  Show dependency treegraph
 
Reported: 2017-01-06 05:34 EST by Stephen Wadeley
Modified: 2018-10-16 11:27 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-10-16 11:26:32 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Verified - Search Fileds List (44.90 KB, image/png)
2018-08-10 03:38 EDT, Jitendra Yejare
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Foreman Issue Tracker 17964 None None None 2017-01-06 06:15 EST
Red Hat Product Errata RHSA-2018:2927 None None None 2018-10-16 11:27 EDT

  None (edit)
Description Stephen Wadeley 2017-01-06 05:34:45 EST
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.
Comment 1 Tomas Strachota 2017-01-06 06:08:56 EST
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.
Comment 3 Tomas Strachota 2017-01-06 06:15:57 EST
Created redmine issue http://projects.theforeman.org/issues/17964 from this bug
Comment 4 Bryan Kearney 2017-03-20 12:47:25 EDT
Will not hit 6.3, moving out.
Comment 6 pm-sat@redhat.com 2017-08-10 06:05:53 EDT
Upstream bug assigned to tstrachota@redhat.com
Comment 7 pm-sat@redhat.com 2017-08-10 06:05:58 EDT
Upstream bug assigned to tstrachota@redhat.com
Comment 8 pm-sat@redhat.com 2018-01-29 10:05:49 EST
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/17964 has been resolved.
Comment 10 Jitendra Yejare 2018-08-10 03:38 EDT
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.
Comment 12 errata-xmlrpc 2018-10-16 11:26:32 EDT
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

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