{"action":"created","comment":{"url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/pulls/comments/87931702","pull_request_review_id":8521346,"id":87931702,"diff_hunk":"@@ -0,0 +1,793 @@\n+// TODO Add before each that reseeds the DB\n+// Set the env to development\n+process.env.NODE_ENV = 'development';\n+\n+// Require the testing dependencies\n+var chai = require('chai');\n+var assert = chai.assert;\n+\n+// The file to be tested\n+const stats = require('../../routes/stats');\n+\n+// Create fake stats\n+var fakeStat = {\n+  stat_id: 1,\n+  student_id: 1,\n+  event_id: 1,\n+  height: 5,\n+  weight: 5,\n+  pacer: 5\n+};\n+\n+var fakeStat2 = {\n+  stat_id: 2,\n+  student_id: 1,\n+  event_id: 2,\n+  height: 7,\n+  weight: 7,\n+  pacer: 7\n+};\n+\n+var fakeStat3 = {\n+  stat_id: 3,\n+  student_id: 2,\n+  event_id: 6,\n+  height: 71,\n+  weight: 17,\n+  pacer: 57\n+};\n+\n+var fakeStat4 = {\n+  stat_id: 4,\n+  student_id: 2,\n+  event_id: 4,\n+  height: 40,\n+  weight: 12,\n+  pacer: 500\n+};\n+\n+var fakeStat5 = {\n+  stat_id: 5,\n+  student_id: 2,\n+  event_id: 2,\n+  height: 44,\n+  weight: 16,\n+  pacer: 500\n+};\n+\n+var fakeStat6 = {\n+  stat_id: 6,\n+  student_id: 4,\n+  event_id: 2,\n+  height: 4,\n+  weight: 12,\n+  pacer: 421\n+};\n+\n+// This stat is added later\n+var fakeStat7 = {\n+  stat_id: 7,\n+  student_id: 2,\n+  event_id: 2,\n+  height: 320,\n+  weight: 54,\n+  pacer: 382,\n+};\n+\n+// Update Checking\n+var fakeStat8 = {\n+  stat_id: 1,\n+  student_id: 1,\n+  event_id: 1,\n+  height: 6,\n+  weight: 6,\n+  pacer: 6\n+};\n+\n+describe('stats', function() {\n+  describe('getStats(req)', function() {\n+    xit('should get all the stats in the database', function(done) {\n+      // GET all doesn't need anything from the request, so pass in empty\n+      var promise = stats.getStats({});\n+\n+      // When the promised data is returned, check it against the expected data\n+      promise.then(function(data) {\n+        assert.deepEqual([fakeStat, fakeStat2, fakeStat3,\n+           fakeStat4, fakeStat5, fakeStat6], data);\n+        done();\n+      });\n+    });\n+\n+    // Get all stats at one site\n+    xit('should get all stats for one site', function(done) {\n+      var req = {\n+        params: {\n+          site_id: 1\n+        }\n+      };\n+\n+      var promise = stats.getStats(req);\n+\n+      promise.then(function(data) {\n+        assert.deepEqual(data, [fakeStat, fakeStat4]);\n+        done();\n+      });\n+    });\n+\n+    xit('should give an error if the site_id is negative',\n+    function(done) {\n+      var req = {\n+        params: {\n+          site_id: -4\n+        }\n+      };\n+\n+      var promise = stats.getStats(req);\n+      promise.catch(function(err) {\n+        assert.equal(err.message,\n+        'Given site_id is of invalid format (e.g. not an integer or' +\n+        ' negative)');\n+\n+        // TODO Uncomment these if you're making comlex errors, Jonah.\n+        // assert.equal(err.name, 'InvalidArgumentError');\n+        // assert.equal(err.propertyName, 'site_id');\n+        // assert.equal(err.propertyValue, req.params.site_id);\n+        assert.equal(err.status, 400);\n+        done();\n+      });\n+    });\n+\n+    // test for error if site_id not an integer\n+    xit('should give an error if the stat_id is not an integer',\n+    function(done) {\n+      var req = {\n+        params: {\n+          site_id: 'hi'\n+        }\n+      };\n+\n+      var promise = stats.getStats(req);\n+      promise.catch(function(err) {\n+        assert.equal(err.message,\n+        'Given site_id is of invalid format (e.g. not an integer or' +\n+        ' negative)');\n+        // assert.equal(err.name, 'InvalidArgumentError');\n+        // assert.equal(err.propertyName, 'site_id');\n+        // assert.equal(err.propertyValue, req.params.site_id);\n+        assert.equal(err.status, 400);\n+        done();\n+      });\n+    });\n+\n+    // test for site_id not in database\n+    xit('should give an error if the site_id is not in database',\n+    function(done) {\n+      var req = {\n+        params: {\n+          site_id: 44555555\n+        }\n+      };\n+\n+      var promise = stats.getStats(req);\n+      promise.catch(function(err) {\n+        assert.equal(err.message,\n+        'Given site_id not found in database.');\n+        assert.equal(err.status, 400);\n+        done();\n+      });\n+    });\n+\n+    // Get all stats of one student\n+    xit('should get all stats for one student', function(done) {\n+      var req = {\n+        params: {\n+          student_id: 1\n+        }\n+      };\n+\n+      var promise = stats.getStats(req);\n+\n+      promise.then(function(data) {\n+        assert.deepEqual(data, [fakeStat, fakeStat2]);\n+        done();\n+      });\n+    });\n+\n+    xit('should give an error if the student_id is negative',\n+    function(done) {\n+      var req = {\n+        params: {\n+          student_id: -12\n+        }\n+      };\n+\n+      var promise = stats.getStats(req);\n+      promise.catch(function(err) {\n+        assert.equal(err.message,\n+        'Given student_id is of invalid format (e.g. not an integer or' +\n+        ' negative)');\n+\n+        // assert.equal(err.name, 'InvalidArgumentError');\n+        // assert.equal(err.propertyName, 'student_id');\n+        // assert.equal(err.propertyValue, req.params.student_id);\n+        assert.equal(err.status, 400);\n+        done();\n+      });\n+    });\n+\n+    // test for error if student_id not an integer\n+    xit('should give an error if the student_id is not an integer',\n+    function(done) {\n+      var req = {\n+        params: {\n+          student_id: 'bob'\n+        }\n+      };\n+\n+      var promise = stats.getStats(req);\n+      promise.catch(function(err) {\n+        assert.equal(err.message,\n+        'Given student_id is of invalid format (e.g. not an integer or' +\n+        ' negative)');\n+        // assert.equal(err.name, 'InvalidArgumentError');\n+        // assert.equal(err.propertyName, 'student_id');\n+        // assert.equal(err.propertyValue, req.params.student_id);\n+        assert.equal(err.status, 400);\n+        done();\n+      });\n+    });\n+\n+    // test for student_id not in database: what should it do?\n+    xit('should give an error if the student_id is not in the database',\n+    function(done) {\n+      var req = {\n+        params: {\n+          student_id: 48394234\n+        }\n+      };\n+\n+      var promise = stats.getStats(req);\n+      promise.catch(function(err) {\n+        assert.equal(err.message,\n+        'Given student_id is not found in the database.');\n+        assert.equal(err.status, 400);\n+        done();\n+      });\n+    });\n+  });\n+\n+  describe('getStat(req)', function() {\n+    xit('should get a specific stat', function(done) {\n+      var req = {\n+        params: {\n+          // The student_id is contained in the request\n+          stat_id: 4\n+        }\n+      };\n+\n+      var promise = stats.getStat(req);\n+\n+      promise.then(function(data) {\n+        assert.deepEqual(data, [fakeStat4]);\n+        assert.length(data, 1);\n+        done();\n+      });\n+    });\n+\n+    xit('should give an error if the stat_id is negative',\n+    function(done) {\n+      var req = {\n+        params: {\n+          stat_id: -5\n+        }\n+      };\n+\n+      var promise = stats.getStat(req);\n+      promise.catch(function(err) {\n+        assert.equal(err.message,\n+        'Given stat_id is of invalid format (e.g. not an integer or' +\n+        ' negative)');\n+\n+        // assert.equal(err.name, 'InvalidArgumentError');\n+        // assert.equal(err.propertyName, 'stat_id');\n+        // assert.equal(err.propertyValue, req.params.stat_id);\n+        assert.equal(err.status, 400);\n+        done();\n+      });\n+    });\n+\n+    xit('should give an error if the stat_id is not an integer',\n+    function(done) {\n+      var req = {\n+        params: {\n+          stat_id: 'that stat'\n+        }\n+      };\n+\n+      var promise = stats.getStat(req);\n+      promise.catch(function(err) {\n+        assert.equal(err.message,\n+        'Given stat_id is of invalid format (e.g. not an integer or' +\n+        ' negative)');\n+\n+        // assert.equal(err.name, 'InvalidArgumentError');\n+        // assert.equal(err.propertyName, 'stat_id');\n+        // assert.equal(err.propertyValue, req.params.stat_id);\n+        assert.equal(err.status, 400);\n+        done();\n+      });\n+    });\n+\n+    xit('should give an error if the stat_id is not in the database',\n+    function(done) {\n+      var req = {\n+        params: {\n+          stat_id: 9999999\n+        }\n+      };\n+\n+      var promise = stats.getStat(req);\n+      promise.catch(function(err) {\n+        assert.equal(err.message,\n+        'Given stat_id is not found in the database');\n+        assert.equal(err.status, 400);\n+        done();\n+      });\n+    });\n+  });\n+\n+  describe('createStat(req)', function() {\n+    // Post a new row of stats into stats database\n+    xit('should add new stats to the database', function(done) {\n+      var req = {\n+        body: {\n+          student_id: 2,\n+          event_id: 2,\n+          height: 320,\n+          weight: 54,\n+          pacer: 382,\n+        }\n+      };\n+\n+      var promise = stats.getStats({});\n+      var statCount;\n+\n+      promise.then(function(data) {\n+        statCount = data.length;\n+        assert.deepEqual(data, [fakeStat, fakeStat2, fakeStat3,\n+           fakeStat4, fakeStat5, fakeStat6]);\n+\n+        return stats.createStat(req);\n+      })\n+      .then(function() {\n+        return stats.getStats({});\n+      })\n+      .then(function(data) {\n+        assert.lengthOf(data, statCount + 1);\n+        assert.deepEqual([fakeStat, fakeStat2, fakeStat3,\n+           fakeStat4, fakeStat5, fakeStat6, fakeStat7]);\n+        done();\n+      });\n+    });\n+\n+    // TODO Insert test for trying to post if stat already exists\n+    // (should do nothing. Make sure of that.)\n+\n+    // Attempt to post existing stat\n+    xit('adding an existant set of stat should do nothing', function(done) {\n+      var req = {\n+        body: {\n+          student_id: 1,\n+          event_id: 1,\n+          height: 5,\n+          weight: 5,\n+          pacer: 5\n+        }\n+      };\n+\n+      var promise = stats.getStats({});\n+      var statCount;\n+\n+      promise.then(function(data) {\n+        statCount = data.length;\n+        assert.deepEqual(data, [fakeStat, fakeStat2, fakeStat3,\n+           fakeStat4, fakeStat5, fakeStat6]);\n+\n+        return stats.createStat(req);\n+      })\n+      .then(function() {\n+        return stats.getStats({});\n+      })\n+      .then(function(data) {\n+        assert.lengthOf(data, statCount);\n+        assert.deepEqual([fakeStat, fakeStat2, fakeStat3,\n+          fakeStat4, fakeStat5, fakeStat6]);\n+        assert.equal(result.message,\n+        'Unable to add student because this set of stats already exists');\n+        done();\n+      });\n+    });\n+\n+    // Attempt to post stats but missing body\n+    xit('attempting to post stats with missing body will result in an error', function(done) {\n+      var req = {\n+        body: {}","path":"test/unit/stats.js","position":414,"original_position":414,"commit_id":"12d6b56f7d8601fcb4d588f1b41822fdcae06fcf","original_commit_id":"12d6b56f7d8601fcb4d588f1b41822fdcae06fcf","user":{"login":"jacquelineali","id":5084596,"avatar_url":"https://avatars.githubusercontent.com/u/5084596?v=3","gravatar_id":"","url":"https://api.github.com/users/jacquelineali","html_url":"https://github.com/jacquelineali","followers_url":"https://api.github.com/users/jacquelineali/followers","following_url":"https://api.github.com/users/jacquelineali/following{/other_user}","gists_url":"https://api.github.com/users/jacquelineali/gists{/gist_id}","starred_url":"https://api.github.com/users/jacquelineali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacquelineali/subscriptions","organizations_url":"https://api.github.com/users/jacquelineali/orgs","repos_url":"https://api.github.com/users/jacquelineali/repos","events_url":"https://api.github.com/users/jacquelineali/events{/privacy}","received_events_url":"https://api.github.com/users/jacquelineali/received_events","type":"User","site_admin":false},"body":"Body isn't missing here, the required fields **inside** body are. Change this test to say \"attempting to post stats with missing fields will result in an error.\" Also remember to include params: {} inside your req. Basically, make sure one field or component is missing at a time, and test that there's an error.\r\n\r\nE.g. The following test cases:\r\n\r\n- Should not post stats if request is missing body\r\n- Should not post stats if request is missing params section\r\n- Should not post stats if params section is missing student_id or event_id\r\n- Should not post stats if body section is missing height, weight or pacer (you already wrote these)\r\n\r\nThe perfect request looks like this: \r\nreq = { \r\nparams: {\r\nevent_id: #,\r\nstudent_id: #\r\n},\r\nbody {\r\nheight: #,\r\nweight: ###,\r\npacer: ###\r\n}\r\n}\r\n\r\nWrite a test removing each piece. Check out the students test for reference. A lot of it is gonna be copy paste after you finish one. You've already written most of em, just fix the requests passed in to each test and be wary of what belongs in req.params vs req.body","created_at":"2016-11-15T01:26:35Z","updated_at":"2016-11-15T01:37:12Z","html_url":"https://github.com/CS4500-AmericaSCORES/america-scores-backend/pull/5#discussion_r87931702","pull_request_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/pulls/comments/87931702"},"html":{"href":"https://github.com/CS4500-AmericaSCORES/america-scores-backend/pull/5#discussion_r87931702"},"pull_request":{"href":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/pulls/5","id":92694187,"html_url":"https://github.com/CS4500-AmericaSCORES/america-scores-backend/pull/5","diff_url":"https://github.com/CS4500-AmericaSCORES/america-scores-backend/pull/5.diff","patch_url":"https://github.com/CS4500-AmericaSCORES/america-scores-backend/pull/5.patch","issue_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/issues/5","number":5,"state":"open","locked":false,"title":"As 13 stats tests","user":{"login":"extrahp","id":9021063,"avatar_url":"https://avatars.githubusercontent.com/u/9021063?v=3","gravatar_id":"","url":"https://api.github.com/users/extrahp","html_url":"https://github.com/extrahp","followers_url":"https://api.github.com/users/extrahp/followers","following_url":"https://api.github.com/users/extrahp/following{/other_user}","gists_url":"https://api.github.com/users/extrahp/gists{/gist_id}","starred_url":"https://api.github.com/users/extrahp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/extrahp/subscriptions","organizations_url":"https://api.github.com/users/extrahp/orgs","repos_url":"https://api.github.com/users/extrahp/repos","events_url":"https://api.github.com/users/extrahp/events{/privacy}","received_events_url":"https://api.github.com/users/extrahp/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-08T00:39:45Z","updated_at":"2016-11-15T01:41:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"87f0c460fb08efdafad29235f7f278c18cf14ecf","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/pulls/5/commits","review_comments_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/pulls/5/comments","review_comment_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/issues/5/comments","statuses_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/statuses/12d6b56f7d8601fcb4d588f1b41822fdcae06fcf","head":{"label":"CS4500-AmericaSCORES:AS-13-statsTests","ref":"AS-13-statsTests","sha":"12d6b56f7d8601fcb4d588f1b41822fdcae06fcf","user":{"login":"CS4500-AmericaSCORES","id":23103337,"avatar_url":"https://avatars.githubusercontent.com/u/23103337?v=3","gravatar_id":"","url":"https://api.github.com/users/CS4500-AmericaSCORES","html_url":"https://github.com/CS4500-AmericaSCORES","followers_url":"https://api.github.com/users/CS4500-AmericaSCORES/followers","following_url":"https://api.github.com/users/CS4500-AmericaSCORES/following{/other_user}","gists_url":"https://api.github.com/users/CS4500-AmericaSCORES/gists{/gist_id}","starred_url":"https://api.github.com/users/CS4500-AmericaSCORES/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CS4500-AmericaSCORES/subscriptions","organizations_url":"https://api.github.com/users/CS4500-AmericaSCORES/orgs","repos_url":"https://api.github.com/users/CS4500-AmericaSCORES/repos","events_url":"https://api.github.com/users/CS4500-AmericaSCORES/events{/privacy}","received_events_url":"https://api.github.com/users/CS4500-AmericaSCORES/received_events","type":"Organization","site_admin":false},"repo":{"id":72125551,"name":"america-scores-backend","full_name":"CS4500-AmericaSCORES/america-scores-backend","owner":{"login":"CS4500-AmericaSCORES","id":23103337,"avatar_url":"https://avatars.githubusercontent.com/u/23103337?v=3","gravatar_id":"","url":"https://api.github.com/users/CS4500-AmericaSCORES","html_url":"https://github.com/CS4500-AmericaSCORES","followers_url":"https://api.github.com/users/CS4500-AmericaSCORES/followers","following_url":"https://api.github.com/users/CS4500-AmericaSCORES/following{/other_user}","gists_url":"https://api.github.com/users/CS4500-AmericaSCORES/gists{/gist_id}","starred_url":"https://api.github.com/users/CS4500-AmericaSCORES/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CS4500-AmericaSCORES/subscriptions","organizations_url":"https://api.github.com/users/CS4500-AmericaSCORES/orgs","repos_url":"https://api.github.com/users/CS4500-AmericaSCORES/repos","events_url":"https://api.github.com/users/CS4500-AmericaSCORES/events{/privacy}","received_events_url":"https://api.github.com/users/CS4500-AmericaSCORES/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CS4500-AmericaSCORES/america-scores-backend","description":"The backend for the America SCORES data collection app.","fork":false,"url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend","forks_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/forks","keys_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/teams","hooks_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/hooks","issue_events_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/issues/events{/number}","events_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/events","assignees_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/assignees{/user}","branches_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/branches{/branch}","tags_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/tags","blobs_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/languages","stargazers_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/stargazers","contributors_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/contributors","subscribers_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/subscribers","subscription_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/subscription","commits_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/contents/{+path}","compare_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/merges","archive_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/downloads","issues_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/issues{/number}","pulls_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/labels{/name}","releases_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/releases{/id}","deployments_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/deployments","created_at":"2016-10-27T16:10:18Z","updated_at":"2016-11-03T01:00:28Z","pushed_at":"2016-11-15T01:13:36Z","git_url":"git://github.com/CS4500-AmericaSCORES/america-scores-backend.git","ssh_url":"git@github.com:CS4500-AmericaSCORES/america-scores-backend.git","clone_url":"https://github.com/CS4500-AmericaSCORES/america-scores-backend.git","svn_url":"https://github.com/CS4500-AmericaSCORES/america-scores-backend","homepage":"","size":138,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":5,"default_branch":"master"}},"base":{"label":"CS4500-AmericaSCORES:develop","ref":"develop","sha":"a0a5999343afe011776451b633fa8e1786f1bea8","user":{"login":"CS4500-AmericaSCORES","id":23103337,"avatar_url":"https://avatars.githubusercontent.com/u/23103337?v=3","gravatar_id":"","url":"https://api.github.com/users/CS4500-AmericaSCORES","html_url":"https://github.com/CS4500-AmericaSCORES","followers_url":"https://api.github.com/users/CS4500-AmericaSCORES/followers","following_url":"https://api.github.com/users/CS4500-AmericaSCORES/following{/other_user}","gists_url":"https://api.github.com/users/CS4500-AmericaSCORES/gists{/gist_id}","starred_url":"https://api.github.com/users/CS4500-AmericaSCORES/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CS4500-AmericaSCORES/subscriptions","organizations_url":"https://api.github.com/users/CS4500-AmericaSCORES/orgs","repos_url":"https://api.github.com/users/CS4500-AmericaSCORES/repos","events_url":"https://api.github.com/users/CS4500-AmericaSCORES/events{/privacy}","received_events_url":"https://api.github.com/users/CS4500-AmericaSCORES/received_events","type":"Organization","site_admin":false},"repo":{"id":72125551,"name":"america-scores-backend","full_name":"CS4500-AmericaSCORES/america-scores-backend","owner":{"login":"CS4500-AmericaSCORES","id":23103337,"avatar_url":"https://avatars.githubusercontent.com/u/23103337?v=3","gravatar_id":"","url":"https://api.github.com/users/CS4500-AmericaSCORES","html_url":"https://github.com/CS4500-AmericaSCORES","followers_url":"https://api.github.com/users/CS4500-AmericaSCORES/followers","following_url":"https://api.github.com/users/CS4500-AmericaSCORES/following{/other_user}","gists_url":"https://api.github.com/users/CS4500-AmericaSCORES/gists{/gist_id}","starred_url":"https://api.github.com/users/CS4500-AmericaSCORES/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CS4500-AmericaSCORES/subscriptions","organizations_url":"https://api.github.com/users/CS4500-AmericaSCORES/orgs","repos_url":"https://api.github.com/users/CS4500-AmericaSCORES/repos","events_url":"https://api.github.com/users/CS4500-AmericaSCORES/events{/privacy}","received_events_url":"https://api.github.com/users/CS4500-AmericaSCORES/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CS4500-AmericaSCORES/america-scores-backend","description":"The backend for the America SCORES data collection app.","fork":false,"url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend","forks_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/forks","keys_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/teams","hooks_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/hooks","issue_events_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/issues/events{/number}","events_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/events","assignees_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/assignees{/user}","branches_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/branches{/branch}","tags_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/tags","blobs_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/languages","stargazers_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/stargazers","contributors_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/contributors","subscribers_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/subscribers","subscription_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/subscription","commits_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/contents/{+path}","compare_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/merges","archive_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/downloads","issues_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/issues{/number}","pulls_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/labels{/name}","releases_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/releases{/id}","deployments_url":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/deployments","created_at":"2016-10-27T16:10:18Z","updated_at":"2016-11-03T01:00:28Z","pushed_at":"2016-11-15T01:13:36Z","git_url":"git://github.com/CS4500-AmericaSCORES/america-scores-backend.git","ssh_url":"git@github.com:CS4500-AmericaSCORES/america-scores-backend.git","clone_url":"https://github.com/CS4500-AmericaSCORES/america-scores-backend.git","svn_url":"https://github.com/CS4500-AmericaSCORES/america-scores-backend","homepage":"","size":138,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/pulls/5"},"html":{"href":"https://github.com/CS4500-AmericaSCORES/america-scores-backend/pull/5"},"issue":{"href":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/issues/5"},"comments":{"href":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/CS4500-AmericaSCORES/america-scores-backend/statuses/12d6b56f7d8601fcb4d588f1b41822fdcae06fcf"}}}}
{"actor":{"display_login":"jacquelineali"}}