github.com/go-playground/webhooks/v6@v6.3.0/testdata/gitlab/merge-request-event.json (about) 1 { 2 "object_kind": "merge_request", 3 "user": { 4 "name": "Administrator", 5 "username": "root", 6 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=40\u0026d=identicon" 7 }, 8 "project": { 9 "id": 1, 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/gitlabhq/gitlab-test.git", 28 "description": "Aut reprehenderit ut est.", 29 "homepage": "http://example.com/gitlabhq/gitlab-test" 30 }, 31 "object_attributes": { 32 "id": 99, 33 "target_branch": "master", 34 "source_branch": "ms-viewport", 35 "source_project_id": 14, 36 "author_id": 51, 37 "assignee_id": 6, 38 "title": "MS-Viewport", 39 "created_at": "2013-12-03T17:23:34Z", 40 "updated_at": "2013-12-03T17:23:34Z", 41 "milestone_id": null, 42 "state": "opened", 43 "merge_status": "unchecked", 44 "target_project_id": 14, 45 "iid": 1, 46 "description": "", 47 "source": { 48 "name":"Awesome Project", 49 "description":"Aut reprehenderit ut est.", 50 "web_url":"http://example.com/awesome_space/awesome_project", 51 "avatar_url":null, 52 "git_ssh_url":"git@example.com:awesome_space/awesome_project.git", 53 "git_http_url":"http://example.com/awesome_space/awesome_project.git", 54 "namespace":"Awesome Space", 55 "visibility_level":20, 56 "path_with_namespace":"awesome_space/awesome_project", 57 "default_branch":"master", 58 "homepage":"http://example.com/awesome_space/awesome_project", 59 "url":"http://example.com/awesome_space/awesome_project.git", 60 "ssh_url":"git@example.com:awesome_space/awesome_project.git", 61 "http_url":"http://example.com/awesome_space/awesome_project.git" 62 }, 63 "target": { 64 "name":"Awesome Project", 65 "description":"Aut reprehenderit ut est.", 66 "web_url":"http://example.com/awesome_space/awesome_project", 67 "avatar_url":null, 68 "git_ssh_url":"git@example.com:awesome_space/awesome_project.git", 69 "git_http_url":"http://example.com/awesome_space/awesome_project.git", 70 "namespace":"Awesome Space", 71 "visibility_level":20, 72 "path_with_namespace":"awesome_space/awesome_project", 73 "default_branch":"master", 74 "homepage":"http://example.com/awesome_space/awesome_project", 75 "url":"http://example.com/awesome_space/awesome_project.git", 76 "ssh_url":"git@example.com:awesome_space/awesome_project.git", 77 "http_url":"http://example.com/awesome_space/awesome_project.git" 78 }, 79 "last_commit": { 80 "id": "da1560886d4f094c3e6c9ef40349f7d38b5d27d7", 81 "message": "fixed readme", 82 "timestamp": "2012-01-03T23:36:29+02:00", 83 "url": "http://example.com/awesome_space/awesome_project/commits/da1560886d4f094c3e6c9ef40349f7d38b5d27d7", 84 "author": { 85 "name": "GitLab dev user", 86 "email": "gitlabdev@dv6700.(none)" 87 } 88 }, 89 "work_in_progress": false, 90 "url": "http://example.com/diaspora/merge_requests/1", 91 "action": "open", 92 "assignee": { 93 "name": "User1", 94 "username": "user1", 95 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=40\u0026d=identicon" 96 } 97 }, 98 "labels": [{ 99 "id": 206, 100 "title": "API", 101 "color": "#ffffff", 102 "project_id": 14, 103 "created_at": "2013-12-03T17:15:43Z", 104 "updated_at": "2013-12-03T17:15:43Z", 105 "template": false, 106 "description": "API related issues", 107 "type": "ProjectLabel", 108 "group_id": 41 109 }], 110 "changes": { 111 "updated_by_id": [null, 1], 112 "updated_at": ["2017-09-15 16:50:55 UTC", "2017-09-15 16:52:00 UTC"], 113 "labels": { 114 "previous": [{ 115 "id": 206, 116 "title": "API", 117 "color": "#ffffff", 118 "project_id": 14, 119 "created_at": "2013-12-03T17:15:43Z", 120 "updated_at": "2013-12-03T17:15:43Z", 121 "template": false, 122 "description": "API related issues", 123 "type": "ProjectLabel", 124 "group_id": 41 125 }], 126 "current": [{ 127 "id": 205, 128 "title": "Platform", 129 "color": "#123123", 130 "project_id": 14, 131 "created_at": "2013-12-03T17:15:43Z", 132 "updated_at": "2013-12-03T17:15:43Z", 133 "template": false, 134 "description": "Platform related issues", 135 "type": "ProjectLabel", 136 "group_id": 41 137 }] 138 } 139 }, 140 "assignees": [ 141 { 142 "id": 6, 143 "name": "User1", 144 "username": "user1", 145 "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=40\u0026d=identicon", 146 "email": "user1@gmail.com" 147 } 148 ] 149 }