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"
    ]
}

404 in this case would ususally mean that we do not have access to the codebase / github repo or it doesn't exist.

Last updated