News for hackers. Stuff that matters.
Re:How to Version an API by solatic on Friday June 09, 2017 @02:07AM (#14519460)
Because the version of the API is not the version of the MIME type. It's not like JSON itself came out with version 2 of the JSON specification.
Re:How to Version an API by jalfresi on Friday June 09, 2017 @03:58AM (#14519873)
Look at the mime-type declaration again - its not application/json. It is a representation of a resource in JSON format. The resource is the part thats changed, and interactions with that resource are defined as part of the mime-type.