github.com/go-playground/webhooks/v6@v6.3.0/testdata/gitlab/confidential-comment-event.json (about)

     1  {
     2    "object_kind": "note",
     3    "event_type": "confidential_note",
     4    "user": {
     5      "id": 1,
     6      "name": "Administrator",
     7      "username": "root",
     8      "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=40\u0026d=identicon",
     9      "email": "admin@example.com"
    10    },
    11    "project_id": 5,
    12    "project":{
    13      "id": 5,
    14      "name":"Gitlab Test",
    15      "description":"Aut reprehenderit ut est.",
    16      "web_url":"http://example.com/gitlab-org/gitlab-test",
    17      "avatar_url":null,
    18      "git_ssh_url":"git@example.com:gitlab-org/gitlab-test.git",
    19      "git_http_url":"http://example.com/gitlab-org/gitlab-test.git",
    20      "namespace":"Gitlab Org",
    21      "visibility_level":10,
    22      "path_with_namespace":"gitlab-org/gitlab-test",
    23      "default_branch":"master",
    24      "homepage":"http://example.com/gitlab-org/gitlab-test",
    25      "url":"http://example.com/gitlab-org/gitlab-test.git",
    26      "ssh_url":"git@example.com:gitlab-org/gitlab-test.git",
    27      "http_url":"http://example.com/gitlab-org/gitlab-test.git"
    28    },
    29    "repository":{
    30      "name":"diaspora",
    31      "url":"git@example.com:mike/diaspora.git",
    32      "description":"",
    33      "homepage":"http://example.com/mike/diaspora"
    34    },
    35    "object_attributes": {
    36      "id": 1241,
    37      "note": "Hello world",
    38      "noteable_type": "Issue",
    39      "author_id": 1,
    40      "created_at": "2015-05-17 17:06:40 UTC",
    41      "updated_at": "2015-05-17 17:06:40 UTC",
    42      "project_id": 5,
    43      "attachment": null,
    44      "line_code": null,
    45      "commit_id": "",
    46      "noteable_id": 92,
    47      "system": false,
    48      "st_diff": null,
    49      "url": "http://example.com/gitlab-org/gitlab-test/issues/17#note_1241"
    50    },
    51    "issue": {
    52      "id": 92,
    53      "title": "test",
    54      "assignee_ids": [],
    55      "assignee_id": null,
    56      "author_id": 1,
    57      "project_id": 5,
    58      "created_at": "2015-04-12 14:53:17 UTC",
    59      "updated_at": "2015-04-26 08:28:42 UTC",
    60      "position": 0,
    61      "branch_name": null,
    62      "description": "test",
    63      "milestone_id": null,
    64      "state": "closed",
    65      "iid": 17,
    66      "labels": [
    67        {
    68          "id": 25,
    69          "title": "Afterpod",
    70          "color": "#3e8068",
    71          "project_id": null,
    72          "created_at": "2019-06-05T14:32:20.211Z",
    73          "updated_at": "2019-06-05T14:32:20.211Z",
    74          "template": false,
    75          "description": null,
    76          "type": "GroupLabel",
    77          "group_id": 4
    78        },
    79        {
    80          "id": 86,
    81          "title": "Element",
    82          "color": "#231afe",
    83          "project_id": 4,
    84          "created_at": "2019-06-05T14:32:20.637Z",
    85          "updated_at": "2019-06-05T14:32:20.637Z",
    86          "template": false,
    87          "description": null,
    88          "type": "ProjectLabel",
    89          "group_id": null
    90        }
    91      ]
    92    }
    93  }