github.com/go-playground/webhooks/v6@v6.3.0/testdata/gitea/issue-label-event.json (about)

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