GET/github-apps/{github_app_id}/repositories/{owner}/{repo}/branches

Load Branches for a GitHub Repository

Fetch branches from GitHub for a given repository.

3 parameters
github_app_idintegerrequired
GitHub App ID
ownerstringrequired
Repository owner
repostringrequired
Repository name

4 status codes
200Branches loaded successfully.
branchesarray<object>optional
400Invalid token.
messagestringoptional
401Unauthenticated.
messagestringoptional
404Resource not found.
messagestringoptional

Error handling

A 400 is returned: Invalid token. A 401 is returned: Unauthenticated. A 404 is returned: Resource not found.