Infra APIGithub
List repo branches
Lists all branches for a GitHub repository
GET
/api/v1/github/repos/{owner}/{repo}/branchesLists all branches for a GitHub repository
Authorization
BearerAuth AuthorizationBearer <token>
Supabase JWT Bearer token
In: header
Path Parameters
owner*string
Repository owner
repo*string
Repository name
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/github/repos/string/string/branches"{ "branches": [ { "name": "string", "protected": true } ], "owner": "string", "repo": "string"}{ "error": "string"}{ "error": "string", "message": "string"}{ "error": "string"}