removed rest endpoint