rename rest api resources.