cURL
curl --request GET \ --url http://localhost:3001/api/v1/git/commits \ --cookie nut-session=
{ "success": true, "data": { "commits": [ { "sha": "<string>", "message": "<string>", "shortSha": "<string>", "author": { "name": "<string>", "email": "<string>", "date": "2023-11-07T05:31:56Z" }, "committer": { "name": "<string>", "email": "<string>", "date": "2023-11-07T05:31:56Z" }, "parents": [ "<string>" ] } ] } }
Retrieve commit history
Session cookie authentication
Branch name
Maximum number of commits
List of commits
Show child attributes