Removes unnecessary /rest from API calls

Relates to issue #82