zulip/zerver/webhooks/gitea/fixtures/issue_comment__in_pr.json

138 lines
3.7 KiB
JSON
Raw Normal View History

{
"secret": "123",
"action": "created",
"issue": {
"id": 8170,
"url": "https://try.gitea.io/api/v1/repos/kostekIV/test/issues/1",
"number": 1,
"user": {
"id": 21818,
"login": "kostekIV",
"full_name": "",
"email": "koscis.j@gmail.com",
"avatar_url": "https://try.gitea.io/user/avatar/kostekIV/-1",
"language": "",
"is_admin": false,
"last_login": "2019-11-17T23:23:04Z",
"created": "2019-11-15T19:17:02Z",
"username": "kostekIV"
},
"original_author": "",
"original_author_id": 0,
"title": "dummy",
"body": "sdfasdfa",
"labels": [],
"milestone": null,
"assignee": null,
"assignees": null,
"state": "closed",
"comments": 0,
"created_at": "2019-11-15T20:56:14Z",
"updated_at": "2019-11-15T21:01:32Z",
"closed_at": "2019-11-15T21:01:26Z",
"due_date": null,
"pull_request": {
"merged": true,
"merged_at": "2019-11-15T21:01:26Z"
},
"repository": {
"id": 14576,
"name": "test",
"full_name": "kostekIV/test"
}
},
"comment": {
"id": 24399,
"html_url": "https://try.gitea.io/kostekIV/test/pulls/1/files#issuecomment-24399",
"pull_request_url": "https://try.gitea.io/kostekIV/test/pulls/1",
"issue_url": "",
"user": {
"id": 21818,
"login": "kostekIV",
"full_name": "",
"email": "koscis.j@gmail.com",
"avatar_url": "https://try.gitea.io/user/avatar/kostekIV/-1",
"language": "",
"is_admin": false,
"last_login": "2019-11-17T23:23:04Z",
"created": "2019-11-15T19:17:02Z",
"username": "kostekIV"
},
"original_author": "",
"original_author_id": 0,
"body": "test comment",
"created_at": "2019-11-17T23:24:44Z",
"updated_at": "2019-11-17T23:24:44Z"
},
"repository": {
"id": 14576,
"owner": {
"id": 21818,
"login": "kostekIV",
"full_name": "",
"email": "koscis.j@gmail.com",
"avatar_url": "https://try.gitea.io/user/avatar/kostekIV/-1",
"language": "",
"is_admin": false,
"last_login": "2019-11-17T23:23:04Z",
"created": "2019-11-15T19:17:02Z",
"username": "kostekIV"
},
"name": "test",
"full_name": "kostekIV/test",
"description": "",
"empty": false,
"private": false,
"fork": false,
"template": false,
"parent": null,
"mirror": false,
"size": 18,
"html_url": "https://try.gitea.io/kostekIV/test",
"ssh_url": "git@try.gitea.io:kostekIV/test.git",
"clone_url": "https://try.gitea.io/kostekIV/test.git",
"original_url": "",
"website": "",
"stars_count": 0,
"forks_count": 0,
"watchers_count": 1,
"open_issues_count": 0,
"default_branch": "master",
"archived": false,
"created_at": "2019-11-15T19:19:34Z",
"updated_at": "2019-11-17T21:35:13Z",
"permissions": {
"admin": true,
"push": true,
"pull": true
},
"has_issues": true,
"internal_tracker": {
"enable_time_tracker": true,
"allow_only_contributors_to_track_time": true,
"enable_issue_dependencies": true
},
"has_wiki": true,
"has_pull_requests": true,
"ignore_whitespace_conflicts": false,
"allow_merge_commits": true,
"allow_rebase": true,
"allow_rebase_explicit": true,
"allow_squash_merge": true,
"avatar_url": ""
},
"sender": {
"id": 21818,
"login": "kostekIV",
"full_name": "",
"email": "koscis.j@gmail.com",
"avatar_url": "https://try.gitea.io/user/avatar/kostekIV/-1",
"language": "",
"is_admin": false,
"last_login": "2019-11-17T23:23:04Z",
"created": "2019-11-15T19:17:02Z",
"username": "kostekIV"
},
"is_pull": true
}