API Design · Middle · Question 48 of 75

How should an API handle a bulk operation where some items fail?

Explanation

Some APIs use 207 Multi-Status; others return 200 with a results array. Document whether the operation is atomic.

Further reading

Problem with a question

API Design · Middle · question 48

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