add api to repo.list