Skip to main content
GET
/
api
/
v1
/
git
/
ls-tree
List tracked files
curl --request GET \
  --url http://localhost:3001/api/v1/git/ls-tree \
  --cookie nut-session=
{
  "success": true,
  "data": [
    "<string>"
  ]
}

Authorizations

nut-session
string
cookie
required

Session cookie authentication

Response

List of tracked file paths

success
boolean
Example:

true

data
string[]

File paths tracked in HEAD