gith
Version:
gith[ooks] - a simple node server that responds to github post-receive events with meaningful data
83 lines (82 loc) • 2.24 kB
JSON
{
"after": "597f5c54ca289b17f2a2606abfa9347d067c2979",
"before": "e0d2ff7805294f5f29e38573f107985f92f0cfeb",
"commits": [
{
"added": [
"delete-me.txt",
"payloads/add-file.json"
],
"author": {
"email": "email@domain.com",
"name": "Dan Heberden",
"username": "danheberden"
},
"committer": {
"email": "email@domain.com",
"name": "Dan Heberden",
"username": "danheberden"
},
"distinct": true,
"id": "597f5c54ca289b17f2a2606abfa9347d067c2979",
"message": "adding file and directory",
"modified": [],
"removed": [],
"timestamp": "2012-09-12T23:05:11-07:00",
"url": "https://github.com/danheberden/payloads/commit/597f5c54ca289b17f2a2606abfa9347d067c2979"
}
],
"compare": "https://github.com/danheberden/payloads/compare/e0d2ff780529...597f5c54ca28",
"created": false,
"deleted": false,
"forced": false,
"head_commit": {
"added": [
"delete-me.txt",
"payloads/add-file.json"
],
"author": {
"email": "email@domain.com",
"name": "Dan Heberden",
"username": "danheberden"
},
"committer": {
"email": "email@domain.com",
"name": "Dan Heberden",
"username": "danheberden"
},
"distinct": true,
"id": "597f5c54ca289b17f2a2606abfa9347d067c2979",
"message": "adding file and directory",
"modified": [],
"removed": [],
"timestamp": "2012-09-12T23:05:11-07:00",
"url": "https://github.com/danheberden/payloads/commit/597f5c54ca289b17f2a2606abfa9347d067c2979"
},
"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-12T23:05:23-07:00",
"size": 96,
"stargazers": 0,
"url": "https://github.com/danheberden/payloads",
"watchers": 0
}
}