harness-drone/service/hook/parser/testdata/bitbucket_pull_open.json
2019-02-19 15:56:41 -08:00

43 lines
No EOL
1.4 KiB
JSON

{
"Action": "opened",
"Repo": {
"ID": "{bc771cbf-829e-4c4b-b71f-a0eb3ac2b860}",
"Namespace": "brydzewski",
"Name": "foo",
"Perm": null,
"Branch": "",
"Private": true,
"Clone": "https://bitbucket.org/brydzewski/foo.git",
"CloneSSH": "git@bitbucket.org:brydzewski/foo.git",
"Link": "https://bitbucket.org/brydzewski/foo",
"Created": "0001-01-01T00:00:00Z",
"Updated": "0001-01-01T00:00:00Z"
},
"PullRequest": {
"Number": 1,
"Title": "Awesome new feature",
"Body": "made some changes",
"Sha": "507a576e59b3",
"Ref": "refs/pull-requests/1/from",
"Source": "develop",
"Target": "master",
"Fork": "brydzewski/foo",
"Link": "https://bitbucket.org/brydzewski/foo/pull-requests/1",
"Closed": false,
"Merged": false,
"Author": {
"Login": "brydzewski",
"Name": "Brad Rydzewski",
"Email": "",
"Avatar": "https://bitbucket.org/account/brydzewski/avatar/32/"
},
"Created": "2018-07-02T21:51:39.492248Z",
"Updated": "2018-07-02T21:51:39.532546Z"
},
"Sender": {
"Login": "brydzewski",
"Name": "Brad Rydzewski",
"Email": "",
"Avatar": "https://bitbucket.org/account/brydzewski/avatar/32/"
}
}