Skip to content

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
Required
owner*

Repository owner

Typestring
Required
repo*

Repository name

Typestring
Required

Responses​

Branches loaded successfully.
application/json
JSON
{
"branches": [
{
}
]
}

Playground​

Authorization
Variables
Key
Value

Samples​

Powered by VitePress OpenAPI