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
Updated by CodeHeeler about 6 years ago
- Triaged changed from No to Yes
- Sprint set to Sprint 43
Updated by dkliban@redhat.com about 6 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to dkliban@redhat.com
Updated by dkliban@redhat.com about 6 years ago
I've been able to reproduce the problem. The REST API returns paginated results, however, the OpenAPI schema does not reflect this.
This issue will go away when we convert to single table content[0].
Updated by dkliban@redhat.com almost 6 years ago
- Status changed from ASSIGNED to MODIFIED
This issue was fixed when we changed the repo version content API.
https://github.com/pulp/pulp/commit/2e8545ed00ce2e71dd612ff5a4ea936e951029d9
Updated by bherring almost 6 years ago
- Related to Test #4362: Ansible installer for Pulp3 needs to add a systemd unit file for the pulp_content_app service added
Updated by bherring almost 6 years ago
- Related to deleted (Test #4362: Ansible installer for Pulp3 needs to add a systemd unit file for the pulp_content_app service)
Updated by bmbouter almost 5 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Updated by ggainey over 4 years ago
- Tags Katello added
- Tags deleted (
Katello-P1)
Actions