Task #5681
closedRemove /pulp/api/v3/rpm/copy/ endpoint
100%
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
Updated by ttereshc about 5 years ago
- Related to Story #5344: As a user, I have a consistant API experience for copying content added
Updated by ipanova@redhat.com about 5 years ago
- Groomed changed from No to Yes
- Sprint set to Sprint 61
Updated by CodeHeeler about 5 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to CodeHeeler
Updated by CodeHeeler about 5 years ago
Added by CodeHeeler about 5 years ago
Updated by CodeHeeler about 5 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset 645181d6d5247a7c0de49725a7c59ca4f8888941.
Updated by ttereshc about 5 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Remove /pulp/api/v3/rpm/copy/ endpoint
Pending design decisions in #5344, unexpose the copy endpoint. Document the existing copy functionality via versions endpoint.
closes #5681 https://pulp.plan.io/issues/5681