Repositories

Resolve repository by URL

Given a repository URL and VCS, returns the matching repository and provider object IDs

post/api/v1/repositories/resolve-by-url

Request

  • Base URL
    https://zeropath.com
  • Auth
    API key in header X-ZeroPath-API-Token-Id and API key in header X-ZeroPath-API-Token-Secret

Request body

organizationIdstring
repositoryUrlstring required
vcs'github' | 'gitlab' | 'bitbucket' | 'gerrit' | 'generic' | 'cvs' required

Response

Repository resolved

repositoryIdstring required
vcsObjectIdstring required
externalIdstring
vcs'github' | 'gitlab' | 'bitbucket' | 'gerrit' | 'generic' | 'cvs' required
repositoryUrlstring required

Changes

No recorded changes to this operation across all 1 revision of this API.