Project

Profile

Help

Task #5681

closed

Remove /pulp/api/v3/rpm/copy/ endpoint

Added by ttereshc over 4 years ago. Updated almost 4 years ago.

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

100%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
No
Tags:
Sprint:
Sprint 61
Quarter:

Description

At the moment /pulp/api/v3/rpm/copy/ allows user to copy content from one repo to another, all content or content of a specific type.
There is a story #5344 , the goal of which is to decide what REST API will be offered keeping in mind all the complicated filtering needs of users. #5344 requires more thought and work.

In order not to introduce an API endpoint which can potentially be deprecated shortly, the suggestion is to remove /pulp/api/v3/rpm/copy/ from REST API for now and add it (or similar) back when there is a clear design and understanding for all the filtering needs and smart copy options for various content types.

If user needs to copy all content from one repo to another, there is already a way to do so without this endpoint. At a repo version creation, specify a base_version to take content from, which is essentially a copy of all content from one repository to another. This use case needs to be documented.


Related issues

Related to RPM Support - Story #5344: As a user, I have a consistant API experience for copying contentCLOSED - DUPLICATEdalley

Actions

Also available in: Atom PDF