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.
TypeHTTP (bearer)
Parameters​
Path Parameters
github_app_id*
GitHub App ID
Typeinteger
Requiredowner*
Repository owner
Typestring
Requiredrepo*
Repository name
Typestring
RequiredResponses​
Branches loaded successfully.
application/json
JSON
{
"branches": [
{
}
]
}
