Adding Optimistic Locking to an API | Hacker News Reader