REST api book