github.com/go-playground/webhooks/v6@v6.3.0/testdata/bitbucket-server/repo-comment-added.json (about)

     1  {
     2    "eventKey": "repo:comment:added",
     3    "date": "2019-02-28T16:17:06+0100",
     4    "actor": {
     5      "name": "gopher",
     6      "emailAddress": "gopher@foo.bar",
     7      "id": 3231,
     8      "displayName": "Foo Bar",
     9      "active": true,
    10      "slug": "gopher",
    11      "type": "NORMAL",
    12      "links": {
    13        "self": [
    14          {
    15            "href": "https://server.bitbucket.local/users/gopher"
    16          }
    17        ]
    18      }
    19    },
    20    "comment": {
    21      "properties": {
    22        "repositoryId": 4
    23      },
    24      "id": 146,
    25      "version": 0,
    26      "text": "test",
    27      "author": {
    28        "name": "gopher",
    29        "emailAddress": "gopher@foo.bar",
    30        "id": 3231,
    31        "displayName": "Foo Bar",
    32        "active": true,
    33        "slug": "gopher",
    34        "type": "NORMAL",
    35        "links": {
    36          "self": [
    37            {
    38              "href": "https://server.bitbucket.local/users/gopher"
    39            }
    40          ]
    41        }
    42      },
    43      "createdDate": 1551367026162,
    44      "updatedDate": 1551367026162,
    45      "comments": [],
    46      "tasks": []
    47    },
    48    "repository": {
    49      "slug": "webhook-test",
    50      "id": 4,
    51      "name": "webhook-test",
    52      "scmId": "git",
    53      "state": "AVAILABLE",
    54      "statusMessage": "Available",
    55      "forkable": true,
    56      "project": {
    57        "key": "~gopher",
    58        "id": 2,
    59        "name": "Foo Bar",
    60        "type": "PERSONAL",
    61        "owner": {
    62          "name": "gopher",
    63          "emailAddress": "gopher@foo.bar",
    64          "id": 3231,
    65          "displayName": "Foo Bar",
    66          "active": true,
    67          "slug": "gopher",
    68          "type": "NORMAL",
    69          "links": {
    70            "self": [
    71              {
    72                "href": "https://server.bitbucket.local/users/gopher"
    73              }
    74            ]
    75          }
    76        },
    77        "links": {
    78          "self": [
    79            {
    80              "href": "https://server.bitbucket.local/users/gopher"
    81            }
    82          ]
    83        }
    84      },
    85      "public": false,
    86      "links": {
    87        "clone": [
    88          {
    89            "href": "ssh://git@server.bitbucket.local:7999/~gopher/webhook-test.git",
    90            "name": "ssh"
    91          },
    92          {
    93            "href": "https://server.bitbucket.local/scm/~gopher/webhook-test.git",
    94            "name": "http"
    95          }
    96        ],
    97        "self": [
    98          {
    99            "href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/browse"
   100          }
   101        ]
   102      }
   103    },
   104    "commit": "038e7b67735e54f6de8f1c5d533c6751df524f6c"
   105  }