Pergunta de entrevista da empresa GE

how would you design a restful api