github.com/go-playground/webhooks/v6@v6.3.0/testdata/azuredevops/git.pullrequest.merged.json (about)

     1  {
     2      "id": "6872ee8c-b333-4eff-bfb9-0d5274943566",
     3      "eventType": "git.pullrequest.merged",
     4      "publisherId": "tfs",
     5      "scope": "all",
     6      "message": {
     7          "text": "Jamal Hartnett has created a pull request merge commit",
     8          "html": "Jamal Hartnett has created a pull request merge commit",
     9          "markdown": "Jamal Hartnett has created a pull request merge commit"
    10      },
    11      "detailedMessage": {
    12          "text": "Jamal Hartnett has created a pull request merge commit\r\n\r\n- Merge status: Succeeded\r\n- Merge commit: eef717(https://dev.azure.com/fabrikam/DefaultCollection/_apis/repos/git/repositories/4bc14d40-c903-45e2-872e-0462c7748079/commits/eef717f69257a6333f221566c1c987dc94cc0d72)\r\n",
    13          "html": "Jamal Hartnett has created a pull request merge commit\r\n<ul>\r\n<li>Merge status: Succeeded</li>\r\n<li>Merge commit: <a href=\"https://dev.azure.com/fabrikam/DefaultCollection/_apis/repos/git/repositories/4bc14d40-c903-45e2-872e-0462c7748079/commits/eef717f69257a6333f221566c1c987dc94cc0d72\">eef717</a></li>\r\n</ul>",
    14          "markdown": "Jamal Hartnett has created a pull request merge commit\r\n\r\n+ Merge status: Succeeded\r\n+ Merge commit: [eef717](https://dev.azure.com/fabrikam/DefaultCollection/_apis/repos/git/repositories/4bc14d40-c903-45e2-872e-0462c7748079/commits/eef717f69257a6333f221566c1c987dc94cc0d72)\r\n"
    15      },
    16      "resource": {
    17          "repository": {
    18              "id": "4bc14d40-c903-45e2-872e-0462c7748079",
    19              "name": "Fabrikam",
    20              "url": "https://dev.azure.com/fabrikam/DefaultCollection/_apis/repos/git/repositories/4bc14d40-c903-45e2-872e-0462c7748079",
    21              "project": {
    22                  "id": "6ce954b1-ce1f-45d1-b94d-e6bf2464ba2c",
    23                  "name": "Fabrikam",
    24                  "url": "https://dev.azure.com/fabrikam/DefaultCollection/_apis/projects/6ce954b1-ce1f-45d1-b94d-e6bf2464ba2c",
    25                  "state": "wellFormed"
    26              },
    27              "defaultBranch": "refs/heads/master",
    28              "remoteUrl": "https://dev.azure.com/fabrikam/DefaultCollection/_git/Fabrikam"
    29          },
    30          "pullRequestId": 1,
    31          "status": "completed",
    32          "createdBy": {
    33              "id": "54d125f7-69f7-4191-904f-c5b96b6261c8",
    34              "displayName": "Jamal Hartnett",
    35              "uniqueName": "fabrikamfiber4@hotmail.com",
    36              "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/54d125f7-69f7-4191-904f-c5b96b6261c8",
    37              "imageUrl": "https://dev.azure.com/fabrikam/DefaultCollection/_api/_common/identityImage?id=54d125f7-69f7-4191-904f-c5b96b6261c8"
    38          },
    39          "creationDate": "2014-06-17T16:55:46.589889Z",
    40          "closedDate": "2014-06-30T18:59:12.3660573Z",
    41          "title": "my first pull request",
    42          "description": " - test2\r\n",
    43          "sourceRefName": "refs/heads/mytopic",
    44          "targetRefName": "refs/heads/master",
    45          "mergeStatus": "succeeded",
    46          "mergeId": "a10bb228-6ba6-4362-abd7-49ea21333dbd",
    47          "lastMergeSourceCommit": {
    48              "commitId": "53d54ac915144006c2c9e90d2c7d3880920db49c",
    49              "url": "https://dev.azure.com/fabrikam/DefaultCollection/_apis/repos/git/repositories/4bc14d40-c903-45e2-872e-0462c7748079/commits/53d54ac915144006c2c9e90d2c7d3880920db49c"
    50          },
    51          "lastMergeTargetCommit": {
    52              "commitId": "a511f535b1ea495ee0c903badb68fbc83772c882",
    53              "url": "https://dev.azure.com/fabrikam/DefaultCollection/_apis/repos/git/repositories/4bc14d40-c903-45e2-872e-0462c7748079/commits/a511f535b1ea495ee0c903badb68fbc83772c882"
    54          },
    55          "lastMergeCommit": {
    56              "commitId": "eef717f69257a6333f221566c1c987dc94cc0d72",
    57              "url": "https://dev.azure.com/fabrikam/DefaultCollection/_apis/repos/git/repositories/4bc14d40-c903-45e2-872e-0462c7748079/commits/eef717f69257a6333f221566c1c987dc94cc0d72"
    58          },
    59          "reviewers": [
    60              {
    61                  "reviewerUrl": null,
    62                  "vote": 0,
    63                  "id": "2ea2d095-48f9-4cd6-9966-62f6f574096c",
    64                  "displayName": "[Mobile]\\Mobile Team",
    65                  "uniqueName": "vstfs:///Classification/TeamProject/f0811a3b-8c8a-4e43-a3bf-9a049b4835bd\\Mobile Team",
    66                  "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/2ea2d095-48f9-4cd6-9966-62f6f574096c",
    67                  "imageUrl": "https://dev.azure.com/fabrikam/DefaultCollection/_api/_common/identityImage?id=2ea2d095-48f9-4cd6-9966-62f6f574096c",
    68                  "isContainer": true
    69              }
    70          ],
    71          "url": "https://dev.azure.com/fabrikam/DefaultCollection/_apis/repos/git/repositories/4bc14d40-c903-45e2-872e-0462c7748079/pullRequests/1"
    72      },
    73      "resourceVersion": "1.0",
    74      "resourceContainers": {
    75          "collection": {
    76              "id": "c12d0eb8-e382-443b-9f9c-c52cba5014c2"
    77          },
    78          "account": {
    79              "id": "f844ec47-a9db-4511-8281-8b63f4eaf94e"
    80          },
    81          "project": {
    82              "id": "be9b3917-87e6-42a4-a549-2bc06a7a878f"
    83          }
    84      },
    85      "createdDate": "2016-09-19T13:03:27.3156388Z"
    86  }