I’m the developer of katprep, a patch automatation framework for Foreman and Katello. Currently I’m looking for a convenient way to retrieve a list of upgradable packages per content host.
I understand that this information can be seen in the web interface by clicking Hosts > Content Hosts. Anyhow, I found no way to retrieve this information via the API. I understand that there is an API call
PUT /api/hosts/:host_id/packages/upgrade_all to install all available package updates. I want to implement a kind of exclude/blacklist feature so I need to retrieve the list of available package upgrades.
Thank you very much for any ideas in advance!
No such API call available
API call for retrieving upgradable packages per content host available
Foreman and Proxy versions:
Foreman and Proxy plugin versions: