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 #114

Open
raderio opened this issue May 11, 2017 · 1 comment
Open

API versioning #114

raderio opened this issue May 11, 2017 · 1 comment

Comments

@raderio
Copy link

raderio commented May 11, 2017

How to do API versioning? Is there a documentation about this?

@feroult
Copy link
Owner

feroult commented May 12, 2017

Hi @raderio.

You can have multiple versions of your API using the Google Appengine's support for it. You just need to configure your appengine-web.xml file for each version.

The docs on how to configure multiple versions.

Here you can find the limit of versions per app.

Different versions will have different base urls to be configured by the client. So you'll have add a logic to set it based on your client's version, like this:

yawp.config(function (c) {
    c.baseUrl('http://versionXYZ.myapp.appspot.com/api');
});

Regards!

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