chore(rest): fix compile after api method rename