zulip/zerver/webhooks/azuredevops/fixtures/code_pull_request__opened.json

114 lines
5.9 KiB
JSON

{
"subscriptionId": "a0e7f493-8c02-498d-b9ee-86a8612bc74e",
"notificationId": 1,
"id": "d1e96858-24cd-4064-9e08-0c55db2ff3fa",
"eventType": "git.pullrequest.created",
"publisherId": "tfs",
"message": {
"text": "Yuro Itaki created pull request 1 (Add PR request) in test-zulip\r\nhttps://dev.azure.com/ttchong/test-zulip/_git/test-zulip/",
"html": "Yuro Itaki created <a href=\"https://dev.azure.com/ttchong/test-zulip/_git/test-zulip/pullrequest/1\">pull request 1</a> (Add PR request) in <a href=\"https://dev.azure.com/ttchong/test-zulip/_git/test-zulip/\">test-zulip</a>",
"markdown": "Yuro Itaki created [pull request 1](https://dev.azure.com/ttchong/test-zulip/_git/test-zulip/pullrequest/1) (Add PR request) in [test-zulip](https://dev.azure.com/ttchong/test-zulip/_git/test-zulip/)"
},
"detailedMessage": {
"text": "Yuro Itaki created pull request 1 (Add PR request) in test-zulip\r\nhttps://dev.azure.com/ttchong/test-zulip/_git/test-zulip/\r\nAdd PR request\r\n",
"html": "Yuro Itaki created <a href=\"https://dev.azure.com/ttchong/test-zulip/_git/test-zulip/pullrequest/1\">pull request 1</a> (Add PR request) in <a href=\"https://dev.azure.com/ttchong/test-zulip/_git/test-zulip/\">test-zulip</a><p>Add PR request</p>",
"markdown": "Yuro Itaki created [pull request 1](https://dev.azure.com/ttchong/test-zulip/_git/test-zulip/pullrequest/1) (Add PR request) in [test-zulip](https://dev.azure.com/ttchong/test-zulip/_git/test-zulip/)\r\nAdd PR request\r\n"
},
"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": 4425,
"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": 1,
"codeReviewId": 1,
"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-24T08:02:50.160355Z",
"title": "Add PR request",
"description": "Add PR request",
"sourceRefName": "refs/heads/dev",
"targetRefName": "refs/heads/main",
"mergeStatus": "succeeded",
"isDraft": false,
"mergeId": "3cb082bf-62fd-4ff9-81f2-bea41241eadb",
"lastMergeSourceCommit": {
"commitId": "8b913c8e0d0492952bd215da12df9a422182e9c5",
"url": "https://dev.azure.com/ttchong/068d2409-14eb-4d8a-88bf-c8a9e7f5b4e2/_apis/git/repositories/98f0ce59-a912-43d5-96d2-bc0942a03f7b/commits/8b913c8e0d0492952bd215da12df9a422182e9c5"
},
"lastMergeTargetCommit": {
"commitId": "0929a3404b39f6e39076a640779b2c1c961e19b5",
"url": "https://dev.azure.com/ttchong/068d2409-14eb-4d8a-88bf-c8a9e7f5b4e2/_apis/git/repositories/98f0ce59-a912-43d5-96d2-bc0942a03f7b/commits/0929a3404b39f6e39076a640779b2c1c961e19b5"
},
"lastMergeCommit": {
"commitId": "4d1292958374b3311a517429d6160f7fc434de86",
"author": {
"name": "Yuro Itaki",
"email": "yuroitaki@email.com",
"date": "2022-07-24T08:02:50Z"
},
"committer": {
"name": "Yuro Itaki",
"email": "yuroitaki@email.com",
"date": "2022-07-24T08:02:50Z"
},
"comment": "Merge pull request 1 from dev into main",
"url": "https://dev.azure.com/ttchong/068d2409-14eb-4d8a-88bf-c8a9e7f5b4e2/_apis/git/repositories/98f0ce59-a912-43d5-96d2-bc0942a03f7b/commits/4d1292958374b3311a517429d6160f7fc434de86"
},
"reviewers": [],
"url": "https://dev.azure.com/ttchong/068d2409-14eb-4d8a-88bf-c8a9e7f5b4e2/_apis/git/repositories/98f0ce59-a912-43d5-96d2-bc0942a03f7b/pullRequests/1",
"_links": {
"web": {
"href": "https://dev.azure.com/ttchong/test-zulip/_git/test-zulip/pullrequest/1"
},
"statuses": {
"href": "https://dev.azure.com/ttchong/068d2409-14eb-4d8a-88bf-c8a9e7f5b4e2/_apis/git/repositories/98f0ce59-a912-43d5-96d2-bc0942a03f7b/pullRequests/1/statuses"
}
},
"supportsIterations": true,
"artifactId": "vstfs:///Git/PullRequestId/068d2409-14eb-4d8a-88bf-c8a9e7f5b4e2%2f98f0ce59-a912-43d5-96d2-bc0942a03f7b%2f1"
},
"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-24T08:02:56.9717413Z"
}