Project

Profile

Help

Story #6197

Updated by pulpbot over 2 years ago

 

 **Ticket moved to GitHub**: "pulp/pulp_ansible/706":https://github.com/pulp/pulp_ansible/issues/706 




 ---- 


 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. 

Back