{"action":"opened","number":51,"pull_request":{"url":"https://api.github.com/repos/andela/ah-sealteam/pulls/51","id":239751913,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5NzUxOTEz","html_url":"https://github.com/andela/ah-sealteam/pull/51","diff_url":"https://github.com/andela/ah-sealteam/pull/51.diff","patch_url":"https://github.com/andela/ah-sealteam/pull/51.patch","issue_url":"https://api.github.com/repos/andela/ah-sealteam/issues/51","number":51,"state":"open","locked":false,"title":"[ch #162752831] Refactored notifications response","user":{"login":"rickynyairo","id":20772882,"node_id":"MDQ6VXNlcjIwNzcyODgy","avatar_url":"https://avatars0.githubusercontent.com/u/20772882?v=4","gravatar_id":"","url":"https://api.github.com/users/rickynyairo","html_url":"https://github.com/rickynyairo","followers_url":"https://api.github.com/users/rickynyairo/followers","following_url":"https://api.github.com/users/rickynyairo/following{/other_user}","gists_url":"https://api.github.com/users/rickynyairo/gists{/gist_id}","starred_url":"https://api.github.com/users/rickynyairo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rickynyairo/subscriptions","organizations_url":"https://api.github.com/users/rickynyairo/orgs","repos_url":"https://api.github.com/users/rickynyairo/repos","events_url":"https://api.github.com/users/rickynyairo/events{/privacy}","received_events_url":"https://api.github.com/users/rickynyairo/received_events","type":"User","site_admin":false},"body":"## What does this PR do\r\n\r\nChanges the notifications response to include a **resource url** that points to where the user can locate the particular notification. \r\nThe \r\nURL uses the frontend domain so that users will be directed to the frontend.\r\n\r\n## Screenshots\r\n<img width=\"674\" alt=\"screenshot 2018-12-19 at 11 36 43\" src=\"https://user-images.githubusercontent.com/20772882/50208606-aaf00800-0382-11e9-897f-19c00d620694.png\">\r\n","created_at":"2018-12-19T08:39:17Z","updated_at":"2018-12-19T08:39:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela/ah-sealteam/pulls/51/commits","review_comments_url":"https://api.github.com/repos/andela/ah-sealteam/pulls/51/comments","review_comment_url":"https://api.github.com/repos/andela/ah-sealteam/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/ah-sealteam/issues/51/comments","statuses_url":"https://api.github.com/repos/andela/ah-sealteam/statuses/3e889ecc721f2f2e2d37ca1fbbf392ea13cd1e3d","head":{"label":"andela:ch-refactor-notifications-response-162752831","ref":"ch-refactor-notifications-response-162752831","sha":"3e889ecc721f2f2e2d37ca1fbbf392ea13cd1e3d","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":153309417,"node_id":"MDEwOlJlcG9zaXRvcnkxNTMzMDk0MTc=","name":"ah-sealteam","full_name":"andela/ah-sealteam","private":false,"owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/andela/ah-sealteam","description":null,"fork":false,"url":"https://api.github.com/repos/andela/ah-sealteam","forks_url":"https://api.github.com/repos/andela/ah-sealteam/forks","keys_url":"https://api.github.com/repos/andela/ah-sealteam/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/ah-sealteam/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/ah-sealteam/teams","hooks_url":"https://api.github.com/repos/andela/ah-sealteam/hooks","issue_events_url":"https://api.github.com/repos/andela/ah-sealteam/issues/events{/number}","events_url":"https://api.github.com/repos/andela/ah-sealteam/events","assignees_url":"https://api.github.com/repos/andela/ah-sealteam/assignees{/user}","branches_url":"https://api.github.com/repos/andela/ah-sealteam/branches{/branch}","tags_url":"https://api.github.com/repos/andela/ah-sealteam/tags","blobs_url":"https://api.github.com/repos/andela/ah-sealteam/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/ah-sealteam/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/ah-sealteam/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/ah-sealteam/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/ah-sealteam/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/ah-sealteam/languages","stargazers_url":"https://api.github.com/repos/andela/ah-sealteam/stargazers","contributors_url":"https://api.github.com/repos/andela/ah-sealteam/contributors","subscribers_url":"https://api.github.com/repos/andela/ah-sealteam/subscribers","subscription_url":"https://api.github.com/repos/andela/ah-sealteam/subscription","commits_url":"https://api.github.com/repos/andela/ah-sealteam/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/ah-sealteam/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/ah-sealteam/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/ah-sealteam/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/ah-sealteam/contents/{+path}","compare_url":"https://api.github.com/repos/andela/ah-sealteam/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/ah-sealteam/merges","archive_url":"https://api.github.com/repos/andela/ah-sealteam/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/ah-sealteam/downloads","issues_url":"https://api.github.com/repos/andela/ah-sealteam/issues{/number}","pulls_url":"https://api.github.com/repos/andela/ah-sealteam/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/ah-sealteam/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/ah-sealteam/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/ah-sealteam/labels{/name}","releases_url":"https://api.github.com/repos/andela/ah-sealteam/releases{/id}","deployments_url":"https://api.github.com/repos/andela/ah-sealteam/deployments","created_at":"2018-10-16T15:29:21Z","updated_at":"2018-12-17T15:34:58Z","pushed_at":"2018-12-19T08:37:26Z","git_url":"git://github.com/andela/ah-sealteam.git","ssh_url":"git@github.com:andela/ah-sealteam.git","clone_url":"https://github.com/andela/ah-sealteam.git","svn_url":"https://github.com/andela/ah-sealteam","homepage":null,"size":340,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"andela:develop","ref":"develop","sha":"b2f08d64ad1cc5c6f811198586e932a18cf5529e","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":153309417,"node_id":"MDEwOlJlcG9zaXRvcnkxNTMzMDk0MTc=","name":"ah-sealteam","full_name":"andela/ah-sealteam","private":false,"owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/andela/ah-sealteam","description":null,"fork":false,"url":"https://api.github.com/repos/andela/ah-sealteam","forks_url":"https://api.github.com/repos/andela/ah-sealteam/forks","keys_url":"https://api.github.com/repos/andela/ah-sealteam/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/ah-sealteam/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/ah-sealteam/teams","hooks_url":"https://api.github.com/repos/andela/ah-sealteam/hooks","issue_events_url":"https://api.github.com/repos/andela/ah-sealteam/issues/events{/number}","events_url":"https://api.github.com/repos/andela/ah-sealteam/events","assignees_url":"https://api.github.com/repos/andela/ah-sealteam/assignees{/user}","branches_url":"https://api.github.com/repos/andela/ah-sealteam/branches{/branch}","tags_url":"https://api.github.com/repos/andela/ah-sealteam/tags","blobs_url":"https://api.github.com/repos/andela/ah-sealteam/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/ah-sealteam/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/ah-sealteam/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/ah-sealteam/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/ah-sealteam/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/ah-sealteam/languages","stargazers_url":"https://api.github.com/repos/andela/ah-sealteam/stargazers","contributors_url":"https://api.github.com/repos/andela/ah-sealteam/contributors","subscribers_url":"https://api.github.com/repos/andela/ah-sealteam/subscribers","subscription_url":"https://api.github.com/repos/andela/ah-sealteam/subscription","commits_url":"https://api.github.com/repos/andela/ah-sealteam/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/ah-sealteam/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/ah-sealteam/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/ah-sealteam/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/ah-sealteam/contents/{+path}","compare_url":"https://api.github.com/repos/andela/ah-sealteam/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/ah-sealteam/merges","archive_url":"https://api.github.com/repos/andela/ah-sealteam/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/ah-sealteam/downloads","issues_url":"https://api.github.com/repos/andela/ah-sealteam/issues{/number}","pulls_url":"https://api.github.com/repos/andela/ah-sealteam/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/ah-sealteam/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/ah-sealteam/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/ah-sealteam/labels{/name}","releases_url":"https://api.github.com/repos/andela/ah-sealteam/releases{/id}","deployments_url":"https://api.github.com/repos/andela/ah-sealteam/deployments","created_at":"2018-10-16T15:29:21Z","updated_at":"2018-12-17T15:34:58Z","pushed_at":"2018-12-19T08:37:26Z","git_url":"git://github.com/andela/ah-sealteam.git","ssh_url":"git@github.com:andela/ah-sealteam.git","clone_url":"https://github.com/andela/ah-sealteam.git","svn_url":"https://github.com/andela/ah-sealteam","homepage":null,"size":340,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/ah-sealteam/pulls/51"},"html":{"href":"https://github.com/andela/ah-sealteam/pull/51"},"issue":{"href":"https://api.github.com/repos/andela/ah-sealteam/issues/51"},"comments":{"href":"https://api.github.com/repos/andela/ah-sealteam/issues/51/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/ah-sealteam/pulls/51/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/ah-sealteam/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/ah-sealteam/pulls/51/commits"},"statuses":{"href":"https://api.github.com/repos/andela/ah-sealteam/statuses/3e889ecc721f2f2e2d37ca1fbbf392ea13cd1e3d"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":19,"deletions":100,"changed_files":7}}
{"actor":{"display_login":"rickynyairo"}}