Fixes jenkins
Renames rest in api