Palo Alto Networks interview question

How would you approach designing a restful api