Rename rest api to follow conventions