API Design · Senior · Question 44 of 75
How can an API support offline-first mobile clients?
- ✓Correct answer: Provide delta sync (changes since a cursor or version), idempotent writes with client-generated IDs, and conflict detection
- 2Disable writes when offline
- 3Require clients to download everything on every launch
Explanation
Client-generated IDs (UUIDs) let the app create records offline and sync them later without duplicates.