Project

Profile

Help

Story #8658

Updated by ipanova@redhat.com over 3 years ago

`http POST :24817/pulp/api/v3/orphans/    content_hrefs:= []` 

 Enable a POST call to the orphans endpoint that would accept a list of `content_hrefs` content_hrefs to purge.  

 1.  
 A task will be triggered and will call into `orphan_cleanup()`. Instead of looking for all of the orphaned content across pulp , it would just instead work with the list if hrefs provided( in case the list of `content_hrefs` content_hrefs was provided).  
 2. 
 The `timestamp_of_interest` on the content will be honored and if there was specified a Content unit that is not an orphan -    it will be ignored. 
 3. Only content that has `version_memberships__isnull=True` version_memberships__isnull=True will be purged.

Back