A.15. Create or Replace Schedule

To create or replace schedule:
  • method: PUT
  • path: /repositories/<id>/schedules/<type>/
  • permission: CREATE
  • success response: 200 OK
  • failure response: Unspecified
  • return:Schedule object
    example:
    {'href': '/pulp/api/repositories/0ad/',
     'id': '0ad',
     'options': {'skip': {}},
     'schedule': '2011-12-13T13:45:00-07:00/PT5M',
     'type': 'sync'}
  • parameters:
    • schedule <str> schedule for given type in iso8601 format
    • options <obj> options for the scheduled action