Feature #24669
openRFE: Support 'check_manifest' API endpoint - Manifest upload cannot be idempotent
Description
Scenario:
API developers (those consuming Katello's API) have no way to check if a given manifest has been uploaded to Katello. The manifest_history shows the upstreamConsumer information, but API developers shouldn't be expected to inspect the manifest zip file manually to match this upstreamConsumer information to determine if the manifest has already been uploaded.
Example/Motivation:
In foreman-ansible-modules (Nailgun being the API consumer), we have a katello_manifest module that allows uploading a manifest. In the spirit of most conf management tools, Ansible modules strive to be idempotent. This is impossible for manifest upload with the current Katello API.
- Related FAM issue: https://github.com/theforeman/foreman-ansible-modules/issues/172