{"action":"created","comment":{"url":"https://api.github.com/repos/pagine/AssignmentsV2/pulls/comments/123528978","pull_request_review_id":45741641,"id":123528978,"diff_hunk":"@@ -0,0 +1,11 @@\n+import bodyParser from 'body-parser';\n+import initRoutes from '../app/routes/campaignRoute';\n+import express from 'express';\n+\n+export function init() {\n+  let app = express();\n+  let routes = initRoutes();\n+  app.use(bodyParser.json());\n+  app.use('/campaigns', routes);","path":"lib/express.js","position":9,"original_position":9,"commit_id":"d94aaf680eab2487e86d5d94515ccc3ae74e2013","original_commit_id":"d94aaf680eab2487e86d5d94515ccc3ae74e2013","user":{"login":"devanshutechracers","id":29250159,"avatar_url":"https://avatars1.githubusercontent.com/u/29250159?v=3","gravatar_id":"","url":"https://api.github.com/users/devanshutechracers","html_url":"https://github.com/devanshutechracers","followers_url":"https://api.github.com/users/devanshutechracers/followers","following_url":"https://api.github.com/users/devanshutechracers/following{/other_user}","gists_url":"https://api.github.com/users/devanshutechracers/gists{/gist_id}","starred_url":"https://api.github.com/users/devanshutechracers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devanshutechracers/subscriptions","organizations_url":"https://api.github.com/users/devanshutechracers/orgs","repos_url":"https://api.github.com/users/devanshutechracers/repos","events_url":"https://api.github.com/users/devanshutechracers/events{/privacy}","received_events_url":"https://api.github.com/users/devanshutechracers/received_events","type":"User","site_admin":false},"body":"Is this a Route or a middleware?","created_at":"2017-06-22T14:39:48Z","updated_at":"2017-06-22T14:39:48Z","html_url":"https://github.com/pagine/AssignmentsV2/pull/1#discussion_r123528978","pull_request_url":"https://api.github.com/repos/pagine/AssignmentsV2/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/pagine/AssignmentsV2/pulls/comments/123528978"},"html":{"href":"https://github.com/pagine/AssignmentsV2/pull/1#discussion_r123528978"},"pull_request":{"href":"https://api.github.com/repos/pagine/AssignmentsV2/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/pagine/AssignmentsV2/pulls/1","id":126570548,"html_url":"https://github.com/pagine/AssignmentsV2/pull/1","diff_url":"https://github.com/pagine/AssignmentsV2/pull/1.diff","patch_url":"https://github.com/pagine/AssignmentsV2/pull/1.patch","issue_url":"https://api.github.com/repos/pagine/AssignmentsV2/issues/1","number":1,"state":"open","locked":false,"title":"Adding code for REST API assignment","user":{"login":"pagine","id":29573402,"avatar_url":"https://avatars0.githubusercontent.com/u/29573402?v=3","gravatar_id":"","url":"https://api.github.com/users/pagine","html_url":"https://github.com/pagine","followers_url":"https://api.github.com/users/pagine/followers","following_url":"https://api.github.com/users/pagine/following{/other_user}","gists_url":"https://api.github.com/users/pagine/gists{/gist_id}","starred_url":"https://api.github.com/users/pagine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pagine/subscriptions","organizations_url":"https://api.github.com/users/pagine/orgs","repos_url":"https://api.github.com/users/pagine/repos","events_url":"https://api.github.com/users/pagine/events{/privacy}","received_events_url":"https://api.github.com/users/pagine/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-06-20T16:01:49Z","updated_at":"2017-06-22T14:39:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"90967f75d000405d8962f1f5cfa2e72ac95ad8a0","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/pagine/AssignmentsV2/pulls/1/commits","review_comments_url":"https://api.github.com/repos/pagine/AssignmentsV2/pulls/1/comments","review_comment_url":"https://api.github.com/repos/pagine/AssignmentsV2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pagine/AssignmentsV2/issues/1/comments","statuses_url":"https://api.github.com/repos/pagine/AssignmentsV2/statuses/d94aaf680eab2487e86d5d94515ccc3ae74e2013","head":{"label":"pagine:nodejs","ref":"nodejs","sha":"d94aaf680eab2487e86d5d94515ccc3ae74e2013","user":{"login":"pagine","id":29573402,"avatar_url":"https://avatars0.githubusercontent.com/u/29573402?v=3","gravatar_id":"","url":"https://api.github.com/users/pagine","html_url":"https://github.com/pagine","followers_url":"https://api.github.com/users/pagine/followers","following_url":"https://api.github.com/users/pagine/following{/other_user}","gists_url":"https://api.github.com/users/pagine/gists{/gist_id}","starred_url":"https://api.github.com/users/pagine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pagine/subscriptions","organizations_url":"https://api.github.com/users/pagine/orgs","repos_url":"https://api.github.com/users/pagine/repos","events_url":"https://api.github.com/users/pagine/events{/privacy}","received_events_url":"https://api.github.com/users/pagine/received_events","type":"User","site_admin":false},"repo":{"id":94909015,"name":"AssignmentsV2","full_name":"pagine/AssignmentsV2","owner":{"login":"pagine","id":29573402,"avatar_url":"https://avatars0.githubusercontent.com/u/29573402?v=3","gravatar_id":"","url":"https://api.github.com/users/pagine","html_url":"https://github.com/pagine","followers_url":"https://api.github.com/users/pagine/followers","following_url":"https://api.github.com/users/pagine/following{/other_user}","gists_url":"https://api.github.com/users/pagine/gists{/gist_id}","starred_url":"https://api.github.com/users/pagine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pagine/subscriptions","organizations_url":"https://api.github.com/users/pagine/orgs","repos_url":"https://api.github.com/users/pagine/repos","events_url":"https://api.github.com/users/pagine/events{/privacy}","received_events_url":"https://api.github.com/users/pagine/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pagine/AssignmentsV2","description":null,"fork":false,"url":"https://api.github.com/repos/pagine/AssignmentsV2","forks_url":"https://api.github.com/repos/pagine/AssignmentsV2/forks","keys_url":"https://api.github.com/repos/pagine/AssignmentsV2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pagine/AssignmentsV2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pagine/AssignmentsV2/teams","hooks_url":"https://api.github.com/repos/pagine/AssignmentsV2/hooks","issue_events_url":"https://api.github.com/repos/pagine/AssignmentsV2/issues/events{/number}","events_url":"https://api.github.com/repos/pagine/AssignmentsV2/events","assignees_url":"https://api.github.com/repos/pagine/AssignmentsV2/assignees{/user}","branches_url":"https://api.github.com/repos/pagine/AssignmentsV2/branches{/branch}","tags_url":"https://api.github.com/repos/pagine/AssignmentsV2/tags","blobs_url":"https://api.github.com/repos/pagine/AssignmentsV2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pagine/AssignmentsV2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pagine/AssignmentsV2/git/refs{/sha}","trees_url":"https://api.github.com/repos/pagine/AssignmentsV2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pagine/AssignmentsV2/statuses/{sha}","languages_url":"https://api.github.com/repos/pagine/AssignmentsV2/languages","stargazers_url":"https://api.github.com/repos/pagine/AssignmentsV2/stargazers","contributors_url":"https://api.github.com/repos/pagine/AssignmentsV2/contributors","subscribers_url":"https://api.github.com/repos/pagine/AssignmentsV2/subscribers","subscription_url":"https://api.github.com/repos/pagine/AssignmentsV2/subscription","commits_url":"https://api.github.com/repos/pagine/AssignmentsV2/commits{/sha}","git_commits_url":"https://api.github.com/repos/pagine/AssignmentsV2/git/commits{/sha}","comments_url":"https://api.github.com/repos/pagine/AssignmentsV2/comments{/number}","issue_comment_url":"https://api.github.com/repos/pagine/AssignmentsV2/issues/comments{/number}","contents_url":"https://api.github.com/repos/pagine/AssignmentsV2/contents/{+path}","compare_url":"https://api.github.com/repos/pagine/AssignmentsV2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pagine/AssignmentsV2/merges","archive_url":"https://api.github.com/repos/pagine/AssignmentsV2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pagine/AssignmentsV2/downloads","issues_url":"https://api.github.com/repos/pagine/AssignmentsV2/issues{/number}","pulls_url":"https://api.github.com/repos/pagine/AssignmentsV2/pulls{/number}","milestones_url":"https://api.github.com/repos/pagine/AssignmentsV2/milestones{/number}","notifications_url":"https://api.github.com/repos/pagine/AssignmentsV2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pagine/AssignmentsV2/labels{/name}","releases_url":"https://api.github.com/repos/pagine/AssignmentsV2/releases{/id}","deployments_url":"https://api.github.com/repos/pagine/AssignmentsV2/deployments","created_at":"2017-06-20T15:50:43Z","updated_at":"2017-06-20T15:50:43Z","pushed_at":"2017-06-22T14:30:40Z","git_url":"git://github.com/pagine/AssignmentsV2.git","ssh_url":"git@github.com:pagine/AssignmentsV2.git","clone_url":"https://github.com/pagine/AssignmentsV2.git","svn_url":"https://github.com/pagine/AssignmentsV2","homepage":null,"size":4,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"pagine:master","ref":"master","sha":"1ecdb560ec2f419b00b92744037f30421b07fccb","user":{"login":"pagine","id":29573402,"avatar_url":"https://avatars0.githubusercontent.com/u/29573402?v=3","gravatar_id":"","url":"https://api.github.com/users/pagine","html_url":"https://github.com/pagine","followers_url":"https://api.github.com/users/pagine/followers","following_url":"https://api.github.com/users/pagine/following{/other_user}","gists_url":"https://api.github.com/users/pagine/gists{/gist_id}","starred_url":"https://api.github.com/users/pagine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pagine/subscriptions","organizations_url":"https://api.github.com/users/pagine/orgs","repos_url":"https://api.github.com/users/pagine/repos","events_url":"https://api.github.com/users/pagine/events{/privacy}","received_events_url":"https://api.github.com/users/pagine/received_events","type":"User","site_admin":false},"repo":{"id":94909015,"name":"AssignmentsV2","full_name":"pagine/AssignmentsV2","owner":{"login":"pagine","id":29573402,"avatar_url":"https://avatars0.githubusercontent.com/u/29573402?v=3","gravatar_id":"","url":"https://api.github.com/users/pagine","html_url":"https://github.com/pagine","followers_url":"https://api.github.com/users/pagine/followers","following_url":"https://api.github.com/users/pagine/following{/other_user}","gists_url":"https://api.github.com/users/pagine/gists{/gist_id}","starred_url":"https://api.github.com/users/pagine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pagine/subscriptions","organizations_url":"https://api.github.com/users/pagine/orgs","repos_url":"https://api.github.com/users/pagine/repos","events_url":"https://api.github.com/users/pagine/events{/privacy}","received_events_url":"https://api.github.com/users/pagine/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pagine/AssignmentsV2","description":null,"fork":false,"url":"https://api.github.com/repos/pagine/AssignmentsV2","forks_url":"https://api.github.com/repos/pagine/AssignmentsV2/forks","keys_url":"https://api.github.com/repos/pagine/AssignmentsV2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pagine/AssignmentsV2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pagine/AssignmentsV2/teams","hooks_url":"https://api.github.com/repos/pagine/AssignmentsV2/hooks","issue_events_url":"https://api.github.com/repos/pagine/AssignmentsV2/issues/events{/number}","events_url":"https://api.github.com/repos/pagine/AssignmentsV2/events","assignees_url":"https://api.github.com/repos/pagine/AssignmentsV2/assignees{/user}","branches_url":"https://api.github.com/repos/pagine/AssignmentsV2/branches{/branch}","tags_url":"https://api.github.com/repos/pagine/AssignmentsV2/tags","blobs_url":"https://api.github.com/repos/pagine/AssignmentsV2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pagine/AssignmentsV2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pagine/AssignmentsV2/git/refs{/sha}","trees_url":"https://api.github.com/repos/pagine/AssignmentsV2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pagine/AssignmentsV2/statuses/{sha}","languages_url":"https://api.github.com/repos/pagine/AssignmentsV2/languages","stargazers_url":"https://api.github.com/repos/pagine/AssignmentsV2/stargazers","contributors_url":"https://api.github.com/repos/pagine/AssignmentsV2/contributors","subscribers_url":"https://api.github.com/repos/pagine/AssignmentsV2/subscribers","subscription_url":"https://api.github.com/repos/pagine/AssignmentsV2/subscription","commits_url":"https://api.github.com/repos/pagine/AssignmentsV2/commits{/sha}","git_commits_url":"https://api.github.com/repos/pagine/AssignmentsV2/git/commits{/sha}","comments_url":"https://api.github.com/repos/pagine/AssignmentsV2/comments{/number}","issue_comment_url":"https://api.github.com/repos/pagine/AssignmentsV2/issues/comments{/number}","contents_url":"https://api.github.com/repos/pagine/AssignmentsV2/contents/{+path}","compare_url":"https://api.github.com/repos/pagine/AssignmentsV2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pagine/AssignmentsV2/merges","archive_url":"https://api.github.com/repos/pagine/AssignmentsV2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pagine/AssignmentsV2/downloads","issues_url":"https://api.github.com/repos/pagine/AssignmentsV2/issues{/number}","pulls_url":"https://api.github.com/repos/pagine/AssignmentsV2/pulls{/number}","milestones_url":"https://api.github.com/repos/pagine/AssignmentsV2/milestones{/number}","notifications_url":"https://api.github.com/repos/pagine/AssignmentsV2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pagine/AssignmentsV2/labels{/name}","releases_url":"https://api.github.com/repos/pagine/AssignmentsV2/releases{/id}","deployments_url":"https://api.github.com/repos/pagine/AssignmentsV2/deployments","created_at":"2017-06-20T15:50:43Z","updated_at":"2017-06-20T15:50:43Z","pushed_at":"2017-06-22T14:30:40Z","git_url":"git://github.com/pagine/AssignmentsV2.git","ssh_url":"git@github.com:pagine/AssignmentsV2.git","clone_url":"https://github.com/pagine/AssignmentsV2.git","svn_url":"https://github.com/pagine/AssignmentsV2","homepage":null,"size":4,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pagine/AssignmentsV2/pulls/1"},"html":{"href":"https://github.com/pagine/AssignmentsV2/pull/1"},"issue":{"href":"https://api.github.com/repos/pagine/AssignmentsV2/issues/1"},"comments":{"href":"https://api.github.com/repos/pagine/AssignmentsV2/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/pagine/AssignmentsV2/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/pagine/AssignmentsV2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pagine/AssignmentsV2/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/pagine/AssignmentsV2/statuses/d94aaf680eab2487e86d5d94515ccc3ae74e2013"}}}}
{"actor":{"display_login":"devanshutechracers"}}