github.com/go-playground/webhooks/v6@v6.3.0/testdata/gitlab/system-push-event.json (about) 1 { 2 "event_name": "push", 3 "before": "95790bf891e76fee5e1747ab589903a6a1f80f22", 4 "after": "da1560886d4f094c3e6c9ef40349f7d38b5d27d7", 5 "ref": "refs/heads/master", 6 "checkout_sha": "da1560886d4f094c3e6c9ef40349f7d38b5d27d7", 7 "user_id": 4, 8 "user_name": "John Smith", 9 "user_email": "john@example.com", 10 "user_avatar": "https://s.gravatar.com/avatar/d4c74594d841139328695756648b6bd6?s=8://s.gravatar.com/avatar/d4c74594d841139328695756648b6bd6?s=80", 11 "project_id": 15, 12 "project":{ 13 "name":"Diaspora", 14 "description":"", 15 "web_url":"http://example.com/mike/diaspora", 16 "avatar_url":null, 17 "git_ssh_url":"git@example.com:mike/diaspora.git", 18 "git_http_url":"http://example.com/mike/diaspora.git", 19 "namespace":"Mike", 20 "visibility_level":0, 21 "path_with_namespace":"mike/diaspora", 22 "default_branch":"master", 23 "homepage":"http://example.com/mike/diaspora", 24 "url":"git@example.com:mike/diaspora.git", 25 "ssh_url":"git@example.com:mike/diaspora.git", 26 "http_url":"http://example.com/mike/diaspora.git" 27 }, 28 "repository":{ 29 "name": "Diaspora", 30 "url": "git@example.com:mike/diaspora.git", 31 "description": "", 32 "homepage": "http://example.com/mike/diaspora", 33 "git_http_url":"http://example.com/mike/diaspora.git", 34 "git_ssh_url":"git@example.com:mike/diaspora.git", 35 "visibility_level":0 36 }, 37 "commits": [ 38 { 39 "id": "c5feabde2d8cd023215af4d2ceeb7a64839fc428", 40 "message": "Add simple search to projects in public area", 41 "timestamp": "2013-05-13T18:18:08+00:00", 42 "url": "https://dev.gitlab.org/gitlab/gitlabhq/commit/c5feabde2d8cd023215af4d2ceeb7a64839fc428", 43 "author": { 44 "name": "Example User", 45 "email": "user@example.com" 46 } 47 } 48 ], 49 "total_commits_count": 1 50 }