API ReferenceGit
Get a commit object
Get a commit from the Git database with detailed information.
Path Parameters
repo*string
The repository id
Format
uuidhash*string
The object's hash
Response Body
application/json
curl -X GET "https://api.freestyle.sh/git/v1/repo/497f6eca-6276-4993-bfeb-53cbbbba6f08/git/commits/string"{
"author": {
"date": "2019-08-24T14:15:22Z",
"name": "string",
"email": "string"
},
"committer": {
"date": "2019-08-24T14:15:22Z",
"name": "string",
"email": "string"
},
"message": "string",
"tree": {
"sha": "string"
},
"parents": [
{
"sha": "string"
}
],
"sha": "string"
}