Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1485424 - Invalid "href" value in "versions" when API version is specified
Invalid "href" value in "versions" when API version is specified
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: API (Show other bugs)
5.8.0
Unspecified Unspecified
medium Severity medium
: GA
: 5.9.0
Assigned To: Jillian Tullo
Martin Kourim
api:rest
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-08-25 12:14 EDT by Martin Kourim
Modified: 2018-03-14 10:54 EDT (History)
6 users (show)

See Also:
Fixed In Version: 5.9.0.2
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-03-01 08:16:22 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:0380 normal SHIPPED_LIVE Moderate: Red Hat CloudForms security, bug fix, and enhancement update 2018-03-01 13:37:12 EST

  None (edit)
Description Martin Kourim 2017-08-25 12:14:16 EDT
Description of problem:
Invalid "href" value in "versions" when API version is specified:

"versions": [
        {
            "name": "2.4.0",
            "href": "https://10.8.196.108/api/v2.4.0/v2.4.0"
        }
    ],

The "https://10.8.196.108/api/v2.4.0/v2.4.0" doesn't exist.


Version-Release number of selected component (if applicable):
5.8.1.5


How reproducible:
very


Steps to Reproduce:
1. GET /api/v2.4.0/


Expected results:
"href": "https://10.8.196.108/api/v2.4.0
Comment 2 Dave Johnson 2017-09-18 12:58:28 EDT
Martin, is there any impact to automation from this?  If so, please add PrioBumpQA keyword above.
Comment 3 Jillian Tullo 2017-09-28 15:35:39 EDT
PR: https://github.com/ManageIQ/manageiq-api/pull/87
Comment 4 Martin Kourim 2017-10-17 16:09:03 EDT
Verified that the "href" value is valid when API version is specified
GET /api/v3.0.0-pre
Comment 7 errata-xmlrpc 2018-03-01 08:16:22 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:0380

Note You need to log in before you can comment on or make changes to this bug.