setup correct Repo API endpoint