API Design · Junior · Question 42 of 75

What is a common way to version a REST API?

Explanation

URL versions are simple and visible; header or media type versions keep URLs stable. Avoid frequent major versions: evolve compatibly instead.

Further reading

Problem with a question

API Design · Junior · question 42

Test yourself

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

Take this quiz