API Design · Middle · Question 28 of 75

What are trade-offs of URL versioning (/v2/...) versus header versioning?

Explanation

Some APIs (Stripe) version by date per account, letting each client upgrade on its own schedule.

Further reading

Problem with a question

API Design · Middle · question 28

Test yourself

Take the API Design · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz