Interview practice question
Bulk operations in a REST API
System Design · APIs and Communication · Intermediate
Clients need to update thousands of records at once, and calling the API per record is too slow. How would you design a bulk endpoint?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- POST /items/batch with array.
- Limit batch size.
- Per-item results with statuses.
- Async job for very large batches.
- Idempotency per batch.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.