[katello-devel] Changeset promotion api/cli in master

Dmitri Dolguikh dmitri at redhat.com
Mon Jul 25 13:12:38 UTC 2011


On 11-07-25 8:24 AM, Lukas Zapletal wrote:
>
> Good work, Tomas.
>
>> - new async api route POST
>> /api/organizations/:org_name/environments/:env_id/changesets/:id/promote
>
> Isn't this against the "two-levels-max" rule?
>
> I mean this URL could be effortlessly changed to:
>
> /environments/:env_id/changesets/:id/promote
>
> since the environment id is unique enough. I guess it could be even 
> changed to:
>
> /changesets/:id/promote
>
> since id is unique too in this case.
>
> Objections?
>
+1.  Was going to write the same, but you beat me to it.
-d
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/katello-devel/attachments/20110725/500eed3a/attachment.htm>


More information about the katello-devel mailing list