Question d’entretien chez GE

how would you design a restful api