I'm designing a JSON API, and I'd like to version the API using content negotiation of some kind. I'm currently planning on using Vendor MIME Types to do this.
While I can definitely do this at the application level, I'm thinking it would be best to make this happen at the HTTP server level. Is this possible with Apache or nginx?
The Content-Type would look something like: application/vnd.vendorname-v1+json
or possibly using parameters: application/vnd.vendorname+json;v=1