System Design Patterns: From Fundamentals to Real Systems
0% completed
API Versioning
1. The Pattern
A published API cannot be taken back. Clients you cannot see, cannot update, and cannot schedule have built on every field you ever shipped. So API changes follow three rules: only add when you can, create an explicit new version when you cannot, and retire old versions through a planned process.
The module introduction asked what happens to an old mobile app when the API's response shape changes. Here is the wrong answer. The field `order.state
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%