202 lines
6.3 KiB
JSON
202 lines
6.3 KiB
JSON
{
|
|
"actor":{
|
|
"nickname":"emmap1",
|
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
|
"display_name":"Emma",
|
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
|
"links":{
|
|
"self":{
|
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
|
},
|
|
"html":{
|
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
|
},
|
|
"avatar":{
|
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
|
}
|
|
}
|
|
},
|
|
"pullrequest":{
|
|
"id":1,
|
|
"title":"Title of pull request",
|
|
"description":"Description of pull request",
|
|
"state":"OPEN|MERGED|DECLINED",
|
|
"author":{
|
|
"nickname":"emmap1",
|
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
|
"display_name":"Emma",
|
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
|
"links":{
|
|
"self":{
|
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
|
},
|
|
"html":{
|
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
|
},
|
|
"avatar":{
|
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
|
}
|
|
}
|
|
},
|
|
"source":{
|
|
"branch":{
|
|
"name":"branch2"
|
|
},
|
|
"commit":{
|
|
"hash":"d3022fc0ca3d"
|
|
},
|
|
"repository":{
|
|
"links":{
|
|
"self":{
|
|
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
|
},
|
|
"html":{
|
|
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
|
},
|
|
"avatar":{
|
|
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
|
}
|
|
},
|
|
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
|
"full_name":"team_name/repo_name",
|
|
"name":"repo_name",
|
|
"scm":"git",
|
|
"is_private":true
|
|
}
|
|
},
|
|
"destination":{
|
|
"branch":{
|
|
"name":"master"
|
|
},
|
|
"commit":{
|
|
"hash":"ce5965ddd289"
|
|
},
|
|
"repository":{
|
|
"links":{
|
|
"self":{
|
|
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
|
},
|
|
"html":{
|
|
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
|
},
|
|
"avatar":{
|
|
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
|
}
|
|
},
|
|
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
|
"full_name":"team_name/repo_name",
|
|
"name":"repo_name",
|
|
"scm":"git",
|
|
"is_private":true
|
|
}
|
|
},
|
|
"merge_commit":{
|
|
"hash":"764413d85e29"
|
|
},
|
|
"participants":[
|
|
{
|
|
"nickname":"emmap1",
|
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
|
"display_name":"Emma",
|
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
|
"links":{
|
|
"self":{
|
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
|
},
|
|
"html":{
|
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
|
},
|
|
"avatar":{
|
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"reviewers":[
|
|
{
|
|
"nickname":"emmap1",
|
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
|
"display_name":"Emma",
|
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
|
"links":{
|
|
"self":{
|
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
|
},
|
|
"html":{
|
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
|
},
|
|
"avatar":{
|
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"close_source_branch":true,
|
|
"closed_by":{
|
|
"nickname":"emmap1",
|
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
|
"display_name":"Emma",
|
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
|
"links":{
|
|
"self":{
|
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
|
},
|
|
"html":{
|
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
|
},
|
|
"avatar":{
|
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
|
}
|
|
}
|
|
},
|
|
"reason":"reason for declining the PR (if applicable)",
|
|
"created_on":"2015-04-06T15:23:38.179678+00:00",
|
|
"updated_on":"2015-04-06T15:23:38.205705+00:00",
|
|
"links":{
|
|
"self":{
|
|
"href":"https://api.bitbucket.org/api/2.0/pullrequests/pullrequest_id"
|
|
},
|
|
"html":{
|
|
"href":"https://api.bitbucket.org/pullrequest_id"
|
|
}
|
|
}
|
|
},
|
|
"repository":{
|
|
"links":{
|
|
"self":{
|
|
"href":"https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
|
|
},
|
|
"html":{
|
|
"href":"https://api.bitbucket.org/bitbucket/bitbucket"
|
|
},
|
|
"avatar":{
|
|
"href":"https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
|
|
}
|
|
},
|
|
"uuid":"{673a6070-3421-46c9-9d48-90745f7bfe8e}",
|
|
"full_name":"team_name/repo_name",
|
|
"name":"repo_name",
|
|
"scm":"git",
|
|
"is_private":true
|
|
},
|
|
"approval":{
|
|
"date":"2015-04-06T16:34:59.195330+00:00",
|
|
"user":{
|
|
"nickname":"emmap1",
|
|
"account_id":"udfy9suggmzpswxc7n200y3c",
|
|
"display_name":"Emma",
|
|
"uuid":"{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}",
|
|
"links":{
|
|
"self":{
|
|
"href":"https://api.bitbucket.org/api/2.0/users/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
|
},
|
|
"html":{
|
|
"href":"https://api.bitbucket.org/%7Ba54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3%7D"
|
|
},
|
|
"avatar":{
|
|
"href":"https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |