Created
March 11, 2012 18:03
-
-
Save igrigorik/2017462 to your computer and use it in GitHub Desktop.
sample PushEvent
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"repository":{ | |
"url":"https://github.com/igrigorik/spdy", | |
"has_downloads":false, | |
"created_at":"2012/01/19 14:15:34 -0800", | |
"has_issues":true, | |
"description":"SPDY is an experiment with protocols for the web", | |
"forks":10, | |
"fork":false, | |
"has_wiki":false, | |
"homepage":"http://www.igvita.com/2011/04/07/life-beyond-http-11-googles-spdy/", | |
"size":420, | |
"private":false, | |
"name":"spdy", | |
"owner":"igrigorik", | |
"open_issues":4, | |
"watchers":206, | |
"pushed_at":"2012/01/11 10:38:16 -0700", | |
"language":"Ruby" | |
}, | |
"actor_attributes":{ | |
"gravatar_id":"a17f0025641b4be419a6cd3845e55dd2", | |
"type":"User", | |
"login":"igrigorik" | |
}, | |
"created_at":"2012/02/11 10:38:16 -0700", | |
"public":true, | |
"actor":"igrigorik", | |
"payload":{ | |
"head":"98f44cab69becb274c6f3b9035ef8e0bd7b2b1b7", | |
"size":1, | |
"shas":[ | |
[ | |
"98f44cab69becb274c6f3b9035ef8e0bd7b2b1b7", | |
"[email protected]", | |
"Unpack a SYN_STREAM before calling the callback.", | |
"igrigorik", | |
true | |
] | |
], | |
"ref":"refs/heads/master" | |
}, | |
"url":"https://github.com/igrigorik/spdy/compare/5b74597e88...98f44cab69b", | |
"type":"PushEvent" | |
} |
One is the creation time of the respository; the other is the creation time of the push event.
The value payload
> size
, is that the number of lines of code affected by the push?
Is it the same number regardless of the edit being an addition or deletion?
Is that the only information about the content of the push that's included (besides the commit comment)?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What's the difference between the created_at on top level and that inside the repository?
Cheers 🍻