update repo api to support url param and url format like https://github.com/user-name/repo-name