add /rest/ base to all API endpoints