POST
/
api
/
v1
/
installations
/
repositories
Get installation repositories
curl --request POST \
  --url https://zeropath.com/api/v1/installations/repositories \
  --header 'Content-Type: application/json' \
  --header 'X-ZeroPath-API-Token-Id: <api-key>' \
  --header 'X-ZeroPath-API-Token-Secret: <api-key>' \
  --data '{
  "organizationId": "<string>",
  "appId": "<string>"
}'
[
  {
    "id": "<string>",
    "repositoryUrl": "<string>",
    "repositoryName": "<string>",
    "defaultBranch": "<string>",
    "github": {
      "githubAppInstallationId": "<string>",
      "externalGithubRepositoryId": "<string>",
      "externalGithubAppInstallationId": "<string>"
    },
    "gitlab": {
      "gitlabInstallationId": "<string>",
      "externalGitlabProjectId": "<string>"
    },
    "bitbucket": {
      "bitbucketInstallationId": "<string>",
      "externalBitbucketRepositoryId": "<string>"
    }
  }
]

Authorizations

X-ZeroPath-API-Token-Id
string
header
required
X-ZeroPath-API-Token-Secret
string
header
required

Body

application/json
organizationId
string
appId
string

Response

Successful response

id
string
required
repositoryUrl
string
required
repositoryName
string
required
defaultBranch
string
github
object
gitlab
object
bitbucket
object