curl --request GET \
--url http://localhost:3000/api/v1/git/commits/{sha} \
--cookie nut-session={
"success": true,
"data": {
"commit": {
"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 a specific commit
curl --request GET \
--url http://localhost:3000/api/v1/git/commits/{sha} \
--cookie nut-session={
"success": true,
"data": {
"commit": {
"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>"
]
}
}
}Session cookie authentication
Commit SHA
Commit details
Show child attributes
Show child attributes
Commit SHA
Commit message
Short commit SHA
Parent commit SHAs