GE Interview Question

how would you design a restful api