Project

Profile

Help

Story #3324

closed

Pulp - Story #3209: As a user, I have Repository Versions

As a user, I can publish any repository version

Added by dkliban@redhat.com almost 7 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Sprint:
Sprint 33
Quarter:

Description

The publish REST API needs to accept a repository or a repository_version parameter. When the repository_version is specified, the publisher should publish that repository version. When only the repository is specified, the latest repository version for that repository should be published.

The repository and repository_version cannot be used together. When submitted together, an exception should be raised. I think the most appropriate HTTP error response for this is a 400 Bad Request.

Also available in: Atom PDF