Project

Profile

Help

Issue #1129

closed

wrong _href in response body on list repository group distributors

Added by igulina@redhat.com almost 9 years ago. Updated almost 4 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.7.0 Beta
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation, Pulp 2
Sprint:
Quarter:

Description

Here [1] in response body

"_href": "2a146bdf-384b-4951-987e-8d42c7c4317f"

In reality it's:

>> curl H "Accept: application/json" -H "WebFrameworkSwitch: webpy" -X GET -k -u admin:admin "https://localhost/pulp/api/v2/repo_groups/repo_group/distributors/" |python -m json.tool  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: H; Name or service not known
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: Accept; Name or service not known
100   392  100   392    0     0    752      0 --:--:-- --:--:-- --:--:--   752
[
    {
        "_href": "/pulp/api/v2/repo_groups/repo_group/distributors/203d0b80-53ed-485d-bdc5-5db8d803d213/",
        "_id": {
            "$oid": "559e9a9177b2945c17a5078d"
        },
        "_ns": "repo_group_distributors",
        "config": {
            "http": true,
            "https": false
        },
        "distributor_type_id": "group_export_distributor",
        "id": "203d0b80-53ed-485d-bdc5-5db8d803d213",
        "last_publish": null,
        "repo_group_id": "repo_group",
        "scratchpad": null
    }
]

[1] http://pulp.readthedocs.org/en/latest/dev-guide/integration/rest-api/repo/groups/distributors.html#list-repository-group-distributors

Also available in: Atom PDF