gith
Version:
gith[ooks] - a simple node server that responds to github post-receive events with meaningful data
81 lines (80 loc) • 2.2 kB
JSON
{
"after": "e004e25cc02347ad263176e4cd5486cdafb44e7c",
"before": "f0e0cfa78f2326e1bbc6413fbb5fe5fefdebf41d",
"commits": [
{
"added": [
"test.txt"
],
"author": {
"email": "email@domain.com",
"name": "Dan Heberden",
"username": "danheberden"
},
"committer": {
"email": "email@domain.com",
"name": "Dan Heberden",
"username": "danheberden"
},
"distinct": true,
"id": "e004e25cc02347ad263176e4cd5486cdafb44e7c",
"message": "just reset head, now adding file and will push",
"modified": [],
"removed": [],
"timestamp": "2012-09-13T12:25:26-07:00",
"url": "https://github.com/danheberden/payloads/commit/e004e25cc02347ad263176e4cd5486cdafb44e7c"
}
],
"compare": "https://github.com/danheberden/payloads/compare/f0e0cfa78f23...e004e25cc023",
"created": false,
"deleted": false,
"forced": true,
"head_commit": {
"added": [
"test.txt"
],
"author": {
"email": "email@domain.com",
"name": "Dan Heberden",
"username": "danheberden"
},
"committer": {
"email": "email@domain.com",
"name": "Dan Heberden",
"username": "danheberden"
},
"distinct": true,
"id": "e004e25cc02347ad263176e4cd5486cdafb44e7c",
"message": "just reset head, now adding file and will push",
"modified": [],
"removed": [],
"timestamp": "2012-09-13T12:25:26-07:00",
"url": "https://github.com/danheberden/payloads/commit/e004e25cc02347ad263176e4cd5486cdafb44e7c"
},
"pusher": {
"email": "email@domain.com",
"name": "danheberden"
},
"ref": "refs/heads/master",
"repository": {
"created_at": "2012-09-12T22:57:59-07:00",
"description": "payloads",
"fork": false,
"forks": 0,
"has_downloads": true,
"has_issues": true,
"has_wiki": true,
"name": "payloads",
"open_issues": 0,
"owner": {
"email": "email@domain.com",
"name": "danheberden"
},
"private": false,
"pushed_at": "2012-09-13T12:25:55-07:00",
"size": 224,
"stargazers": 0,
"url": "https://github.com/danheberden/payloads",
"watchers": 0
}
}