Administrator
- Administrator
- All Products
/public/core/v3/repositoryConnection
Field
| Type
| Required
| Description
|
---|---|---|---|
projectIds
| List of String
| -
| Project ID that you want to find the repository connection details for.
|
projectNames
| List of String
| -
| Project name that you want to find the repository connection details for.
|
Field
| Type
| Description
|
---|---|---|
pullActionId
| String
| ID for the pull operation.
|
projectRepoConnections
| List <Object>
| Object that contains repository details for each project ID or project name included in the request.
|
projectId
| String
| Returned in the projectRepoConnections object.
ID of the project. Included when the project ID was included in the request.
|
projectNames
| String
| Returned in the projectRepoConnections object.
Name of the project. Included when the project name was included in the request.
|
gitRepositoryURL
| String
| Git repository URL.
|
gitRepositoryBranch
| String
| Git repository branch.
|
globalRepository
| Boolean
| Whether project is configured with a global Git repository. If true, repoConnectionId is null.
|
repoConnectionId
| String
| Repository connection ID for the project.
Null if the project isn't configured with a project-level Git repository.
|
https://{{pod_link}}/saas/public/core/v3/repositoryConnection?projectIds=6ub6oUKHJ8Dkr3QXbGG9Sm,5FmdSKPASroei2vyeXwFeT
{ "projectRepoConnections": [ { "projectId": "6ub6oUKHJ8Dkr3QXbGG9Sm", "projectNames": "customProject2", "globalRepository": false, "gitRepositoryURL": "https://priraj@dev.azure.com/priraj/infa-cloud-vcs-azure/_git/infa-cloud-vcs-azure", "gitRepositoryBranch": "main", "repoConnectionId": "1rMeeN2te0TetGYVtRS3GS" }, { "projectId": "5FmdSKPASroei2vyeXwFeT", "projectNames": "TestProject", "globalRepository": true, "gitRepositoryURL": "https://priraj@dev.azure.com/priraj/infa-cloud-vcs/_git/infa-cloud-vcs", "gitRepositoryBranch": "main", "repoConnectionId": null } ] }