Project

General

Profile

Actions

Bug #14441

closed

API endpoint katello/api/subscriptions/upload does not exist and is documented on apidoc

Added by Zach Huntington-Meath about 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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:

  1. 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>

Actions #1

Updated by Zach Huntington-Meath about 8 years ago

  • Status changed from New to Assigned
  • Assignee set to Zach Huntington-Meath
Actions #2

Updated by The Foreman Bot about 8 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5932 added
Actions #3

Updated by Zach Huntington-Meath about 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #4

Updated by Eric Helms about 8 years ago

  • translation missing: en.field_release set to 86
Actions

Also available in: Atom PDF