First commit, checkpoint: c. Adding an API endpoint