Project

Profile

Help

Issue #4052

closed

repo version content api seems to be defined improperly for the api bindings

Added by jsherril@redhat.com about 6 years ago. Updated over 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
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

Also available in: Atom PDF