After much tinkering, I finally got a search to work like I want :
By Hammer : hammer erratum list --errata-restrict-applicable true --errata-restrict-installable true --search 'id ~ RHSA%'
By Python Generated URL : https://satellite.foo.org/katello/api/errata?organization_id=1&search=id+~+RHSA%&errata_restrict_applicable=True&errata_restrict_installable=True
The question is about the search parameter. In the simple "hammer erratum list" or "https://satellite.foo.org/katello/api/errata", the field in question is "errata_id".
Why does "id" work and "eratta_id" fail for searching ?
And how can I get more information about searching in the various commands ?
Also, the search syntax is not obvious. I was trying ^RHSA% and ^RHSA and other failing variations before I stumbled on the working one.
Is there a reference somewhere I have overlooked ?
Thanks.
Dan White | d_e_white@icloud.com