API Design · Middle · Question 60 of 75

How should an API expose actions on many items, like 'archive 500 messages'?

Explanation

Batch endpoints reduce overhead; limits and async processing protect the server.

Further reading

Problem with a question

API Design · Middle · question 60

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