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

     1  {
     2    "object_kind": "note",
     3    "user": {
     4      "name": "Administrator",
     5      "username": "root",
     6      "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=40\u0026d=identicon"
     7    },
     8    "project_id": 5,
     9    "project":{
    10      "name":"Gitlab Test",
    11      "description":"Aut reprehenderit ut est.",
    12      "web_url":"http://example.com/gitlabhq/gitlab-test",
    13      "avatar_url":null,
    14      "git_ssh_url":"git@example.com:gitlabhq/gitlab-test.git",
    15      "git_http_url":"http://example.com/gitlabhq/gitlab-test.git",
    16      "namespace":"GitlabHQ",
    17      "visibility_level":20,
    18      "path_with_namespace":"gitlabhq/gitlab-test",
    19      "default_branch":"master",
    20      "homepage":"http://example.com/gitlabhq/gitlab-test",
    21      "url":"http://example.com/gitlabhq/gitlab-test.git",
    22      "ssh_url":"git@example.com:gitlabhq/gitlab-test.git",
    23      "http_url":"http://example.com/gitlabhq/gitlab-test.git"
    24    },
    25    "repository":{
    26      "name": "Gitlab Test",
    27      "url": "http://example.com/gitlab-org/gitlab-test.git",
    28      "description": "Aut reprehenderit ut est.",
    29      "homepage": "http://example.com/gitlab-org/gitlab-test"
    30    },
    31    "object_attributes": {
    32      "id": 1243,
    33      "note": "This is a commit comment. How does this work?",
    34      "noteable_type": "Commit",
    35      "author_id": 1,
    36      "created_at": "2015-05-17 18:08:09 UTC",
    37      "updated_at": "2015-05-17 18:08:09 UTC",
    38      "project_id": 5,
    39      "attachment":null,
    40      "line_code": "bec9703f7a456cd2b4ab5fb3220ae016e3e394e3_0_1",
    41      "commit_id": "cfe32cf61b73a0d5e9f13e774abde7ff789b1660",
    42      "noteable_id": null,
    43      "system": false,
    44      "st_diff": {
    45        "diff": "--- /dev/null\n+++ b/six\n@@ -0,0 +1 @@\n+Subproject commit 409f37c4f05865e4fb208c771485f211a22c4c2d\n",
    46        "new_path": "six",
    47        "old_path": "six",
    48        "a_mode": "0",
    49        "b_mode": "160000",
    50        "new_file": true,
    51        "renamed_file": false,
    52        "deleted_file": false
    53      },
    54      "url": "http://example.com/gitlab-org/gitlab-test/commit/cfe32cf61b73a0d5e9f13e774abde7ff789b1660#note_1243"
    55    },
    56    "commit": {
    57      "id": "cfe32cf61b73a0d5e9f13e774abde7ff789b1660",
    58      "message": "Add submodule\n\nSigned-off-by: Dmitriy Zaporozhets \u003cdmitriy.zaporozhets@gmail.com\u003e\n",
    59      "timestamp": "2014-02-27T10:06:20+02:00",
    60      "url": "http://example.com/gitlab-org/gitlab-test/commit/cfe32cf61b73a0d5e9f13e774abde7ff789b1660",
    61      "author": {
    62        "name": "Dmitriy Zaporozhets",
    63        "email": "dmitriy.zaporozhets@gmail.com"
    64      }
    65    }
    66  }