Bug 1410746

Summary: [RFE] List of fields to use in a search
Product: Red Hat Satellite Reporter: Stephen Wadeley <swadeley>
Component: APIAssignee: Jitendra Yejare <jyejare>
Status: CLOSED ERRATA QA Contact: Jitendra Yejare <jyejare>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.3.0CC: beiler.leo, bkearney, jcallaha, jyejare, mhulan, tstrachota
Target Milestone: 6.4.0Keywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-16 15:26:32 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1309791    
Attachments:
Description Flags
Verified - Search Fileds List none

Description Stephen Wadeley 2017-01-06 10:34:45 UTC
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 11:08:56 UTC
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 11:15:57 UTC
Created redmine issue http://projects.theforeman.org/issues/17964 from this bug

Comment 4 Bryan Kearney 2017-03-20 16:47:25 UTC
Will not hit 6.3, moving out.

Comment 6 Satellite Program 2017-08-10 10:05:53 UTC
Upstream bug assigned to tstrachota

Comment 7 Satellite Program 2017-08-10 10:05:58 UTC
Upstream bug assigned to tstrachota

Comment 8 Satellite Program 2018-01-29 15:05:49 UTC
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 07:38:21 UTC
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 15:26:32 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:2927