Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Versioning API Proxy

I have a proxy with hosted target with the basePath as /v1/offers (based on APIgee books, this is the best way to accomplish versioning)

So now, we want to do some major changes to the API and keep version 1. What I tried to do is change the basePath to /v2/offers and deploy.

The results is that I have two deployed revisions, but unfortunately both are routing to the same Target endpoint.

I'm surprised that Apigee talks a lot about API best practices and versioning, and yet doesn't have an easy way to accomplish versioning.

Also deploying to a different proxy is no longer an option since we reached the limit of hosted targets.

0 9 614
9 REPLIES 9