Bug 1187287 - API returns urls to endpoints that do not exist.
Summary: API returns urls to endpoints that do not exist.
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Pulp
Classification: Retired
Component: API/integration
Version: 2.4.3
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: pulp-bugs
QA Contact: pulp-qe-list
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-29 17:29 UTC by amacdona@redhat.com
Modified: 2015-02-28 23:22 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-28 23:22:28 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Pulp Redmine 684 0 None None None Never

Description amacdona@redhat.com 2015-01-29 17:29:02 UTC
an API call to /v2/content/types/<type_id>/ includes endpoints that do not exist.

Example output:

{
    "_id": {
        "$oid": "54c69156fd74e21a651e2809"
    },
    "actions": {
        "_href": "/pulp/api/v2/content/types/rpm/actions/"
    },
    "content_units": {
        "_href": "/pulp/api/v2/content/types/rpm/units/"
    },

...
}

The "actions" and "content_units" hrefs are not real endpoints.

These should be left in place but removed in Pulp 3.0

Comment 1 Brian Bouterse 2015-01-29 17:48:11 UTC
This URL is built in the ContentTypeResourceView class. There is a comment about it there.

Comment 2 Brian Bouterse 2015-02-28 23:22:28 UTC
Moved to https://pulp.plan.io/issues/684


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