Files
zulip/zerver/webhooks/azuredevops/fixtures/code_pull_request__merge_attempted.json
2022-09-01 14:01:13 -07:00

115 lines
6.1 KiB
JSON

{
"subscriptionId": "4f1eccb6-04ff-45dd-90aa-713078e5c395",
"notificationId": 5,
"id": "e41a8834-0875-4fa1-ace0-ba656e630af9",
"eventType": "git.pullrequest.merged",
"publisherId": "tfs",
"message": {
"text": "Merge attempted for pull request 4 (Add 4th PR) in test-zulip\r\nhttps://dev.azure.com/ttchong/test-zulip/_git/test-zulip/",
"html": "Merge attempted for <a href=\"https://dev.azure.com/ttchong/test-zulip/_git/test-zulip/pullrequest/4\">pull request 4</a> (Add 4th PR) in <a href=\"https://dev.azure.com/ttchong/test-zulip/_git/test-zulip/\">test-zulip</a>",
"markdown": "Merge attempted for [pull request 4](https://dev.azure.com/ttchong/test-zulip/_git/test-zulip/pullrequest/4) (Add 4th PR) in [test-zulip](https://dev.azure.com/ttchong/test-zulip/_git/test-zulip/)"
},
"detailedMessage": {
"text": "Merge attempted for pull request 4 (Add 4th PR) in test-zulip\r\nhttps://dev.azure.com/ttchong/test-zulip/_git/test-zulip/",
"html": "Merge attempted for <a href=\"https://dev.azure.com/ttchong/test-zulip/_git/test-zulip/pullrequest/4\">pull request 4</a> (Add 4th PR) in <a href=\"https://dev.azure.com/ttchong/test-zulip/_git/test-zulip/\">test-zulip</a>",
"markdown": "Merge attempted for [pull request 4](https://dev.azure.com/ttchong/test-zulip/_git/test-zulip/pullrequest/4) (Add 4th PR) in [test-zulip](https://dev.azure.com/ttchong/test-zulip/_git/test-zulip/)"
},
"resource": {
"repository": {
"id": "98f0ce59-a912-43d5-96d2-bc0942a03f7b",
"name": "test-zulip",
"url": "https://dev.azure.com/ttchong/068d2409-14eb-4d8a-88bf-c8a9e7f5b4e2/_apis/git/repositories/98f0ce59-a912-43d5-96d2-bc0942a03f7b",
"project": {
"id": "068d2409-14eb-4d8a-88bf-c8a9e7f5b4e2",
"name": "test-zulip",
"url": "https://dev.azure.com/ttchong/_apis/projects/068d2409-14eb-4d8a-88bf-c8a9e7f5b4e2",
"state": "wellFormed",
"revision": 11,
"visibility": "private",
"lastUpdateTime": "2022-07-17T05:01:05.987Z"
},
"size": 7840,
"remoteUrl": "https://ttchong@dev.azure.com/ttchong/test-zulip/_git/test-zulip",
"sshUrl": "git@ssh.dev.azure.com:v3/ttchong/test-zulip/test-zulip",
"webUrl": "https://dev.azure.com/ttchong/test-zulip/_git/test-zulip",
"isDisabled": false
},
"pullRequestId": 4,
"codeReviewId": 4,
"status": "active",
"createdBy": {
"displayName": "Yuro Itaki",
"url": "https://spsprodsea2.vssps.visualstudio.com/Aa56cba4a-dc80-4dd2-91fa-6fe7047fea7c/_apis/Identities/107e08c7-2725-675e-a1b0-281729035ea6",
"_links": {
"avatar": {
"href": "https://dev.azure.com/ttchong/_apis/GraphProfile/MemberAvatars/msa.MTA3ZTA4YzctMjcyNS03NzVlLWExYjAtMjgxNzI5MDM1ZWE2"
}
},
"id": "107e08c7-2725-675e-a1b0-281729035ea6",
"uniqueName": "yuroitaki@email.com",
"imageUrl": "https://dev.azure.com/ttchong/_api/_common/identityImage?id=107e08c7-2725-675e-a1b0-281729035ea6",
"descriptor": "msa.MTA3ZTA4YzctMjcyNS03NzVlLWExYjAtMjgxNzI5MDM1ZWE2"
},
"creationDate": "2022-07-30T07:47:15.091534Z",
"title": "Add 4th PR",
"sourceRefName": "refs/heads/preprod",
"targetRefName": "refs/heads/main",
"mergeStatus": "conflicts",
"isDraft": false,
"mergeId": "697a791b-ab1a-48bf-910f-df958081a45c",
"lastMergeSourceCommit": {
"commitId": "885adddfa29eeeb8a0c9448b6744d2cfe02b1ebf",
"url": "https://dev.azure.com/ttchong/068d2409-14eb-4d8a-88bf-c8a9e7f5b4e2/_apis/git/repositories/98f0ce59-a912-43d5-96d2-bc0942a03f7b/commits/885adddfa29eeeb8a0c9448b6744d2cfe02b1ebf"
},
"lastMergeTargetCommit": {
"commitId": "6c86f973c0cd02726af8a5da074795745927e0d2",
"url": "https://dev.azure.com/ttchong/068d2409-14eb-4d8a-88bf-c8a9e7f5b4e2/_apis/git/repositories/98f0ce59-a912-43d5-96d2-bc0942a03f7b/commits/6c86f973c0cd02726af8a5da074795745927e0d2"
},
"reviewers": [
{
"reviewerUrl": "https://dev.azure.com/ttchong/068d2409-14eb-4d8a-88bf-c8a9e7f5b4e2/_apis/git/repositories/98f0ce59-a912-43d5-96d2-bc0942a03f7b/pullRequests/4/reviewers/107e08c7-2725-675e-a1b0-281729035ea6",
"vote": 10,
"hasDeclined": false,
"isFlagged": false,
"displayName": "Yuro Itaki",
"url": "https://spsprodsea2.vssps.visualstudio.com/Aa56cba4a-dc80-4dd2-91fa-6fe7047fea7c/_apis/Identities/107e08c7-2725-675e-a1b0-281729035ea6",
"_links": {
"avatar": {
"href": "https://dev.azure.com/ttchong/_apis/GraphProfile/MemberAvatars/msa.MTA3ZTA4YzctMjcyNS03NzVlLWExYjAtMjgxNzI5MDM1ZWE2"
}
},
"id": "107e08c7-2725-675e-a1b0-281729035ea6",
"uniqueName": "yuroitaki@email.com",
"imageUrl": "https://dev.azure.com/ttchong/_api/_common/identityImage?id=107e08c7-2725-675e-a1b0-281729035ea6"
}
],
"url": "https://dev.azure.com/ttchong/068d2409-14eb-4d8a-88bf-c8a9e7f5b4e2/_apis/git/repositories/98f0ce59-a912-43d5-96d2-bc0942a03f7b/pullRequests/4",
"_links": {
"web": {
"href": "https://dev.azure.com/ttchong/test-zulip/_git/test-zulip/pullrequest/4"
},
"statuses": {
"href": "https://dev.azure.com/ttchong/068d2409-14eb-4d8a-88bf-c8a9e7f5b4e2/_apis/git/repositories/98f0ce59-a912-43d5-96d2-bc0942a03f7b/pullRequests/4/statuses"
}
},
"supportsIterations": true,
"artifactId": "vstfs:///Git/PullRequestId/068d2409-14eb-4d8a-88bf-c8a9e7f5b4e2%2f98f0ce59-a912-43d5-96d2-bc0942a03f7b%2f4"
},
"resourceVersion": "1.0",
"resourceContainers": {
"collection": {
"id": "ad9e1dcf-6055-4fc7-a146-5511ab5ab1e8",
"baseUrl": "https://dev.azure.com/ttchong/"
},
"account": {
"id": "a56cba4a-dc80-4dd2-91fa-6fe7047fea7c",
"baseUrl": "https://dev.azure.com/ttchong/"
},
"project": {
"id": "068d2409-14eb-4d8a-88bf-c8a9e7f5b4e2",
"baseUrl": "https://dev.azure.com/ttchong/"
}
},
"createdDate": "2022-07-30T07:48:03.2511337Z"
}