API Design · Senior · Question 5 of 75
How does date-based API versioning (like Stripe's) work?
- ✓Correct answer: Each account is pinned to the API version it started with; the server transforms responses through version 'gates', and clients upgrade on their own schedule
- 2The API changes every day for everyone
- 3Clients send the current date in every request
Explanation
It allows frequent small changes without breaking existing integrations, at the cost of maintaining transformations for old versions.