Amazon interview question

Walkthrough us through creating an API