Getting list of all branches in a project
GET /get-branch-list
Use this endpoint to get list of all the available branches in a parsed repo
Headers
Name
Value
Authorization
Bearer <token>
Query Param
Name
Type
Description
repo_name
string
username/branch-name
Response
{
"branches": [
"branch1",
"main",
"branch2"
]
}{
"detail": "Repository not found or error fetching branches: 400: Failed to get installation ID"
}Last updated
Was this helpful?