gitea-github-sync/tests/data/github-issue-comment-created.json

234 lines
11 KiB
JSON

{
"action": "created",
"issue": {
"url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/issues/1",
"repository_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf",
"labels_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/issues/1/labels{/name}",
"comments_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/issues/1/comments",
"events_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/issues/1/events",
"html_url": "https://github.com/stupidcomputer/sadkfjasdf/issues/1",
"id": 2574858486,
"node_id": "I_kwDOM9nmTM6ZeTj2",
"number": 1,
"title": "this is a test",
"user": {
"login": "stupidcomputer",
"id": 108326967,
"node_id": "U_kgDOBnTwNw",
"avatar_url": "https://avatars.githubusercontent.com/u/108326967?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stupidcomputer",
"html_url": "https://github.com/stupidcomputer",
"followers_url": "https://api.github.com/users/stupidcomputer/followers",
"following_url": "https://api.github.com/users/stupidcomputer/following{/other_user}",
"gists_url": "https://api.github.com/users/stupidcomputer/gists{/gist_id}",
"starred_url": "https://api.github.com/users/stupidcomputer/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stupidcomputer/subscriptions",
"organizations_url": "https://api.github.com/users/stupidcomputer/orgs",
"repos_url": "https://api.github.com/users/stupidcomputer/repos",
"events_url": "https://api.github.com/users/stupidcomputer/events{/privacy}",
"received_events_url": "https://api.github.com/users/stupidcomputer/received_events",
"type": "User",
"site_admin": false
},
"labels": [
],
"state": "open",
"locked": false,
"assignee": null,
"assignees": [
],
"milestone": null,
"comments": 1,
"created_at": "2024-10-09T06:06:39Z",
"updated_at": "2024-10-09T06:22:06Z",
"closed_at": null,
"author_association": "OWNER",
"active_lock_reason": null,
"body": null,
"reactions": {
"url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/issues/1/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
},
"timeline_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/issues/1/timeline",
"performed_via_github_app": null,
"state_reason": null
},
"comment": {
"url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/issues/comments/2401413724",
"html_url": "https://github.com/stupidcomputer/sadkfjasdf/issues/1#issuecomment-2401413724",
"issue_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/issues/1",
"id": 2401413724,
"node_id": "IC_kwDOM9nmTM6PIqpc",
"user": {
"login": "stupidcomputer",
"id": 108326967,
"node_id": "U_kgDOBnTwNw",
"avatar_url": "https://avatars.githubusercontent.com/u/108326967?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stupidcomputer",
"html_url": "https://github.com/stupidcomputer",
"followers_url": "https://api.github.com/users/stupidcomputer/followers",
"following_url": "https://api.github.com/users/stupidcomputer/following{/other_user}",
"gists_url": "https://api.github.com/users/stupidcomputer/gists{/gist_id}",
"starred_url": "https://api.github.com/users/stupidcomputer/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stupidcomputer/subscriptions",
"organizations_url": "https://api.github.com/users/stupidcomputer/orgs",
"repos_url": "https://api.github.com/users/stupidcomputer/repos",
"events_url": "https://api.github.com/users/stupidcomputer/events{/privacy}",
"received_events_url": "https://api.github.com/users/stupidcomputer/received_events",
"type": "User",
"site_admin": false
},
"created_at": "2024-10-09T06:22:06Z",
"updated_at": "2024-10-09T06:22:06Z",
"author_association": "OWNER",
"body": "here is a helpful, insightful comment",
"reactions": {
"url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/issues/comments/2401413724/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
},
"performed_via_github_app": null
},
"repository": {
"id": 869918284,
"node_id": "R_kgDOM9nmTA",
"name": "sadkfjasdf",
"full_name": "stupidcomputer/sadkfjasdf",
"private": false,
"owner": {
"login": "stupidcomputer",
"id": 108326967,
"node_id": "U_kgDOBnTwNw",
"avatar_url": "https://avatars.githubusercontent.com/u/108326967?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stupidcomputer",
"html_url": "https://github.com/stupidcomputer",
"followers_url": "https://api.github.com/users/stupidcomputer/followers",
"following_url": "https://api.github.com/users/stupidcomputer/following{/other_user}",
"gists_url": "https://api.github.com/users/stupidcomputer/gists{/gist_id}",
"starred_url": "https://api.github.com/users/stupidcomputer/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stupidcomputer/subscriptions",
"organizations_url": "https://api.github.com/users/stupidcomputer/orgs",
"repos_url": "https://api.github.com/users/stupidcomputer/repos",
"events_url": "https://api.github.com/users/stupidcomputer/events{/privacy}",
"received_events_url": "https://api.github.com/users/stupidcomputer/received_events",
"type": "User",
"site_admin": false
},
"html_url": "https://github.com/stupidcomputer/sadkfjasdf",
"description": null,
"fork": false,
"url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf",
"forks_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/forks",
"keys_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/teams",
"hooks_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/hooks",
"issue_events_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/issues/events{/number}",
"events_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/events",
"assignees_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/assignees{/user}",
"branches_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/branches{/branch}",
"tags_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/tags",
"blobs_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/statuses/{sha}",
"languages_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/languages",
"stargazers_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/stargazers",
"contributors_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/contributors",
"subscribers_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/subscribers",
"subscription_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/subscription",
"commits_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/contents/{+path}",
"compare_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/merges",
"archive_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/downloads",
"issues_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/issues{/number}",
"pulls_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/pulls{/number}",
"milestones_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/milestones{/number}",
"notifications_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/labels{/name}",
"releases_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/releases{/id}",
"deployments_url": "https://api.github.com/repos/stupidcomputer/sadkfjasdf/deployments",
"created_at": "2024-10-09T06:05:09Z",
"updated_at": "2024-10-09T06:05:09Z",
"pushed_at": "2024-10-09T06:05:09Z",
"git_url": "git://github.com/stupidcomputer/sadkfjasdf.git",
"ssh_url": "git@github.com:stupidcomputer/sadkfjasdf.git",
"clone_url": "https://github.com/stupidcomputer/sadkfjasdf.git",
"svn_url": "https://github.com/stupidcomputer/sadkfjasdf",
"homepage": "https://git.beepboop.systems/stupidcomputer/sadkfjasdf",
"size": 0,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"has_discussions": false,
"forks_count": 0,
"mirror_url": null,
"archived": false,
"disabled": false,
"open_issues_count": 1,
"license": null,
"allow_forking": true,
"is_template": false,
"web_commit_signoff_required": false,
"topics": [
],
"visibility": "public",
"forks": 0,
"open_issues": 1,
"watchers": 0,
"default_branch": "main"
},
"sender": {
"login": "stupidcomputer",
"id": 108326967,
"node_id": "U_kgDOBnTwNw",
"avatar_url": "https://avatars.githubusercontent.com/u/108326967?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stupidcomputer",
"html_url": "https://github.com/stupidcomputer",
"followers_url": "https://api.github.com/users/stupidcomputer/followers",
"following_url": "https://api.github.com/users/stupidcomputer/following{/other_user}",
"gists_url": "https://api.github.com/users/stupidcomputer/gists{/gist_id}",
"starred_url": "https://api.github.com/users/stupidcomputer/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stupidcomputer/subscriptions",
"organizations_url": "https://api.github.com/users/stupidcomputer/orgs",
"repos_url": "https://api.github.com/users/stupidcomputer/repos",
"events_url": "https://api.github.com/users/stupidcomputer/events{/privacy}",
"received_events_url": "https://api.github.com/users/stupidcomputer/received_events",
"type": "User",
"site_admin": false
}
}