Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "actor": {
- "display_name": "Emma",
- "links": {
- "avatar": {
- "href": "https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
- },
- "html": {
- "href": "https://api.bitbucket.org/emmap1"
- },
- "self": {
- "href": "https://api.bitbucket.org/api/2.0/users/emmap1"
- }
- },
- "type": "user",
- "username": "emmap1",
- "uuid": "{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}"
- },
- "pullrequest": {
- "author": {
- "display_name": "Emma",
- "links": {
- "avatar": {
- "href": "https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
- },
- "html": {
- "href": "https://api.bitbucket.org/emmap1"
- },
- "self": {
- "href": "https://api.bitbucket.org/api/2.0/users/emmap1"
- }
- },
- "type": "user",
- "username": "emmap1",
- "uuid": "{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}"
- },
- "close_source_branch": true,
- "closed_by": {
- "display_name": "Emma",
- "links": {
- "avatar": {
- "href": "https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
- },
- "html": {
- "href": "https://api.bitbucket.org/emmap1"
- },
- "self": {
- "href": "https://api.bitbucket.org/api/2.0/users/emmap1"
- }
- },
- "type": "user",
- "username": "emmap1",
- "uuid": "{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}"
- },
- "created_on": "2015-04-06T15:23:38.179678+00:00",
- "description": "Description of pull request",
- "destination": {
- "branch": {
- "name": "master"
- },
- "commit": {
- "hash": "ce5965ddd289"
- },
- "repository": {
- "full_name": "workspace_slug/repoitory_slug",
- "is_private": true,
- "links": {
- "avatar": {
- "href": "https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
- },
- "html": {
- "href": "https://api.bitbucket.org/bitbucket/bitbucket"
- },
- "self": {
- "href": "https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
- }
- },
- "name": "repo_name",
- "project": {
- "key": "proj",
- "links": {
- "avatar": {
- "href": "https://bitbucket.org/account/user/teamawesome/projects/proj/avatar/32"
- },
- "html": {
- "href": "https://bitbucket.org/account/user/teamawesome/projects/proj"
- }
- },
- "project": "Untitled project",
- "type": "project",
- "uuid": "{3b7898dc-6891-4225-ae60-24613bb83080}"
- },
- "scm": "git",
- "type": "repository",
- "uuid": "{673a6070-3421-46c9-9d48-90745f7bfe8e}",
- "website": "https://mywebsite.com/",
- "workspace": {
- "links": {
- "avatar": {
- "href": "https://bitbucket.org/account/user/teamawesome/projects/proj/avatar/32"
- },
- "html": {
- "href": "https://bitbucket.org/account/user/teamawesome/projects/proj"
- }
- },
- "name": "workspace name",
- "slug": "https://slug.com",
- "type": "workspace",
- "uuid": "{673a6070-3421-46c9-9d48-90745f7bfe8e}"
- }
- }
- },
- "id": 1,
- "links": {
- "html": {
- "href": "https://api.bitbucket.org/pullrequest_id"
- },
- "self": {
- "href": "https://api.bitbucket.org/api/2.0/pullrequests/pullrequest_id"
- }
- },
- "merge_commit": {
- "hash": "764413d85e29"
- },
- "participants": {
- "display_name": "Emma",
- "links": {
- "avatar": {
- "href": "https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
- },
- "html": {
- "href": "https://api.bitbucket.org/emmap1"
- },
- "self": {
- "href": "https://api.bitbucket.org/api/2.0/users/emmap1"
- }
- },
- "type": "user",
- "username": "emmap1",
- "uuid": "{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}"
- },
- "reason": "reason for declining the PR (if applicable)",
- "reviewers": {
- "display_name": "Emma",
- "links": {
- "avatar": {
- "href": "https://bitbucket-api-assetroot.s3.amazonaws.com/c/photos/2015/Feb/26/3613917261-0-emmap1-avatar_avatar.png"
- },
- "html": {
- "href": "https://api.bitbucket.org/emmap1"
- },
- "self": {
- "href": "https://api.bitbucket.org/api/2.0/users/emmap1"
- }
- },
- "type": "user",
- "username": "emmap1",
- "uuid": "{a54f16da-24e9-4d7f-a3a7-b1ba2cd98aa3}"
- },
- "source": {
- "branch": {
- "name": "branch2"
- },
- "commit": {
- "hash": "d3022fc0ca3d"
- },
- "repository": {
- "full_name": "workspace_slug/repoitory_slug",
- "is_private": true,
- "links": {
- "avatar": {
- "href": "https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
- },
- "html": {
- "href": "https://api.bitbucket.org/bitbucket/bitbucket"
- },
- "self": {
- "href": "https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
- }
- },
- "name": "repo_name",
- "project": {
- "key": "proj",
- "links": {
- "avatar": {
- "href": "https://bitbucket.org/account/user/teamawesome/projects/proj/avatar/32"
- },
- "html": {
- "href": "https://bitbucket.org/account/user/teamawesome/projects/proj"
- }
- },
- "project": "Untitled project",
- "type": "project",
- "uuid": "{3b7898dc-6891-4225-ae60-24613bb83080}"
- },
- "scm": "git",
- "type": "repository",
- "uuid": "{673a6070-3421-46c9-9d48-90745f7bfe8e}",
- "website": "https://mywebsite.com/",
- "workspace": {
- "links": {
- "avatar": {
- "href": "https://bitbucket.org/account/user/teamawesome/projects/proj/avatar/32"
- },
- "html": {
- "href": "https://bitbucket.org/account/user/teamawesome/projects/proj"
- }
- },
- "name": "workspace name",
- "slug": "https://slug.com",
- "type": "workspace",
- "uuid": "{673a6070-3421-46c9-9d48-90745f7bfe8e}"
- }
- }
- },
- "state": "OPEN|MERGED|DECLINED",
- "title": "Title of pull request",
- "updated_on": "2015-04-06T15:23:38.205705+00:00"
- },
- "repository": {
- "full_name": "workspace_slug/repoitory_slug",
- "is_private": true,
- "links": {
- "avatar": {
- "href": "https://api-staging-assetroot.s3.amazonaws.com/c/photos/2014/Aug/01/bitbucket-logo-2629490769-3_avatar.png"
- },
- "html": {
- "href": "https://api.bitbucket.org/bitbucket/bitbucket"
- },
- "self": {
- "href": "https://api.bitbucket.org/api/2.0/repositories/bitbucket/bitbucket"
- }
- },
- "name": "repo_name",
- "project": {
- "key": "proj",
- "links": {
- "avatar": {
- "href": "https://bitbucket.org/account/user/teamawesome/projects/proj/avatar/32"
- },
- "html": {
- "href": "https://bitbucket.org/account/user/teamawesome/projects/proj"
- }
- },
- "project": "Untitled project",
- "type": "project",
- "uuid": "{3b7898dc-6891-4225-ae60-24613bb83080}"
- },
- "scm": "git",
- "type": "repository",
- "uuid": "{673a6070-3421-46c9-9d48-90745f7bfe8e}",
- "website": "https://mywebsite.com/",
- "workspace": {
- "links": {
- "avatar": {
- "href": "https://bitbucket.org/account/user/teamawesome/projects/proj/avatar/32"
- },
- "html": {
- "href": "https://bitbucket.org/account/user/teamawesome/projects/proj"
- }
- },
- "name": "workspace name",
- "slug": "https://slug.com",
- "type": "workspace",
- "uuid": "{673a6070-3421-46c9-9d48-90745f7bfe8e}"
- }
- }
- }
Add Comment
Please, Sign In to add comment