cURL
curl --request GET \ --url http://localhost:3000/api/v1/git/file/{filepath} \ --cookie nut-session=
{ "success": true, "data": { "content": "<string>" } }
Retrieve file content at a specific commit
Session cookie authentication
File path
Git reference (commit SHA, branch, tag)
File content
Show child attributes