Corrected REST API