github.com/go-playground/webhooks/v6@v6.3.0/testdata/bitbucket-server/repo-comment-deleted.json (about) 1 { 2 "eventKey": "repo:comment:deleted", 3 "date": "2019-03-01T09:40:51+0100", 4 "actor": { 5 "name": "gopher", 6 "emailAddress": "gopher@foo.bar", 7 "id": 3231, 8 "displayName": "Foo Bar", 9 "active": true, 10 "slug": "gopher", 11 "type": "NORMAL", 12 "links": { 13 "self": [ 14 { 15 "href": "https://server.bitbucket.local/users/gopher" 16 } 17 ] 18 } 19 }, 20 "comment": { 21 "id": 145, 22 "version": 1, 23 "text": "Test commit comment editing comment", 24 "author": { 25 "name": "gopher", 26 "emailAddress": "gopher@foo.bar", 27 "id": 3231, 28 "displayName": "Foo Bar", 29 "active": true, 30 "slug": "gopher", 31 "type": "NORMAL", 32 "links": { 33 "self": [ 34 { 35 "href": "https://server.bitbucket.local/users/gopher" 36 } 37 ] 38 } 39 }, 40 "createdDate": 1551366857036, 41 "updatedDate": 1551429525155, 42 "comments": [], 43 "tasks": [] 44 }, 45 "repository": { 46 "slug": "webhook-test", 47 "id": 4, 48 "name": "webhook-test", 49 "scmId": "git", 50 "state": "AVAILABLE", 51 "statusMessage": "Available", 52 "forkable": true, 53 "project": { 54 "key": "~gopher", 55 "id": 2, 56 "name": "Foo Bar", 57 "type": "PERSONAL", 58 "owner": { 59 "name": "gopher", 60 "emailAddress": "gopher@foo.bar", 61 "id": 3231, 62 "displayName": "Foo Bar", 63 "active": true, 64 "slug": "gopher", 65 "type": "NORMAL", 66 "links": { 67 "self": [ 68 { 69 "href": "https://server.bitbucket.local/users/gopher" 70 } 71 ] 72 } 73 }, 74 "links": { 75 "self": [ 76 { 77 "href": "https://server.bitbucket.local/users/gopher" 78 } 79 ] 80 } 81 }, 82 "public": false, 83 "links": { 84 "clone": [ 85 { 86 "href": "ssh://git@server.bitbucket.local:7999/~gopher/webhook-test.git", 87 "name": "ssh" 88 }, 89 { 90 "href": "https://server.bitbucket.local/scm/~gopher/webhook-test.git", 91 "name": "http" 92 } 93 ], 94 "self": [ 95 { 96 "href": "https://server.bitbucket.local/users/gopher/repos/webhook-test/browse" 97 } 98 ] 99 } 100 }, 101 "commit": "038e7b67735e54f6de8f1c5d533c6751df524f6c" 102 }