Get parent repo using api