Skip to content

Instantly share code, notes, and snippets.

@mauris
Created May 11, 2013 04:27
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mauris/5558889 to your computer and use it in GitHub Desktop.
Save mauris/5558889 to your computer and use it in GitHub Desktop.
Sample BitBucket payload for hook services
{
"canon_url": "https:\/\/bitbucket.org",
"commits": [
{
"author": "mauris",
"branch": "master",
"files": [
{
"file": "test",
"type": "added"
}
],
"message": "etsdasd\n",
"node": "e00909711849",
"parents": [
],
"raw_author": "Sam-Mauris Yong <mauris@hotmail.sg>",
"raw_node": "e0090971184976f95ee984c1777133c04b72b54b",
"revision": null,
"size": -1,
"timestamp": "2013-02-28 10:52:40",
"utctimestamp": "2013-02-28 09:52:40+00:00"
}
],
"repository": {
"absolute_url": "\/mauris\/hooktest\/",
"fork": false,
"is_private": true,
"name": "hooktest",
"owner": "mauris",
"scm": "git",
"slug": "hooktest",
"website": ""
},
"truncated": false,
"user": "mauris"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment