Project

Profile

Help

Story #3405

Updated by amacdona@redhat.com almost 5 years ago

This story is to implement an API endpoint and task that add will be complete when a list of content units to the repository.  

 endpoint: pulp/api/v3/docker/add-remove/ 
 args: add_content_units (identical to RepositoryVersion create) 
          remove_content_units 

 The task should user can add each unit to one or many objects referenced by Tags. Whatever objects are referenced by the repository, and tags, all recursively referenced objects should query the database for related content (manifests from manifest lists, blobs from manifests) and add these units as well. also be added. 

 For We should put this implementation, tags should be added/removed at the by tag href, the same way endpoint as the other types. Adding tags by name and repository version is covered in a related story, https://pulp.plan.io/issues/4947. https://pulp.plan.io/issues/3402, this story would be to add another request.body parameter <pre>tags=[]</pre>

Back