Project

Profile

Help

Issue #4447

closed

version create api seems to take repository id instead of href

Added by jsherril@redhat.com almost 4 years ago. Updated over 2 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
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 49
Quarter:

Description

The generated ruby bindings for the pulp3 api seem to rely on a repository id when creating a repository version instead of an href:

  1. pulp3_api.repositories_versions_create('/pulp/api/v3/repositories/8/', {})
    Does not work:

    POST /pulp/api/v3/repositories/pulp/api/v3/repositories/8/versions/ HTTP/1.1
    HTTP/1.1 404 Not Found
    

#pulp3_api.repositories_versions_create('8', {})
works

Also available in: Atom PDF