2 ms·
No. There's nothing RESTful about changing the data format without notice - on the contrary: REST implies that media types should be well defined, and that incl
by icebraining 13y ago
No. There's nothing RESTful about changing the data format without notice - on the contrary: REST implies that media types should be well defined, and that includes specifying those issues.
There's nothing in REST that opposes versioning either. All it says is that you shouldn't use the URLs for it, since then if the client wants to upgrade, it'll break all his stored links.
Versioning can be handled just fine by having the client request the media type with the version he needs, e.g.:
Accept: application/users-list+v1
And if it asks for that, you should definitively give it the v1 format, not throw the v2 and let it deal with that.