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