Created
May 21, 2014 19:40
-
-
Save orrc/0dcbede4f5536cf3f1d7 to your computer and use it in GitHub Desktop.
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
{ | |
"canon_url": "https://bitbucket.org", | |
"commits": [ | |
{ | |
"author": "chris_iosphere", | |
"branch": "feature/do-something", | |
"files": [ | |
{ | |
"file": "README.md", | |
"type": "modified" | |
} | |
], | |
"message": "This is a test commit.\n", | |
"node": "d14613ee1245", | |
"parents": [ | |
"c49067f63ec2" | |
], | |
"raw_author": "Christopher Orr <[email protected]>", | |
"raw_node": "d14613ee1245a8d8bc5d5ca3898faafb056338b9", | |
"revision": null, | |
"size": -1, | |
"timestamp": "2014-05-21 18:11:59", | |
"utctimestamp": "2014-05-21 16:11:59+00:00" | |
} | |
], | |
"repository": { | |
"absolute_url": "/someaccount/somerepo/", | |
"fork": false, | |
"is_private": true, | |
"name": "somerepo", | |
"owner": "someaccount", | |
"scm": "git", | |
"slug": "somerepo", | |
"website": "" | |
}, | |
"truncated": false, | |
"user": "chris_iosphere" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is the JSON payload that Bitbucket sends with a git push webhook.
Note that it's actually send URL-encoded in the
payload
field of anapplication/x-www-form-urlencoded
body.