curl --request GET \
--url https://api.icepanel.io/v1/organizations/{organizationId}/code-repos \
--header 'Authorization: <authorization>'
{
"codeRepos": [
{
"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>"
}
]
}
List code repos
curl --request GET \
--url https://api.icepanel.io/v1/organizations/{organizationId}/code-repos \
--header 'Authorization: <authorization>'
{
"codeRepos": [
{
"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>"
}
]
}
OK
The response is of type object
.