The endpoint would use the copy action endpoint: /pulp/api/v3/repositories/ansible/ansible/copy/.
It would take a criteria object (see below) and also a source_repository and destination_repository. A new repository version will be created in the destination repository.
{"TYPE": [{[fields]}]} so like {"collection_version": [{"namespace": "whatever", "name": "ok"}, {"namespace": "another}]}
It would copy all versions that match in all cases.
Author: @bmbouter (bmbouter)
Redmine Issue: 6197, https://pulp.plan.io/issues/6197
The endpoint would use the copy action endpoint:
/pulp/api/v3/repositories/ansible/ansible/copy/
.It would take a criteria object (see below) and also a source_repository and destination_repository. A new repository version will be created in the destination repository.
It would copy all versions that match in all cases.