Load Branches for a GitHub Repository​
GET
/github-apps/{github_app_id}/repositories/{owner}/{repo}/branches
Fetch branches from GitHub for a given repository.
Authorizations​
bearerAuth
Go to Keys & Tokens / API tokens and create a new token. Use the token as the bearer token.
Type
HTTP (bearer)
Parameters​
Path Parameters
github_app_id*
GitHub App ID
Type
Requiredinteger
owner*
Repository owner
Type
Requiredstring
repo*
Repository name
Type
Requiredstring
Responses​
Branches loaded successfully.
application/json
JSON
{
"branches": [
{
}
]
}
