github.com/go-playground/webhooks/v6@v6.3.0/testdata/gitlab/comment-snippet-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/gitlab-org/gitlab-test",
    13      "avatar_url":null,
    14      "git_ssh_url":"git@example.com:gitlab-org/gitlab-test.git",
    15      "git_http_url":"http://example.com/gitlab-org/gitlab-test.git",
    16      "namespace":"Gitlab Org",
    17      "visibility_level":10,
    18      "path_with_namespace":"gitlab-org/gitlab-test",
    19      "default_branch":"master",
    20      "homepage":"http://example.com/gitlab-org/gitlab-test",
    21      "url":"http://example.com/gitlab-org/gitlab-test.git",
    22      "ssh_url":"git@example.com:gitlab-org/gitlab-test.git",
    23      "http_url":"http://example.com/gitlab-org/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": 1245,
    33      "note": "Is this snippet doing what it's supposed to be doing?",
    34      "noteable_type": "Snippet",
    35      "author_id": 1,
    36      "created_at": "2015-05-17 18:35:50 UTC",
    37      "updated_at": "2015-05-17 18:35:50 UTC",
    38      "project_id": 5,
    39      "attachment": null,
    40      "line_code": null,
    41      "commit_id": "",
    42      "noteable_id": 53,
    43      "system": false,
    44      "st_diff": null,
    45      "url": "http://example.com/gitlab-org/gitlab-test/snippets/53#note_1245"
    46    },
    47    "snippet": {
    48      "id": 53,
    49      "title": "test",
    50      "content": "puts 'Hello world'",
    51      "author_id": 1,
    52      "project_id": 5,
    53      "created_at": "2015-04-09 02:40:38 UTC",
    54      "updated_at": "2015-04-09 02:40:38 UTC",
    55      "file_name": "test.rb",
    56      "expires_at": null,
    57      "type": "ProjectSnippet",
    58      "visibility_level": 0
    59    }
    60  }