List the available branches for a repository

Lists the available branches for a repository.

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(username:password)>.

Path parameters

gitTypeenumRequired
The name of the Git provider that is used
Allowed values:
repoPathstringRequired
The path in Git to the repository

Response

The result of retrieving a list of branches from Git
namestring
The name of the branch
protectedboolean
Whether or not the branch is protected

Errors

500
Internal Server Error