Tractable interview question

How would you build REST API system