Pergunta de entrevista da empresa ClickUp

Take home coding challenge: Build an API endpoint to the provided spec with modular, testable functions. Writing additional test cases would is a bonus.