Project

Profile

Help

Story #214

closed

As a user, I can retrieve a list of repos published with distributor X since Y using the API

Added by dgregor@redhat.com about 9 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
2.7.0
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Pulp 2
Sprint:
April 2015
Quarter:

Description

++ This bug was initially created as a clone of Bugzilla Bug #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.

Also available in: Atom PDF