How to design an API function that creates something · HackerTrans