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