Actions
Issue #4052
closedrepo version content api seems to be defined improperly for the api bindings
Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Katello
Sprint:
Sprint 47
Quarter:
Description
The following api:
GET /pulp/api/v3/repositories/62/versions/1/content/
works just fine for me when curling, but when using the bindings (ruby example):
content = api.repositories_versions_content(repo._latest_version_href)
print content
print content.class
prints:
{}
PulpClient::Content
It seems that the bindings are expecting this api to return a single content object, but instead it returns a results set/list of content objects
Actions