API Design · Senior · Question 63 of 75

When does an API need explicit optimistic concurrency (ETags/If-Match) by default?

Explanation

Requiring If-Match on updates (428 if missing) makes lost updates impossible rather than unlikely.

Further reading

Problem with a question

API Design · Senior · question 63

Test yourself

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

Take this quiz
When does an API need explicit optimistic concurrency… - API Design Senior interview question