Wayne Conrad's Blog

home

REST API Versioning

01 Aug 2014

These are notes summarizing my research into how to version a RESTful API. These notes do not represent actual experience. They’re just me remembering links I found useful.

Restful API

Cribbed from Your API versioning is wrong… by Troy Hunt.

There are three ways to version a RESTful API:

Troy does them all at the same time. His framework makes it easy.

Semantic versioning

RESTful routes use semantic versioning, but only the major version number is used because only breaking API changes matter. Adding a route never hurt anyone. Deleting one, or changing one’s meaning, does.

rocketpants

comments powered by Disqus