cURL
curl --request GET \ --url https://api.suprlogs.com/v1/github/repos/{installationId}/branches \ --header 'Authorization: Bearer <token>'
{ "branches": [ {} ], "defaultBranch": "<string>" }
Returns branches visible to the GitHub App installation for a repository.
Send API key as Authorization: Bearer .
Branches and default branch.