[Pulp-list] Repo Sync Scheduling

Todd Sanders tsanders at redhat.com
Thu Oct 27 12:06:44 UTC 2011


On 10/26/2011 08:35 PM, Mike McCune wrote:
> 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?
>
Yes, this is master.

-Todd




More information about the Pulp-list mailing list