latestOpenAPI 3.0.32026-08-10152216352.3 KB
eea119b4113f
VCS
Get authenticated clone URL for a repository
Generates an authenticated git clone URL with embedded credentials for the specified repository. Supports all VCS providers: GitHub, GitLab, Bitbucket, Bitbucket Data Center, Azure DevOps, and AWS CodeCommit.
post/api/vcs/clone-url
Request body
Example request
{
"vcsId": "66169dfaf49923c0aab04510",
"repository": "my-org/my-repo",
"region": "us-east-1"
}Response
Successfully generated clone URL
Example response
{
"cloneUrl": "https://ghp_xxxx@github.com/my-org/my-repo.git"
}