GET
/
organizations
/
{organizationId}
/
code-repos
/
{codeRepoId}
curl --request GET \
  --url https://api.icepanel.io/v1/organizations/{organizationId}/code-repos/{codeRepoId} \
  --header 'Authorization: <authorization>'
{
  "codeRepo": {
    "azureDevopsAccountName": "<string>",
    "azureDevopsAuthorizationId": "<string>",
    "azureDevopsProjectId": "<string>",
    "azureDevopsRepositoryId": "<string>",
    "azureDevopsUrl": "<string>",
    "bitbucketAuthorizationId": "<string>",
    "bitbucketProjectId": "<string>",
    "bitbucketRepositoryId": "<string>",
    "bitbucketServerProjectId": 123,
    "bitbucketServerProjectKey": "<string>",
    "bitbucketServerRepositoryId": 123,
    "bitbucketServerRepositorySlug": "<string>",
    "bitbucketServerTokenId": "<string>",
    "bitbucketServerUrl": "<string>",
    "bitbucketUrl": "<string>",
    "bitbucketWorkspaceId": "<string>",
    "githubInstallId": "<string>",
    "githubOwnerId": 123,
    "githubOwnerLogin": "<string>",
    "githubRepositoryId": 123,
    "githubRepositoryName": "<string>",
    "githubUrl": "<string>",
    "gitlabAuthorizationId": "<string>",
    "gitlabGroupId": 123,
    "gitlabProjectId": 123,
    "gitlabUrl": "<string>",
    "name": "<string>",
    "refs": {},
    "type": "azure-devops",
    "url": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "createdBy": "user",
    "createdById": "<string>",
    "id": "<string>",
    "organizationId": "<string>",
    "updatedAt": "2023-11-07T05:31:56Z",
    "updatedBy": "user",
    "updatedById": "<string>"
  }
}

Headers

Authorization
string
required

Path Parameters

organizationId
string
required
codeRepoId
string
required

Response

200
application/json
OK
codeRepo
object
required