github.com/go-playground/webhooks/v6@v6.3.0/testdata/gitea/issue-comment-event.json (about) 1 { 2 "action": "created", 3 "issue": { 4 "id": 1, 5 "url": "http://localhost:3000/api/v1/repos/example/example/issues/1", 6 "html_url": "http://localhost:3000/example/example/issues/1", 7 "number": 1, 8 "user": { 9 "id": 1, 10 "login": "example", 11 "full_name": "", 12 "email": "example@example.com", 13 "avatar_url": "http://localhost:3000/avatar/23463b99b62a72f26ed677cc556c44e8", 14 "language": "", 15 "is_admin": false, 16 "last_login": "0001-01-01T00:00:00Z", 17 "created": "2022-03-09T16:14:22+09:00", 18 "restricted": false, 19 "active": false, 20 "prohibit_login": false, 21 "location": "", 22 "website": "", 23 "description": "", 24 "visibility": "public", 25 "followers_count": 0, 26 "following_count": 0, 27 "starred_repos_count": 0, 28 "username": "example" 29 }, 30 "original_author": "", 31 "original_author_id": 0, 32 "title": "example", 33 "body": "", 34 "ref": "", 35 "labels": [], 36 "milestone": null, 37 "assignee": { 38 "id": 1, 39 "login": "example", 40 "full_name": "", 41 "email": "example@example.com", 42 "avatar_url": "http://localhost:3000/avatar/23463b99b62a72f26ed677cc556c44e8", 43 "language": "", 44 "is_admin": false, 45 "last_login": "0001-01-01T00:00:00Z", 46 "created": "2022-03-09T16:14:22+09:00", 47 "restricted": false, 48 "active": false, 49 "prohibit_login": false, 50 "location": "", 51 "website": "", 52 "description": "", 53 "visibility": "public", 54 "followers_count": 0, 55 "following_count": 0, 56 "starred_repos_count": 0, 57 "username": "example" 58 }, 59 "assignees": [ 60 { 61 "id": 1, 62 "login": "example", 63 "full_name": "", 64 "email": "example@example.com", 65 "avatar_url": "http://localhost:3000/avatar/23463b99b62a72f26ed677cc556c44e8", 66 "language": "", 67 "is_admin": false, 68 "last_login": "0001-01-01T00:00:00Z", 69 "created": "2022-03-09T16:14:22+09:00", 70 "restricted": false, 71 "active": false, 72 "prohibit_login": false, 73 "location": "", 74 "website": "", 75 "description": "", 76 "visibility": "public", 77 "followers_count": 0, 78 "following_count": 0, 79 "starred_repos_count": 0, 80 "username": "example" 81 } 82 ], 83 "state": "open", 84 "is_locked": false, 85 "comments": 0, 86 "created_at": "2022-03-09T16:19:00+09:00", 87 "updated_at": "2022-03-09T16:20:44+09:00", 88 "closed_at": null, 89 "due_date": null, 90 "pull_request": null, 91 "repository": { 92 "id": 1, 93 "name": "example", 94 "owner": "example", 95 "full_name": "example/example" 96 } 97 }, 98 "comment": { 99 "id": 2, 100 "html_url": "http://localhost:3000/example/example/issues/1#issuecomment-2", 101 "pull_request_url": "", 102 "issue_url": "http://localhost:3000/example/example/issues/1", 103 "user": { 104 "id": 1, 105 "login": "example", 106 "full_name": "", 107 "email": "example@example.com", 108 "avatar_url": "http://localhost:3000/avatar/23463b99b62a72f26ed677cc556c44e8", 109 "language": "", 110 "is_admin": false, 111 "last_login": "0001-01-01T00:00:00Z", 112 "created": "2022-03-09T16:14:22+09:00", 113 "restricted": false, 114 "active": false, 115 "prohibit_login": false, 116 "location": "", 117 "website": "", 118 "description": "", 119 "visibility": "public", 120 "followers_count": 0, 121 "following_count": 0, 122 "starred_repos_count": 0, 123 "username": "example" 124 }, 125 "original_author": "", 126 "original_author_id": 0, 127 "body": "example", 128 "created_at": "2022-03-09T16:20:44+09:00", 129 "updated_at": "2022-03-09T16:20:44+09:00" 130 }, 131 "repository": { 132 "id": 1, 133 "owner": { 134 "id": 1, 135 "login": "example", 136 "full_name": "", 137 "email": "example@example.com", 138 "avatar_url": "http://localhost:3000/avatar/23463b99b62a72f26ed677cc556c44e8", 139 "language": "", 140 "is_admin": false, 141 "last_login": "0001-01-01T00:00:00Z", 142 "created": "2022-03-09T16:14:22+09:00", 143 "restricted": false, 144 "active": false, 145 "prohibit_login": false, 146 "location": "", 147 "website": "", 148 "description": "", 149 "visibility": "public", 150 "followers_count": 0, 151 "following_count": 0, 152 "starred_repos_count": 0, 153 "username": "example" 154 }, 155 "name": "example", 156 "full_name": "example/example", 157 "description": "", 158 "empty": true, 159 "private": false, 160 "fork": false, 161 "template": false, 162 "parent": null, 163 "mirror": false, 164 "size": 76, 165 "html_url": "http://localhost:3000/example/example", 166 "ssh_url": "git@localhost:example/example.git", 167 "clone_url": "http://localhost:3000/example/example.git", 168 "original_url": "", 169 "website": "", 170 "stars_count": 0, 171 "forks_count": 0, 172 "watchers_count": 1, 173 "open_issues_count": 1, 174 "open_pr_counter": 0, 175 "release_counter": 0, 176 "default_branch": "master", 177 "archived": false, 178 "created_at": "2022-03-09T16:14:29+09:00", 179 "updated_at": "2022-03-09T16:14:29+09:00", 180 "permissions": { 181 "admin": true, 182 "push": true, 183 "pull": true 184 }, 185 "has_issues": true, 186 "internal_tracker": { 187 "enable_time_tracker": true, 188 "allow_only_contributors_to_track_time": true, 189 "enable_issue_dependencies": true 190 }, 191 "has_wiki": true, 192 "has_pull_requests": true, 193 "has_projects": true, 194 "ignore_whitespace_conflicts": false, 195 "allow_merge_commits": true, 196 "allow_rebase": true, 197 "allow_rebase_explicit": true, 198 "allow_squash_merge": true, 199 "default_merge_style": "merge", 200 "avatar_url": "", 201 "internal": false, 202 "mirror_interval": "", 203 "mirror_updated": "0001-01-01T00:00:00Z", 204 "repo_transfer": null 205 }, 206 "sender": { 207 "id": 1, 208 "login": "example", 209 "full_name": "", 210 "email": "example@example.com", 211 "avatar_url": "http://localhost:3000/avatar/23463b99b62a72f26ed677cc556c44e8", 212 "language": "", 213 "is_admin": false, 214 "last_login": "0001-01-01T00:00:00Z", 215 "created": "2022-03-09T16:14:22+09:00", 216 "restricted": false, 217 "active": false, 218 "prohibit_login": false, 219 "location": "", 220 "website": "", 221 "description": "", 222 "visibility": "public", 223 "followers_count": 0, 224 "following_count": 0, 225 "starred_repos_count": 0, 226 "username": "example" 227 }, 228 "is_pull": false 229 }