-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API versioning #4
Comments
I think adding an header in the response with the api version could be a good solution: X-uwsgi.it-Api-Version: 1 |
@unbit the issue is on the request side not on the response, the client should be able to do a request and know in advance the format, content, etc... of what is returned. So on the request side one should be able to ask for a specific version of the api |
ok, the same thing applies, it can add a request header specifying the version it expects |
Sure, but wouldn't adding it to the url be easier to handle on your side? |
I think the API should be versioned so that people that write clients do know exactly what is available in case of API changes on later releases.
The text was updated successfully, but these errors were encountered: