github.com/go-playground/webhooks/v6@v6.3.0/testdata/gitea/pull-request-comment-event.json (about)

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