Bug #14441
closedAPI endpoint katello/api/subscriptions/upload does not exist and is documented on apidoc
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1134066
Description of problem:
Is not possible to upload a manifest by posting to katello/api/subscriptions/upload URL even thought it is documented on apidoc. CLI and UI post to katello/api/organizations/:id/subscriptions/upload.
Version-Release number of selected component (if applicable):
How reproducible:
Aways
Steps to Reproduce:
1. curl --user admin:password --insecure -X POST 'https://server.com/katello/api/v2/subscriptions/upload'
Actual results:
A 404 HTTP error is returned
Expected results:
The URL could be found and then the manifest could be uploaded through it.
Additional info:
- curl --user admin:password --insecure -X POST 'https://server.com/katello/api/v2/subscriptions/upload'
<!DOCTYPE html>
<html>
<head>
<title>The page you were looking for doesn't exist (404)</title>
<style type="text/css">
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
div.dialog {
width: 25em;
padding: 0 4em;
margin: 4em auto 0 auto;
border: 1px solid #ccc;
border-right-color: #999;
border-bottom-color: #999;
}
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
</style>
</head>
<body>
<div class="dialog">
<h1>The page you were looking for doesn't exist.</h1>
<p>You may have mistyped the address or the page may have moved.</p>
</div>
</body>
</html>