Actions
Bug #27527
closedSubscription upload API says the expected type of the manifest shall be string
Description
"apis": [ { "api_url": "/katello/api/organizations/:organization_id/subscriptions/upload", "deprecated": null, "http_method": "POST", "short_description": "Upload a subscription manifest" } ], "params": [ { "allow_blank": false, "allow_nil": false, "description": "\n<p>Subscription manifest file</p>\n", "expected_type": "string", "full_name": "content", "metadata": null, "name": "content", "required": true, "show": true, "validations": [], "validator": "File" }, …
I think saying that the file should be a string is quite far fetched :)
Updated by Jonathon Turel over 5 years ago
- Target version set to Katello Backlog
- Triaged changed from No to Yes
Updated by Evgeni Golov over 5 years ago
- Related to Tracker #27680: API bugs that need workarounds in foreman-ansible-modules added
Updated by Justin Sherrill about 5 years ago
This appears to be a bug in apipie:
https://github.com/Apipie/apipie-rails/blob/master/lib/apipie/validator.rb#L125-L134
Updated by Justin Sherrill about 5 years ago
- Status changed from New to Rejected
Updated by Jonathon Turel over 4 years ago
- Target version changed from Katello Backlog to Katello Recycle Bin
Actions