Project

Profile

Help

Story #214

Updated by dgregor@redhat.com almost 9 years ago

+++ This bug was initially created as a clone of "Bugzilla Bug #1055750":https://bugzilla.redhat.com/show_bug.cgi?id=1055750 +++ 

 Description of problem: 

 I would like to get a list of all repos that have been published with the yum distributor in the last 24 hours.    It's possible to make this query one repo at a time, but that is not practical for a server with many repos.    Please add an API that takes the following inputs: 
  * distributor_type_id (e.g. yum_distributor) 
  * since_date 
  * until_date (optional) 

 and returns a list of repositories like the /pulp/api/v2/repositories/search/ API.    In fact, it would be great if /pulp/api/v2/repositories/search/ could be extended to take the above fields as additional search criteria. 


 --- Additional comment from dgregor@redhat.com at 01/20/2014 20:55:49 --- 

 This is needed internally for TPS.

Back