17

API Versioning

User support feels the most pressure whenever you introduce changes to your API. Whenever users have trouble consuming your API, they’ll reach out to support for help. API versioning is a way to anticipate the needs of consumers and inform them that changes are coming. By following a robust versioning and communication strategy, you can make your API easier to use and understand. Continue reading to learn how to apply the best strategy for your API.

This chapter begins by introducing you to the world of multiple API versions. You’ll revisit the different versioning strategies that you first learned about in Chapter 13. Then, you’ll continue learning how to have a default latest version and, at the same time, provide access ...

Get Building an API Product now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.