{"action":"opened","number":16,"pull_request":{"url":"https://api.github.com/repos/university-network/university-network/pulls/16","id":50183919,"html_url":"https://github.com/university-network/university-network/pull/16","diff_url":"https://github.com/university-network/university-network/pull/16.diff","patch_url":"https://github.com/university-network/university-network/pull/16.patch","issue_url":"https://api.github.com/repos/university-network/university-network/issues/16","number":16,"state":"open","locked":false,"title":"Add auth middleware","user":{"login":"vlad-ostrovskyj","id":11015270,"avatar_url":"https://avatars.githubusercontent.com/u/11015270?v=3","gravatar_id":"","url":"https://api.github.com/users/vlad-ostrovskyj","html_url":"https://github.com/vlad-ostrovskyj","followers_url":"https://api.github.com/users/vlad-ostrovskyj/followers","following_url":"https://api.github.com/users/vlad-ostrovskyj/following{/other_user}","gists_url":"https://api.github.com/users/vlad-ostrovskyj/gists{/gist_id}","starred_url":"https://api.github.com/users/vlad-ostrovskyj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vlad-ostrovskyj/subscriptions","organizations_url":"https://api.github.com/users/vlad-ostrovskyj/orgs","repos_url":"https://api.github.com/users/vlad-ostrovskyj/repos","events_url":"https://api.github.com/users/vlad-ostrovskyj/events{/privacy}","received_events_url":"https://api.github.com/users/vlad-ostrovskyj/received_events","type":"User","site_admin":false},"body":"Add express middleware that validates JSON web token in `Authorization` header and sets payload to `req.user`","created_at":"2015-11-09T21:59:01Z","updated_at":"2015-11-09T21:59:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/university-network/university-network/pulls/16/commits","review_comments_url":"https://api.github.com/repos/university-network/university-network/pulls/16/comments","review_comment_url":"https://api.github.com/repos/university-network/university-network/pulls/comments{/number}","comments_url":"https://api.github.com/repos/university-network/university-network/issues/16/comments","statuses_url":"https://api.github.com/repos/university-network/university-network/statuses/d2b13ca08bf675a39d52d317284affc18c9c2308","head":{"label":"university-network:feature/auth-middleware","ref":"feature/auth-middleware","sha":"d2b13ca08bf675a39d52d317284affc18c9c2308","user":{"login":"university-network","id":15574820,"avatar_url":"https://avatars.githubusercontent.com/u/15574820?v=3","gravatar_id":"","url":"https://api.github.com/users/university-network","html_url":"https://github.com/university-network","followers_url":"https://api.github.com/users/university-network/followers","following_url":"https://api.github.com/users/university-network/following{/other_user}","gists_url":"https://api.github.com/users/university-network/gists{/gist_id}","starred_url":"https://api.github.com/users/university-network/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/university-network/subscriptions","organizations_url":"https://api.github.com/users/university-network/orgs","repos_url":"https://api.github.com/users/university-network/repos","events_url":"https://api.github.com/users/university-network/events{/privacy}","received_events_url":"https://api.github.com/users/university-network/received_events","type":"Organization","site_admin":false},"repo":{"id":44991375,"name":"university-network","full_name":"university-network/university-network","owner":{"login":"university-network","id":15574820,"avatar_url":"https://avatars.githubusercontent.com/u/15574820?v=3","gravatar_id":"","url":"https://api.github.com/users/university-network","html_url":"https://github.com/university-network","followers_url":"https://api.github.com/users/university-network/followers","following_url":"https://api.github.com/users/university-network/following{/other_user}","gists_url":"https://api.github.com/users/university-network/gists{/gist_id}","starred_url":"https://api.github.com/users/university-network/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/university-network/subscriptions","organizations_url":"https://api.github.com/users/university-network/orgs","repos_url":"https://api.github.com/users/university-network/repos","events_url":"https://api.github.com/users/university-network/events{/privacy}","received_events_url":"https://api.github.com/users/university-network/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/university-network/university-network","description":"University network","fork":false,"url":"https://api.github.com/repos/university-network/university-network","forks_url":"https://api.github.com/repos/university-network/university-network/forks","keys_url":"https://api.github.com/repos/university-network/university-network/keys{/key_id}","collaborators_url":"https://api.github.com/repos/university-network/university-network/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/university-network/university-network/teams","hooks_url":"https://api.github.com/repos/university-network/university-network/hooks","issue_events_url":"https://api.github.com/repos/university-network/university-network/issues/events{/number}","events_url":"https://api.github.com/repos/university-network/university-network/events","assignees_url":"https://api.github.com/repos/university-network/university-network/assignees{/user}","branches_url":"https://api.github.com/repos/university-network/university-network/branches{/branch}","tags_url":"https://api.github.com/repos/university-network/university-network/tags","blobs_url":"https://api.github.com/repos/university-network/university-network/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/university-network/university-network/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/university-network/university-network/git/refs{/sha}","trees_url":"https://api.github.com/repos/university-network/university-network/git/trees{/sha}","statuses_url":"https://api.github.com/repos/university-network/university-network/statuses/{sha}","languages_url":"https://api.github.com/repos/university-network/university-network/languages","stargazers_url":"https://api.github.com/repos/university-network/university-network/stargazers","contributors_url":"https://api.github.com/repos/university-network/university-network/contributors","subscribers_url":"https://api.github.com/repos/university-network/university-network/subscribers","subscription_url":"https://api.github.com/repos/university-network/university-network/subscription","commits_url":"https://api.github.com/repos/university-network/university-network/commits{/sha}","git_commits_url":"https://api.github.com/repos/university-network/university-network/git/commits{/sha}","comments_url":"https://api.github.com/repos/university-network/university-network/comments{/number}","issue_comment_url":"https://api.github.com/repos/university-network/university-network/issues/comments{/number}","contents_url":"https://api.github.com/repos/university-network/university-network/contents/{+path}","compare_url":"https://api.github.com/repos/university-network/university-network/compare/{base}...{head}","merges_url":"https://api.github.com/repos/university-network/university-network/merges","archive_url":"https://api.github.com/repos/university-network/university-network/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/university-network/university-network/downloads","issues_url":"https://api.github.com/repos/university-network/university-network/issues{/number}","pulls_url":"https://api.github.com/repos/university-network/university-network/pulls{/number}","milestones_url":"https://api.github.com/repos/university-network/university-network/milestones{/number}","notifications_url":"https://api.github.com/repos/university-network/university-network/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/university-network/university-network/labels{/name}","releases_url":"https://api.github.com/repos/university-network/university-network/releases{/id}","created_at":"2015-10-26T19:13:39Z","updated_at":"2015-11-01T21:54:02Z","pushed_at":"2015-11-09T21:54:46Z","git_url":"git://github.com/university-network/university-network.git","ssh_url":"git@github.com:university-network/university-network.git","clone_url":"https://github.com/university-network/university-network.git","svn_url":"https://github.com/university-network/university-network","homepage":"","size":1652,"stargazers_count":2,"watchers_count":2,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":2,"default_branch":"master"}},"base":{"label":"university-network:feature/mocha-tests","ref":"feature/mocha-tests","sha":"0d389ad9f87f9b7915998936129d19e3861832bf","user":{"login":"university-network","id":15574820,"avatar_url":"https://avatars.githubusercontent.com/u/15574820?v=3","gravatar_id":"","url":"https://api.github.com/users/university-network","html_url":"https://github.com/university-network","followers_url":"https://api.github.com/users/university-network/followers","following_url":"https://api.github.com/users/university-network/following{/other_user}","gists_url":"https://api.github.com/users/university-network/gists{/gist_id}","starred_url":"https://api.github.com/users/university-network/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/university-network/subscriptions","organizations_url":"https://api.github.com/users/university-network/orgs","repos_url":"https://api.github.com/users/university-network/repos","events_url":"https://api.github.com/users/university-network/events{/privacy}","received_events_url":"https://api.github.com/users/university-network/received_events","type":"Organization","site_admin":false},"repo":{"id":44991375,"name":"university-network","full_name":"university-network/university-network","owner":{"login":"university-network","id":15574820,"avatar_url":"https://avatars.githubusercontent.com/u/15574820?v=3","gravatar_id":"","url":"https://api.github.com/users/university-network","html_url":"https://github.com/university-network","followers_url":"https://api.github.com/users/university-network/followers","following_url":"https://api.github.com/users/university-network/following{/other_user}","gists_url":"https://api.github.com/users/university-network/gists{/gist_id}","starred_url":"https://api.github.com/users/university-network/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/university-network/subscriptions","organizations_url":"https://api.github.com/users/university-network/orgs","repos_url":"https://api.github.com/users/university-network/repos","events_url":"https://api.github.com/users/university-network/events{/privacy}","received_events_url":"https://api.github.com/users/university-network/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/university-network/university-network","description":"University network","fork":false,"url":"https://api.github.com/repos/university-network/university-network","forks_url":"https://api.github.com/repos/university-network/university-network/forks","keys_url":"https://api.github.com/repos/university-network/university-network/keys{/key_id}","collaborators_url":"https://api.github.com/repos/university-network/university-network/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/university-network/university-network/teams","hooks_url":"https://api.github.com/repos/university-network/university-network/hooks","issue_events_url":"https://api.github.com/repos/university-network/university-network/issues/events{/number}","events_url":"https://api.github.com/repos/university-network/university-network/events","assignees_url":"https://api.github.com/repos/university-network/university-network/assignees{/user}","branches_url":"https://api.github.com/repos/university-network/university-network/branches{/branch}","tags_url":"https://api.github.com/repos/university-network/university-network/tags","blobs_url":"https://api.github.com/repos/university-network/university-network/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/university-network/university-network/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/university-network/university-network/git/refs{/sha}","trees_url":"https://api.github.com/repos/university-network/university-network/git/trees{/sha}","statuses_url":"https://api.github.com/repos/university-network/university-network/statuses/{sha}","languages_url":"https://api.github.com/repos/university-network/university-network/languages","stargazers_url":"https://api.github.com/repos/university-network/university-network/stargazers","contributors_url":"https://api.github.com/repos/university-network/university-network/contributors","subscribers_url":"https://api.github.com/repos/university-network/university-network/subscribers","subscription_url":"https://api.github.com/repos/university-network/university-network/subscription","commits_url":"https://api.github.com/repos/university-network/university-network/commits{/sha}","git_commits_url":"https://api.github.com/repos/university-network/university-network/git/commits{/sha}","comments_url":"https://api.github.com/repos/university-network/university-network/comments{/number}","issue_comment_url":"https://api.github.com/repos/university-network/university-network/issues/comments{/number}","contents_url":"https://api.github.com/repos/university-network/university-network/contents/{+path}","compare_url":"https://api.github.com/repos/university-network/university-network/compare/{base}...{head}","merges_url":"https://api.github.com/repos/university-network/university-network/merges","archive_url":"https://api.github.com/repos/university-network/university-network/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/university-network/university-network/downloads","issues_url":"https://api.github.com/repos/university-network/university-network/issues{/number}","pulls_url":"https://api.github.com/repos/university-network/university-network/pulls{/number}","milestones_url":"https://api.github.com/repos/university-network/university-network/milestones{/number}","notifications_url":"https://api.github.com/repos/university-network/university-network/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/university-network/university-network/labels{/name}","releases_url":"https://api.github.com/repos/university-network/university-network/releases{/id}","created_at":"2015-10-26T19:13:39Z","updated_at":"2015-11-01T21:54:02Z","pushed_at":"2015-11-09T21:54:46Z","git_url":"git://github.com/university-network/university-network.git","ssh_url":"git@github.com:university-network/university-network.git","clone_url":"https://github.com/university-network/university-network.git","svn_url":"https://github.com/university-network/university-network","homepage":"","size":1652,"stargazers_count":2,"watchers_count":2,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/university-network/university-network/pulls/16"},"html":{"href":"https://github.com/university-network/university-network/pull/16"},"issue":{"href":"https://api.github.com/repos/university-network/university-network/issues/16"},"comments":{"href":"https://api.github.com/repos/university-network/university-network/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/university-network/university-network/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/university-network/university-network/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/university-network/university-network/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/university-network/university-network/statuses/d2b13ca08bf675a39d52d317284affc18c9c2308"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":35,"deletions":1,"changed_files":2}}