Pretending we are talking about "User" resource for me, "kiall" for moment.<div><br></div><div>The v1 API might represent the kiall user resource as {"name":"kiall"} while the v2 API might represent the kiall user resource as {"USERname":"kiall"}.</div>

<div><br></div><div>The kiall resource has not changed, only the API representation. Hence, a single URL using headers to determine the resource representation (json_v1, json_v2, yaml_v1, yaml_v2 etc) is correct IMHO.</div>

<div><br></div><div>Some more info on the general idea: <a href="http://barelyenough.org/blog/2008/05/versioning-rest-web-services/">http://barelyenough.org/blog/2008/05/versioning-rest-web-services/</a></div><div><br></div>

<div><div>Thanks,<br>Kiall<br>
<br><br><div class="gmail_quote">On Tue, Oct 11, 2011 at 3:11 PM, Soren Hansen <span dir="ltr"><<a href="mailto:soren@linux2go.dk">soren@linux2go.dk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

2011/10/11 George Reese <<a href="mailto:george.reese@enstratus.com">george.reese@enstratus.com</a>>:<br>
<div class="im">> Versioning should not be included in the URI. It belongs in the headers. A URI should be a persistent reference to a resource. As such, versioning always breaks that persistent reference.<br>
<br>
</div>I don't follow. If the version is included in the URI, that's got to<br>
be a more persistent reference to a resource than a URI whose<br>
behaviour differs depending on a header that you have to include?<br>
<font color="#888888"><br>
--<br>
Soren Hansen        | <a href="http://linux2go.dk/" target="_blank">http://linux2go.dk/</a><br>
Ubuntu Developer    | <a href="http://www.ubuntu.com/" target="_blank">http://www.ubuntu.com/</a><br>
OpenStack Developer | <a href="http://www.openstack.org/" target="_blank">http://www.openstack.org/</a><br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</div></div></blockquote></div><br></div></div>