[rest-practices] Versioning
Mark McLoughlin
markmc at redhat.com
Mon Apr 26 13:52:22 UTC 2010
Hey,
On Mon, 2010-04-26 at 08:32 -0400, Bryan Kearney wrote:
> Following up on the earlier thread... if the preferred model to put
> version information in the media type, or in the url?
>
> And.. if in the url, are you starting with a 1 to begin with or if the
> absence of a number a version 1?
"Version in url and no version means version 1" makes most sense to me
so far:
https://www.redhat.com/archives/rest-practices/2010-April/msg00014.html
version negotiation is done by the client choosing between e.g.
<link rel="vms" href="...." />
<link rel="vms_v2" href="..." />
Cheers,
Mark.
More information about the rest-practices
mailing list