Rest API skeleton