open511 / Open511API

Code for open511.org
http://open511.org/
13 stars 1 forks source link

Simplify versioning #65

Closed michaelmulley closed 11 years ago

michaelmulley commented 11 years ago

It's come up that our current versioning system may be overly complicated. If a user doesn't want the API to change underneath them, they'd have to set an Accept header to application/vnd.open511.v1+json, or include a ?format=application/vnd.open511.v1+json URL parameter. This might be verbose and confusing for new users.

Here's an alternate system that trades off some HTTP purity for increased simplicity: