Project

Profile

Help

Story #6197

Updated by bmbouter about 4 years ago

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. like: 

 ``` 
 {"TYPE": [{[fields]}]} so like {"collection_version": [{"namespace": "whatever", "name": "ok"}, {"namespace": "another}]}  
 ``` 

 It would copy all versions that match in all cases.

Back