Open leesharma opened 7 years ago
The four main options for API versioning are:
curl -Hapi-version v1 https://example.com/api/resource/endpoint
)
curl -Haccept application/vnd.progressreport.v0 https://example.com/api/resource/endpoint
)
https://progress-report-server.herokuapp.com/states/ohio?v=0.0.1
in the browser, even if we recommend acceptance headers for actual development. It would also allow us to maintain our independently versioned endpoints. I'm not sure having 2 options is a great idea, but it could be a good compromise.
Unversioned production APIs = sad, even if they are mostly for internal use.
I'll probably use the request header for this. Any die-hard URL-versioning advocates out there?