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
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