Tractable Interview Question

How would you build REST API system