API Reference/Git
Get repository information
Retrieve information about a specific repository, including its ID, name, and default branch.
GET
/git/v1/repo/{repo}
Path Parameters
repo
RequiredstringThe repository id
Response Body
200
Repository information retrieved successfully
id
RequiredstringFormat:
"uuid"
name
string | nullaccountId
RequiredstringFormat:
"uuid"
visibility
RequiredstringValue in:
"public" | "private"
defaultBranch
RequiredstringRepository information retrieved successfully