github.com/go-playground/webhooks/v6@v6.3.0/testdata/gitlab/comment-merge-request-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://localhost/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": 1244, 33 "note": "This MR needs work.", 34 "noteable_type": "MergeRequest", 35 "author_id": 1, 36 "created_at": "2015-05-17 18:21:36 UTC", 37 "updated_at": "2015-05-17 18:21:36 UTC", 38 "project_id": 5, 39 "attachment": null, 40 "line_code": null, 41 "commit_id": "", 42 "noteable_id": 7, 43 "system": false, 44 "st_diff": null, 45 "url": "http://example.com/gitlab-org/gitlab-test/merge_requests/1#note_1244" 46 }, 47 "merge_request": { 48 "id": 7, 49 "target_branch": "markdown", 50 "source_branch": "master", 51 "source_project_id": 5, 52 "author_id": 8, 53 "assignee_id": 28, 54 "title": "Tempora et eos debitis quae laborum et.", 55 "created_at": "2015-03-01 20:12:53 UTC", 56 "updated_at": "2015-03-21 18:27:27 UTC", 57 "milestone_id": 11, 58 "state": "opened", 59 "merge_status": "cannot_be_merged", 60 "target_project_id": 5, 61 "iid": 1, 62 "description": "Et voluptas corrupti assumenda temporibus. Architecto cum animi eveniet amet asperiores. Vitae numquam voluptate est natus sit et ad id.", 63 "position": 0, 64 "locked_at": null, 65 "source":{ 66 "name":"Gitlab Test", 67 "description":"Aut reprehenderit ut est.", 68 "web_url":"http://example.com/gitlab-org/gitlab-test", 69 "avatar_url":null, 70 "git_ssh_url":"git@example.com:gitlab-org/gitlab-test.git", 71 "git_http_url":"http://example.com/gitlab-org/gitlab-test.git", 72 "namespace":"Gitlab Org", 73 "visibility_level":10, 74 "path_with_namespace":"gitlab-org/gitlab-test", 75 "default_branch":"master", 76 "homepage":"http://example.com/gitlab-org/gitlab-test", 77 "url":"http://example.com/gitlab-org/gitlab-test.git", 78 "ssh_url":"git@example.com:gitlab-org/gitlab-test.git", 79 "http_url":"http://example.com/gitlab-org/gitlab-test.git" 80 }, 81 "target": { 82 "name":"Gitlab Test", 83 "description":"Aut reprehenderit ut est.", 84 "web_url":"http://example.com/gitlab-org/gitlab-test", 85 "avatar_url":null, 86 "git_ssh_url":"git@example.com:gitlab-org/gitlab-test.git", 87 "git_http_url":"http://example.com/gitlab-org/gitlab-test.git", 88 "namespace":"Gitlab Org", 89 "visibility_level":10, 90 "path_with_namespace":"gitlab-org/gitlab-test", 91 "default_branch":"master", 92 "homepage":"http://example.com/gitlab-org/gitlab-test", 93 "url":"http://example.com/gitlab-org/gitlab-test.git", 94 "ssh_url":"git@example.com:gitlab-org/gitlab-test.git", 95 "http_url":"http://example.com/gitlab-org/gitlab-test.git" 96 }, 97 "last_commit": { 98 "id": "562e173be03b8ff2efb05345d12df18815438a4b", 99 "message": "Merge branch 'another-branch' into 'master'\n\nCheck in this test\n", 100 "timestamp": "2015-04-08T21:00:25-07:00", 101 "url": "http://example.com/gitlab-org/gitlab-test/commit/562e173be03b8ff2efb05345d12df18815438a4b", 102 "author": { 103 "name": "John Smith", 104 "email": "john@example.com" 105 } 106 }, 107 "work_in_progress": false, 108 "assignee": { 109 "name": "User1", 110 "username": "user1", 111 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=40\u0026d=identicon" 112 } 113 } 114 }