Rectangle Health interview question

Create an API with certain specifications