cURL
curl --request GET \ --url http://localhost:3000/api/v1/git/branches \ --cookie nut-session=
{ "success": true, "data": { "branches": [ { "name": "<string>", "current": true, "remote": "<string>", "commit": "<string>" } ] } }
Retrieve all Git branches
Session cookie authentication
List of branches
Show child attributes
Branch name
Is current branch
Remote tracking branch
Latest commit SHA