{"action":"created","comment":{"url":"https://api.github.com/repos/chc5/gitgud/pulls/comments/236090279","pull_request_review_id":178097466,"id":236090279,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNjA5MDI3OQ==","diff_hunk":"@@ -0,0 +1,219 @@\n+const DocComplaint = require('../database/models/docComplaint');\n+const UserComplaint = require('../database/models/userComplaint');\n+const authentication = require('../authentication');\n+\n+const createDocComplaint = (req, res) => {\n+  if(!req.isAuthenticated()){\n+    res.redirect('/');\n+  }\n+  else {\n+    let doccomplaintinst = new DocComplaint({\n+      text: req.body.text,\n+      fromUserId: req.user._id,\n+      revisionId: req.body.revisionId,\n+      docId: req.body.docId \n+    });\n+    \n+    doccomplaintinst.save(function (err, doccomp) {\n+      if (err) {\n+        res.status(500).json({error:\"Could not create the Document Complaint.\"});\n+      }\n+      else {\n+        console.log(\"Document Complaint saved to DocComplaints collection.\");\n+        res.status(200).json({msg:\"Document Complaint Created.\"});\n+      }\n+    });\n+  }\n+}\n+\n+const retrieveDocComplaint = (req, res) => {\n+  DocComplaint.findOne({_id:req.params.complaintId}, function(err, result){\n+    if (err || !result) {\n+      res.status(404).json({error:\"Could not retrieve the Document Complaint.\"});\n+    }\n+    else {\n+      res.status(200).json({docComplaint:result});\n+    }\n+  });\n+};\n+\n+const getDocComplaintList = (req, res) => {\n+  DocComplaint.find({}, function(err, results){\n+    if (err || !result) {\n+      res.status(404).json({error:\"Could not retrieve Document Complaints.\"});\n+    }\n+    else {\n+      res.status(200).json({docComplaintList:results});\n+    }\n+  });\n+};\n+\n+const deleteDocComplaint = (req, res) => {\n+  if(!req.isAuthenticated()){\n+    res.redirect('/');\n+  }\n+  else {\n+    DocComplaint.deleteOne({_id:req.params.complaintId}, function(err){\n+      if (err) {\n+        res.status(500).json({error:\"Could not delete the Document Complaint.\"});\n+      }\n+      else {\n+        res.status(200).json({msg:\"Document Complaint Deleted.\"});\n+      }\n+    });\n+  }\n+}\n+\n+const retrieveUnprocessedDocComplaints = (req, res) => {\n+  DocComplaint.find({processed: false, docId: req.body.docId}, function(err, results){\n+    if (err || !result) {\n+      res.status(404).json({error:\"Could not retrieve Unprocessed Document Complaints.\"});\n+    }\n+    else {\n+      res.status(200).json({unprocessedDocComplaints:results});\n+    }\n+  });\n+}\n+\n+const processDocComplaint = (req, res) => {\n+  if(!req.isAuthenticated()){\n+    res.redirect('/');\n+  }\n+  else {\n+    DocComplaint.updateOne({_id: req.body.docComplaintId}, {processed: true}, function(err, result) {\n+      if(err || !result){\n+        res.status(404).json({error:\"Could not retrieve the Document Complaint for updating.\"});\n+      }\n+      else {\n+        console.log(\"Document Complaint in DocComplaint collection updated.\");\n+        res.status(200).json({msg:\"Document Complaint Updated.\"});\n+      }\n+    });\n+  }\n+}\n+\n+const createUserComplaint = (req, res) => {\n+  if(!req.isAuthenticated()){\n+    res.redirect('/');\n+  }\n+  else {\n+    let usercomplaintinst = new UserComplaint({\n+      text: req.body.text,\n+      fromUserId: req.user._id,\n+      targetUserId: req.body.targetUserId \n+    });\n+    \n+    usercomplaintinst.save(function (err, usercomp) {\n+      if (err) {\n+        res.status(500).json({error:\"Could not create the User Complaint.\"});\n+      }\n+      else {\n+        console.log(\"User Complaint saved to UserComplaints collection.\");\n+        res.status(200).json({msg:\"User Complaint Created.\"});\n+      }\n+    });\n+  }\n+}\n+\n+const retrieveUserComplaint = (req, res) => {\n+  UserComplaint.findOne({_id:req.params.complaintId}, function(err, result){\n+    if (err || !result) {\n+      res.status(404).json({error:\"Could not retrieve the user complaint.\"});\n+    }\n+    else {\n+      res.status(200).json({userComplaint:result});\n+    }\n+  });\n+};\n+\n+const getUserComplaintList = (req, res) => {\n+  UserComplaint.find({}, function(err, results){\n+    if (err || !result) {\n+      res.status(404).json({error:\"Could not retrieve User Complaints.\"});\n+    }\n+    else {\n+      res.status(200).json({userComplaintList:results});\n+    }\n+  });\n+};\n+\n+const deleteUserComplaint = (req, res) => {\n+  if(!req.isAuthenticated()){\n+    res.redirect('/');\n+  }\n+  else {\n+    UserComplaint.deleteOne({_id:req.params.complaintId}, function(err){\n+      if (err) {\n+        res.status(500).json({error:\"Could not delete the User Complaint.\"});\n+      }\n+      else {\n+        res.status(200).json({msg:\"User Complaint Deleted.\"});\n+      }\n+    });\n+  }\n+}\n+\n+const processUserComplaint = (req, res) => {\n+  if(!req.isAuthenticated()){\n+    res.redirect('/');\n+  }\n+  else {\n+    UserComplaint.updateOne({_id: req.body.userComplaintId}, {processed: true}, function(err, result) {\n+      if(err || !result){\n+        res.status(404).json({error:\"Could not retrieve the User Complaint for updating.\"});\n+      }\n+      else {\n+        console.log(\"User Complaint in UserComplaint collection updated.\");\n+        res.status(200).json({msg:\"User Complaint Updated.\"});\n+      }\n+    });\n+  }\n+}\n+\n+const getCurrentUserComplaints = (req, res) => {\n+  if(!req.isAuthenticated()){\n+    res.redirect('/');\n+  }\n+  else {\n+    let currUsrComplaintsquery;","path":"server/controllers/complaintHandler.js","position":178,"original_position":178,"commit_id":"4bb66141a1fb8c9ca6a72364d181c363a1eab565","original_commit_id":"4bb66141a1fb8c9ca6a72364d181c363a1eab565","user":{"login":"MicLi01","id":37303581,"node_id":"MDQ6VXNlcjM3MzAzNTgx","avatar_url":"https://avatars1.githubusercontent.com/u/37303581?v=4","gravatar_id":"","url":"https://api.github.com/users/MicLi01","html_url":"https://github.com/MicLi01","followers_url":"https://api.github.com/users/MicLi01/followers","following_url":"https://api.github.com/users/MicLi01/following{/other_user}","gists_url":"https://api.github.com/users/MicLi01/gists{/gist_id}","starred_url":"https://api.github.com/users/MicLi01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MicLi01/subscriptions","organizations_url":"https://api.github.com/users/MicLi01/orgs","repos_url":"https://api.github.com/users/MicLi01/repos","events_url":"https://api.github.com/users/MicLi01/events{/privacy}","received_events_url":"https://api.github.com/users/MicLi01/received_events","type":"User","site_admin":false},"body":"ok","created_at":"2018-11-25T21:14:56Z","updated_at":"2018-11-25T21:14:56Z","html_url":"https://github.com/chc5/gitgud/pull/23#discussion_r236090279","pull_request_url":"https://api.github.com/repos/chc5/gitgud/pulls/23","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/chc5/gitgud/pulls/comments/236090279"},"html":{"href":"https://github.com/chc5/gitgud/pull/23#discussion_r236090279"},"pull_request":{"href":"https://api.github.com/repos/chc5/gitgud/pulls/23"}},"in_reply_to_id":236081196},"pull_request":{"url":"https://api.github.com/repos/chc5/gitgud/pulls/23","id":233115132,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzMTE1MTMy","html_url":"https://github.com/chc5/gitgud/pull/23","diff_url":"https://github.com/chc5/gitgud/pull/23.diff","patch_url":"https://github.com/chc5/gitgud/pull/23.patch","issue_url":"https://api.github.com/repos/chc5/gitgud/issues/23","number":23,"state":"open","locked":false,"title":"Complaint Handler, user complaint and doc complaint models","user":{"login":"MicLi01","id":37303581,"node_id":"MDQ6VXNlcjM3MzAzNTgx","avatar_url":"https://avatars1.githubusercontent.com/u/37303581?v=4","gravatar_id":"","url":"https://api.github.com/users/MicLi01","html_url":"https://github.com/MicLi01","followers_url":"https://api.github.com/users/MicLi01/followers","following_url":"https://api.github.com/users/MicLi01/following{/other_user}","gists_url":"https://api.github.com/users/MicLi01/gists{/gist_id}","starred_url":"https://api.github.com/users/MicLi01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MicLi01/subscriptions","organizations_url":"https://api.github.com/users/MicLi01/orgs","repos_url":"https://api.github.com/users/MicLi01/repos","events_url":"https://api.github.com/users/MicLi01/events{/privacy}","received_events_url":"https://api.github.com/users/MicLi01/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-11-23T06:29:54Z","updated_at":"2018-11-25T21:14:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6c3e9c91eeb864c72c0936216e0f7a45c3ebaeae","assignee":{"login":"MicLi01","id":37303581,"node_id":"MDQ6VXNlcjM3MzAzNTgx","avatar_url":"https://avatars1.githubusercontent.com/u/37303581?v=4","gravatar_id":"","url":"https://api.github.com/users/MicLi01","html_url":"https://github.com/MicLi01","followers_url":"https://api.github.com/users/MicLi01/followers","following_url":"https://api.github.com/users/MicLi01/following{/other_user}","gists_url":"https://api.github.com/users/MicLi01/gists{/gist_id}","starred_url":"https://api.github.com/users/MicLi01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MicLi01/subscriptions","organizations_url":"https://api.github.com/users/MicLi01/orgs","repos_url":"https://api.github.com/users/MicLi01/repos","events_url":"https://api.github.com/users/MicLi01/events{/privacy}","received_events_url":"https://api.github.com/users/MicLi01/received_events","type":"User","site_admin":false},"assignees":[{"login":"MicLi01","id":37303581,"node_id":"MDQ6VXNlcjM3MzAzNTgx","avatar_url":"https://avatars1.githubusercontent.com/u/37303581?v=4","gravatar_id":"","url":"https://api.github.com/users/MicLi01","html_url":"https://github.com/MicLi01","followers_url":"https://api.github.com/users/MicLi01/followers","following_url":"https://api.github.com/users/MicLi01/following{/other_user}","gists_url":"https://api.github.com/users/MicLi01/gists{/gist_id}","starred_url":"https://api.github.com/users/MicLi01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MicLi01/subscriptions","organizations_url":"https://api.github.com/users/MicLi01/orgs","repos_url":"https://api.github.com/users/MicLi01/repos","events_url":"https://api.github.com/users/MicLi01/events{/privacy}","received_events_url":"https://api.github.com/users/MicLi01/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"chc5","id":21010314,"node_id":"MDQ6VXNlcjIxMDEwMzE0","avatar_url":"https://avatars0.githubusercontent.com/u/21010314?v=4","gravatar_id":"","url":"https://api.github.com/users/chc5","html_url":"https://github.com/chc5","followers_url":"https://api.github.com/users/chc5/followers","following_url":"https://api.github.com/users/chc5/following{/other_user}","gists_url":"https://api.github.com/users/chc5/gists{/gist_id}","starred_url":"https://api.github.com/users/chc5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chc5/subscriptions","organizations_url":"https://api.github.com/users/chc5/orgs","repos_url":"https://api.github.com/users/chc5/repos","events_url":"https://api.github.com/users/chc5/events{/privacy}","received_events_url":"https://api.github.com/users/chc5/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/chc5/gitgud/pulls/23/commits","review_comments_url":"https://api.github.com/repos/chc5/gitgud/pulls/23/comments","review_comment_url":"https://api.github.com/repos/chc5/gitgud/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chc5/gitgud/issues/23/comments","statuses_url":"https://api.github.com/repos/chc5/gitgud/statuses/4bb66141a1fb8c9ca6a72364d181c363a1eab565","head":{"label":"chc5:Mic_Complaint","ref":"Mic_Complaint","sha":"4bb66141a1fb8c9ca6a72364d181c363a1eab565","user":{"login":"chc5","id":21010314,"node_id":"MDQ6VXNlcjIxMDEwMzE0","avatar_url":"https://avatars0.githubusercontent.com/u/21010314?v=4","gravatar_id":"","url":"https://api.github.com/users/chc5","html_url":"https://github.com/chc5","followers_url":"https://api.github.com/users/chc5/followers","following_url":"https://api.github.com/users/chc5/following{/other_user}","gists_url":"https://api.github.com/users/chc5/gists{/gist_id}","starred_url":"https://api.github.com/users/chc5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chc5/subscriptions","organizations_url":"https://api.github.com/users/chc5/orgs","repos_url":"https://api.github.com/users/chc5/repos","events_url":"https://api.github.com/users/chc5/events{/privacy}","received_events_url":"https://api.github.com/users/chc5/received_events","type":"User","site_admin":false},"repo":{"id":153178019,"node_id":"MDEwOlJlcG9zaXRvcnkxNTMxNzgwMTk=","name":"gitgud","full_name":"chc5/gitgud","private":false,"owner":{"login":"chc5","id":21010314,"node_id":"MDQ6VXNlcjIxMDEwMzE0","avatar_url":"https://avatars0.githubusercontent.com/u/21010314?v=4","gravatar_id":"","url":"https://api.github.com/users/chc5","html_url":"https://github.com/chc5","followers_url":"https://api.github.com/users/chc5/followers","following_url":"https://api.github.com/users/chc5/following{/other_user}","gists_url":"https://api.github.com/users/chc5/gists{/gist_id}","starred_url":"https://api.github.com/users/chc5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chc5/subscriptions","organizations_url":"https://api.github.com/users/chc5/orgs","repos_url":"https://api.github.com/users/chc5/repos","events_url":"https://api.github.com/users/chc5/events{/privacy}","received_events_url":"https://api.github.com/users/chc5/received_events","type":"User","site_admin":false},"html_url":"https://github.com/chc5/gitgud","description":null,"fork":false,"url":"https://api.github.com/repos/chc5/gitgud","forks_url":"https://api.github.com/repos/chc5/gitgud/forks","keys_url":"https://api.github.com/repos/chc5/gitgud/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chc5/gitgud/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chc5/gitgud/teams","hooks_url":"https://api.github.com/repos/chc5/gitgud/hooks","issue_events_url":"https://api.github.com/repos/chc5/gitgud/issues/events{/number}","events_url":"https://api.github.com/repos/chc5/gitgud/events","assignees_url":"https://api.github.com/repos/chc5/gitgud/assignees{/user}","branches_url":"https://api.github.com/repos/chc5/gitgud/branches{/branch}","tags_url":"https://api.github.com/repos/chc5/gitgud/tags","blobs_url":"https://api.github.com/repos/chc5/gitgud/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chc5/gitgud/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chc5/gitgud/git/refs{/sha}","trees_url":"https://api.github.com/repos/chc5/gitgud/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chc5/gitgud/statuses/{sha}","languages_url":"https://api.github.com/repos/chc5/gitgud/languages","stargazers_url":"https://api.github.com/repos/chc5/gitgud/stargazers","contributors_url":"https://api.github.com/repos/chc5/gitgud/contributors","subscribers_url":"https://api.github.com/repos/chc5/gitgud/subscribers","subscription_url":"https://api.github.com/repos/chc5/gitgud/subscription","commits_url":"https://api.github.com/repos/chc5/gitgud/commits{/sha}","git_commits_url":"https://api.github.com/repos/chc5/gitgud/git/commits{/sha}","comments_url":"https://api.github.com/repos/chc5/gitgud/comments{/number}","issue_comment_url":"https://api.github.com/repos/chc5/gitgud/issues/comments{/number}","contents_url":"https://api.github.com/repos/chc5/gitgud/contents/{+path}","compare_url":"https://api.github.com/repos/chc5/gitgud/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chc5/gitgud/merges","archive_url":"https://api.github.com/repos/chc5/gitgud/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chc5/gitgud/downloads","issues_url":"https://api.github.com/repos/chc5/gitgud/issues{/number}","pulls_url":"https://api.github.com/repos/chc5/gitgud/pulls{/number}","milestones_url":"https://api.github.com/repos/chc5/gitgud/milestones{/number}","notifications_url":"https://api.github.com/repos/chc5/gitgud/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chc5/gitgud/labels{/name}","releases_url":"https://api.github.com/repos/chc5/gitgud/releases{/id}","deployments_url":"https://api.github.com/repos/chc5/gitgud/deployments","created_at":"2018-10-15T20:34:58Z","updated_at":"2018-11-25T04:41:12Z","pushed_at":"2018-11-25T20:23:00Z","git_url":"git://github.com/chc5/gitgud.git","ssh_url":"git@github.com:chc5/gitgud.git","clone_url":"https://github.com/chc5/gitgud.git","svn_url":"https://github.com/chc5/gitgud","homepage":null,"size":153,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":6,"watchers":1,"default_branch":"master"}},"base":{"label":"chc5:master","ref":"master","sha":"30a58f3df6928eefc501dbba47815d2487b72619","user":{"login":"chc5","id":21010314,"node_id":"MDQ6VXNlcjIxMDEwMzE0","avatar_url":"https://avatars0.githubusercontent.com/u/21010314?v=4","gravatar_id":"","url":"https://api.github.com/users/chc5","html_url":"https://github.com/chc5","followers_url":"https://api.github.com/users/chc5/followers","following_url":"https://api.github.com/users/chc5/following{/other_user}","gists_url":"https://api.github.com/users/chc5/gists{/gist_id}","starred_url":"https://api.github.com/users/chc5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chc5/subscriptions","organizations_url":"https://api.github.com/users/chc5/orgs","repos_url":"https://api.github.com/users/chc5/repos","events_url":"https://api.github.com/users/chc5/events{/privacy}","received_events_url":"https://api.github.com/users/chc5/received_events","type":"User","site_admin":false},"repo":{"id":153178019,"node_id":"MDEwOlJlcG9zaXRvcnkxNTMxNzgwMTk=","name":"gitgud","full_name":"chc5/gitgud","private":false,"owner":{"login":"chc5","id":21010314,"node_id":"MDQ6VXNlcjIxMDEwMzE0","avatar_url":"https://avatars0.githubusercontent.com/u/21010314?v=4","gravatar_id":"","url":"https://api.github.com/users/chc5","html_url":"https://github.com/chc5","followers_url":"https://api.github.com/users/chc5/followers","following_url":"https://api.github.com/users/chc5/following{/other_user}","gists_url":"https://api.github.com/users/chc5/gists{/gist_id}","starred_url":"https://api.github.com/users/chc5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chc5/subscriptions","organizations_url":"https://api.github.com/users/chc5/orgs","repos_url":"https://api.github.com/users/chc5/repos","events_url":"https://api.github.com/users/chc5/events{/privacy}","received_events_url":"https://api.github.com/users/chc5/received_events","type":"User","site_admin":false},"html_url":"https://github.com/chc5/gitgud","description":null,"fork":false,"url":"https://api.github.com/repos/chc5/gitgud","forks_url":"https://api.github.com/repos/chc5/gitgud/forks","keys_url":"https://api.github.com/repos/chc5/gitgud/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chc5/gitgud/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chc5/gitgud/teams","hooks_url":"https://api.github.com/repos/chc5/gitgud/hooks","issue_events_url":"https://api.github.com/repos/chc5/gitgud/issues/events{/number}","events_url":"https://api.github.com/repos/chc5/gitgud/events","assignees_url":"https://api.github.com/repos/chc5/gitgud/assignees{/user}","branches_url":"https://api.github.com/repos/chc5/gitgud/branches{/branch}","tags_url":"https://api.github.com/repos/chc5/gitgud/tags","blobs_url":"https://api.github.com/repos/chc5/gitgud/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chc5/gitgud/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chc5/gitgud/git/refs{/sha}","trees_url":"https://api.github.com/repos/chc5/gitgud/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chc5/gitgud/statuses/{sha}","languages_url":"https://api.github.com/repos/chc5/gitgud/languages","stargazers_url":"https://api.github.com/repos/chc5/gitgud/stargazers","contributors_url":"https://api.github.com/repos/chc5/gitgud/contributors","subscribers_url":"https://api.github.com/repos/chc5/gitgud/subscribers","subscription_url":"https://api.github.com/repos/chc5/gitgud/subscription","commits_url":"https://api.github.com/repos/chc5/gitgud/commits{/sha}","git_commits_url":"https://api.github.com/repos/chc5/gitgud/git/commits{/sha}","comments_url":"https://api.github.com/repos/chc5/gitgud/comments{/number}","issue_comment_url":"https://api.github.com/repos/chc5/gitgud/issues/comments{/number}","contents_url":"https://api.github.com/repos/chc5/gitgud/contents/{+path}","compare_url":"https://api.github.com/repos/chc5/gitgud/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chc5/gitgud/merges","archive_url":"https://api.github.com/repos/chc5/gitgud/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chc5/gitgud/downloads","issues_url":"https://api.github.com/repos/chc5/gitgud/issues{/number}","pulls_url":"https://api.github.com/repos/chc5/gitgud/pulls{/number}","milestones_url":"https://api.github.com/repos/chc5/gitgud/milestones{/number}","notifications_url":"https://api.github.com/repos/chc5/gitgud/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chc5/gitgud/labels{/name}","releases_url":"https://api.github.com/repos/chc5/gitgud/releases{/id}","deployments_url":"https://api.github.com/repos/chc5/gitgud/deployments","created_at":"2018-10-15T20:34:58Z","updated_at":"2018-11-25T04:41:12Z","pushed_at":"2018-11-25T20:23:00Z","git_url":"git://github.com/chc5/gitgud.git","ssh_url":"git@github.com:chc5/gitgud.git","clone_url":"https://github.com/chc5/gitgud.git","svn_url":"https://github.com/chc5/gitgud","homepage":null,"size":153,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":6,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chc5/gitgud/pulls/23"},"html":{"href":"https://github.com/chc5/gitgud/pull/23"},"issue":{"href":"https://api.github.com/repos/chc5/gitgud/issues/23"},"comments":{"href":"https://api.github.com/repos/chc5/gitgud/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/chc5/gitgud/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/chc5/gitgud/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chc5/gitgud/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/chc5/gitgud/statuses/4bb66141a1fb8c9ca6a72364d181c363a1eab565"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"MicLi01"}}