How to design an API function that creates something | Hacker News Reader