Skip to content

Instantly share code, notes, and snippets.

@mwarkentin
Created January 19, 2013 15:19
Show Gist options
  • Save mwarkentin/4573122 to your computer and use it in GitHub Desktop.
Save mwarkentin/4573122 to your computer and use it in GitHub Desktop.
Sample payload from github-services
{
"compare": "http://github.com/mojombo/grit/compare/4c8124f...a47fd41",
"pusher": {
"name": "rtomayko"
},
"repository": {
"owner": {
"name": "mojombo",
"email": "[email protected]"
},
"name": "grit",
"url": "http://github.com/mojombo/grit"
},
"commits": [
{
"id": "06f63b43050935962f84fe54473a7c5de7977325",
"distinct": true,
"message": "stub git call for Grit#heads test f:15 Case#1",
"timestamp": "2007-10-10T00:11:02-07:00",
"removed": [],
"author": {
"name": "Tom Preston-Werner",
"email": "[email protected]"
},
"modified": [
"lib/grit/grit.rb",
"test/helper.rb",
"test/test_grit.rb"
],
"url": "http://github.com/mojombo/grit/commit/06f63b43050935962f84fe54473a7c5de7977325",
"added": []
},
{
"id": "5057e76a11abd02e83b7d3d3171c4b68d9c88480",
"distinct": true,
"message": "clean up heads test f:2hrs",
"timestamp": "2007-10-10T00:18:20-07:00",
"removed": [],
"author": {
"name": "Tom Preston-Werner",
"email": "[email protected]"
},
"modified": [
"test/test_grit.rb"
],
"url": "http://github.com/mojombo/grit/commit/5057e76a11abd02e83b7d3d3171c4b68d9c88480",
"added": []
},
{
"id": "a47fd41f3aa4610ea527dcc1669dfdb9c15c5425",
"distinct": true,
"message": "add more comments throughout",
"timestamp": "2007-10-10T00:50:39-07:00",
"removed": [],
"author": {
"name": "Tom Preston-Werner",
"email": "[email protected]"
},
"modified": [
"lib/grit.rb",
"lib/grit/commit.rb",
"lib/grit/grit.rb"
],
"url": "http://github.com/mojombo/grit/commit/a47fd41f3aa4610ea527dcc1669dfdb9c15c5425",
"added": []
}
],
"before": "4c8124ffcf4039d292442eeccabdeca5af5c5017",
"after": "a47fd41f3aa4610ea527dcc1669dfdb9c15c5425",
"ref": "refs/heads/master"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment