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

Re: [Pulp-list] schedule sub-collections



/v2/consumers/<consumer id>/schedules/unit_install/
or
/v2/consumers/<consumer id>/schedules/units/

Sorry, boogered up my example URLs. I meant that I like the idea of:

/v2/consumers/<consumer id>/schedules/
 or
/v2/consumers/<consumer id>/schedules/units/

With a body of:

{
   'operation' : 'install',
   'units' : ['okaara'],
   'schedule' : <schedule stuffs>,
}



--
Jay Dobies
Freenode: jdob @ #pulp
http://pulpproject.org | http://blog.pulpproject.org


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