[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Pulp-list] Repo Sync Scheduling



On 10/26/2011 02:05 PM, Jason L Connor wrote:
Hi All,

I just pushed a change to Pulp's REST APIs and the pulp-admin script for
scheduling repo syncs.


REST API changes:
A repo sync schedule is no longer part  of repo create or update.

That is: the sync_schedule field is no longer accepted in the following
REST calls:

POST to /repositories/ for repo creation
PUT to /repositories/<id>/ for rep update

Instead there is a new sub-collection on a repo itself:
/repositories/<id>/schedules/sync/

On this uri path:
GET will return the repo's sync schedule and options
PUT will create/replace the repo's sync schedule and options
DELETE will remove the repo's sync schedule and options

Documentation can be found here:
https://fedorahosted.org/pulp/wiki/UGREST-Repositories


This is master?  or a 2.0 branch?

--
Mike McCune
mmccune AT redhat.com
Red Hat Engineering       | Portland, OR
Systems Management        | 650.254.4248


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]