Get repository

Get a single repository by name.

Path parameters

repostringRequired
The repository name

Headers

AuthorizationstringRequired

Response

Repository response
namestring
The repository name
typeenum
The type of repository
Allowed values:
defaultBranchstring
The repository's default branch
enabledboolean
Whether or not a repository is enabled for code reference scanning
versioninteger
The version of the repository's saved information
commitUrlTemplatestring or null
A template for constructing a valid URL to view the commit
hunkUrlTemplatestring or null
A template for constructing a valid URL to view the hunk
brancheslist of objects or null
An array of the repository's branches that have been scanned for code references
_accessobject or null

Errors