On API Versioning

Dmitri Dolguikh dmitri at redhat.com
Tue Apr 27 13:36:10 UTC 2010


On 04/27/2010 10:21 AM, Bryan Kearney wrote:
> One of the backlog items talks about API versioning:
>
> (E2) As an application integrator, I would like to define what version
> of the API I support in order to be protected from API changes.
>
> The currenting thinking I am hearing is that you could use the media
> type for this, but it would be easier to just use the URL Path
>
> /candlepin/some/resource
> candlepin/v2/some/resource
>
> where no v implies v1.
>
> If folks are comfortable with that, it would mean no work until we do
> v2. I would move this off the backlog unless there were concerns.
>
> Comments?
>
> -- bk
> _______________________________________________
> candlepin mailing list
> candlepin at lists.fedorahosted.org
> https://fedorahosted.org/mailman/listinfo/candlepin
>    
i think version in the url works and makes backwards-compatibility trivial.
-d



More information about the candlepin mailing list