API versioning

Dan Reverri reverri at gmail.com
Wed Feb 24 15:33:06 EST 2010


Does anyone have any recommendations for API versioning and possible
suggestions for implementation in webmachine?

Two ideas I've come across:
1. Header specified version:
http://barelyenough.org/blog/2008/05/versioning-rest-web-services/

2. URL specified versioning:
http://stackoverflow.com/questions/389169/best-practices-for-api-versioning


Regarding the implementation:
1. Proxy requests to independently running versions of the api
2. Version specific dispatching (dispatch rule per version, new resource per
version)
3. Version dependent resources (handle version logic per individual
resource, one resource for all versions)

Thanks,
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.therestfulway.com/pipermail/webmachine_lists.therestfulway.com/attachments/20100224/3c1d536b/attachment.html>


More information about the webmachine mailing list