Changed the rest endpoint