renamed rest endpoint