Skip to content
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 / api version call #7

Open
tykling opened this issue Aug 28, 2014 · 1 comment
Open

api versioning / api version call #7

tykling opened this issue Aug 28, 2014 · 1 comment

Comments

@tykling
Copy link
Member

tykling commented Aug 28, 2014

implement some sort of api versioning, and make an api call so clients can determine which API version a server supports

@rlindsgaard
Copy link
Member

I suggest a naming scheme /api/v1/endpoint /api/v2/endpoint etc. Servers are obliged to support older api schemes. The client then negotiates by getting a 200 response from the server when visiting /api/v2 and downgrades to /api/v1 if necessary. We could also use /api/x.y/ if necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants