{"action":"closed","number":5639,"pull_request":{"url":"https://api.github.com/repos/TryGhost/Ghost/pulls/5639","id":41863483,"html_url":"https://github.com/TryGhost/Ghost/pull/5639","diff_url":"https://github.com/TryGhost/Ghost/pull/5639.diff","patch_url":"https://github.com/TryGhost/Ghost/pull/5639.patch","issue_url":"https://api.github.com/repos/TryGhost/Ghost/issues/5639","number":5639,"state":"closed","locked":false,"title":"Apply pipeline to notifications API endpoints","user":{"login":"acburdine","id":5167581,"avatar_url":"https://avatars.githubusercontent.com/u/5167581?v=3","gravatar_id":"","url":"https://api.github.com/users/acburdine","html_url":"https://github.com/acburdine","followers_url":"https://api.github.com/users/acburdine/followers","following_url":"https://api.github.com/users/acburdine/following{/other_user}","gists_url":"https://api.github.com/users/acburdine/gists{/gist_id}","starred_url":"https://api.github.com/users/acburdine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acburdine/subscriptions","organizations_url":"https://api.github.com/users/acburdine/orgs","repos_url":"https://api.github.com/users/acburdine/repos","events_url":"https://api.github.com/users/acburdine/events{/privacy}","received_events_url":"https://api.github.com/users/acburdine/received_events","type":"User","site_admin":false},"body":"refs #5508\r\n- adds pipeline to the add and destroy methods of the notifications api\r\n\r\n@ErisDS it seemed to me that the `browse` and `destroyAll` methods were simple enough/had nothing beyond a simple permissions check that adding pipeline to them would unnecessarily add code.","created_at":"2015-08-07T06:36:19Z","updated_at":"2015-08-10T16:41:28Z","closed_at":"2015-08-10T16:41:28Z","merged_at":"2015-08-10T16:41:28Z","merge_commit_sha":"aecf5bcb7e3016b2cfc6c1fe515f3edec9dcadb4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/TryGhost/Ghost/pulls/5639/commits","review_comments_url":"https://api.github.com/repos/TryGhost/Ghost/pulls/5639/comments","review_comment_url":"https://api.github.com/repos/TryGhost/Ghost/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TryGhost/Ghost/issues/5639/comments","statuses_url":"https://api.github.com/repos/TryGhost/Ghost/statuses/392cb0038cbea9d0a2fde73ed8e1254ed4a9c74c","head":{"label":"acburdine:notifications-pipeline","ref":"notifications-pipeline","sha":"392cb0038cbea9d0a2fde73ed8e1254ed4a9c74c","user":{"login":"acburdine","id":5167581,"avatar_url":"https://avatars.githubusercontent.com/u/5167581?v=3","gravatar_id":"","url":"https://api.github.com/users/acburdine","html_url":"https://github.com/acburdine","followers_url":"https://api.github.com/users/acburdine/followers","following_url":"https://api.github.com/users/acburdine/following{/other_user}","gists_url":"https://api.github.com/users/acburdine/gists{/gist_id}","starred_url":"https://api.github.com/users/acburdine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acburdine/subscriptions","organizations_url":"https://api.github.com/users/acburdine/orgs","repos_url":"https://api.github.com/users/acburdine/repos","events_url":"https://api.github.com/users/acburdine/events{/privacy}","received_events_url":"https://api.github.com/users/acburdine/received_events","type":"User","site_admin":false},"repo":{"id":32867877,"name":"Ghost","full_name":"acburdine/Ghost","owner":{"login":"acburdine","id":5167581,"avatar_url":"https://avatars.githubusercontent.com/u/5167581?v=3","gravatar_id":"","url":"https://api.github.com/users/acburdine","html_url":"https://github.com/acburdine","followers_url":"https://api.github.com/users/acburdine/followers","following_url":"https://api.github.com/users/acburdine/following{/other_user}","gists_url":"https://api.github.com/users/acburdine/gists{/gist_id}","starred_url":"https://api.github.com/users/acburdine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acburdine/subscriptions","organizations_url":"https://api.github.com/users/acburdine/orgs","repos_url":"https://api.github.com/users/acburdine/repos","events_url":"https://api.github.com/users/acburdine/events{/privacy}","received_events_url":"https://api.github.com/users/acburdine/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/acburdine/Ghost","description":"Just a blogging platform","fork":true,"url":"https://api.github.com/repos/acburdine/Ghost","forks_url":"https://api.github.com/repos/acburdine/Ghost/forks","keys_url":"https://api.github.com/repos/acburdine/Ghost/keys{/key_id}","collaborators_url":"https://api.github.com/repos/acburdine/Ghost/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/acburdine/Ghost/teams","hooks_url":"https://api.github.com/repos/acburdine/Ghost/hooks","issue_events_url":"https://api.github.com/repos/acburdine/Ghost/issues/events{/number}","events_url":"https://api.github.com/repos/acburdine/Ghost/events","assignees_url":"https://api.github.com/repos/acburdine/Ghost/assignees{/user}","branches_url":"https://api.github.com/repos/acburdine/Ghost/branches{/branch}","tags_url":"https://api.github.com/repos/acburdine/Ghost/tags","blobs_url":"https://api.github.com/repos/acburdine/Ghost/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/acburdine/Ghost/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/acburdine/Ghost/git/refs{/sha}","trees_url":"https://api.github.com/repos/acburdine/Ghost/git/trees{/sha}","statuses_url":"https://api.github.com/repos/acburdine/Ghost/statuses/{sha}","languages_url":"https://api.github.com/repos/acburdine/Ghost/languages","stargazers_url":"https://api.github.com/repos/acburdine/Ghost/stargazers","contributors_url":"https://api.github.com/repos/acburdine/Ghost/contributors","subscribers_url":"https://api.github.com/repos/acburdine/Ghost/subscribers","subscription_url":"https://api.github.com/repos/acburdine/Ghost/subscription","commits_url":"https://api.github.com/repos/acburdine/Ghost/commits{/sha}","git_commits_url":"https://api.github.com/repos/acburdine/Ghost/git/commits{/sha}","comments_url":"https://api.github.com/repos/acburdine/Ghost/comments{/number}","issue_comment_url":"https://api.github.com/repos/acburdine/Ghost/issues/comments{/number}","contents_url":"https://api.github.com/repos/acburdine/Ghost/contents/{+path}","compare_url":"https://api.github.com/repos/acburdine/Ghost/compare/{base}...{head}","merges_url":"https://api.github.com/repos/acburdine/Ghost/merges","archive_url":"https://api.github.com/repos/acburdine/Ghost/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/acburdine/Ghost/downloads","issues_url":"https://api.github.com/repos/acburdine/Ghost/issues{/number}","pulls_url":"https://api.github.com/repos/acburdine/Ghost/pulls{/number}","milestones_url":"https://api.github.com/repos/acburdine/Ghost/milestones{/number}","notifications_url":"https://api.github.com/repos/acburdine/Ghost/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/acburdine/Ghost/labels{/name}","releases_url":"https://api.github.com/repos/acburdine/Ghost/releases{/id}","created_at":"2015-03-25T13:58:25Z","updated_at":"2015-05-05T03:03:49Z","pushed_at":"2015-08-10T15:44:03Z","git_url":"git://github.com/acburdine/Ghost.git","ssh_url":"git@github.com:acburdine/Ghost.git","clone_url":"https://github.com/acburdine/Ghost.git","svn_url":"https://github.com/acburdine/Ghost","homepage":"https://ghost.org","size":18252,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"TryGhost:master","ref":"master","sha":"0f954f385d9b7eb3a56b9ed38eaec983fdc5d0ae","user":{"login":"TryGhost","id":2178663,"avatar_url":"https://avatars.githubusercontent.com/u/2178663?v=3","gravatar_id":"","url":"https://api.github.com/users/TryGhost","html_url":"https://github.com/TryGhost","followers_url":"https://api.github.com/users/TryGhost/followers","following_url":"https://api.github.com/users/TryGhost/following{/other_user}","gists_url":"https://api.github.com/users/TryGhost/gists{/gist_id}","starred_url":"https://api.github.com/users/TryGhost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TryGhost/subscriptions","organizations_url":"https://api.github.com/users/TryGhost/orgs","repos_url":"https://api.github.com/users/TryGhost/repos","events_url":"https://api.github.com/users/TryGhost/events{/privacy}","received_events_url":"https://api.github.com/users/TryGhost/received_events","type":"Organization","site_admin":false},"repo":{"id":9852918,"name":"Ghost","full_name":"TryGhost/Ghost","owner":{"login":"TryGhost","id":2178663,"avatar_url":"https://avatars.githubusercontent.com/u/2178663?v=3","gravatar_id":"","url":"https://api.github.com/users/TryGhost","html_url":"https://github.com/TryGhost","followers_url":"https://api.github.com/users/TryGhost/followers","following_url":"https://api.github.com/users/TryGhost/following{/other_user}","gists_url":"https://api.github.com/users/TryGhost/gists{/gist_id}","starred_url":"https://api.github.com/users/TryGhost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TryGhost/subscriptions","organizations_url":"https://api.github.com/users/TryGhost/orgs","repos_url":"https://api.github.com/users/TryGhost/repos","events_url":"https://api.github.com/users/TryGhost/events{/privacy}","received_events_url":"https://api.github.com/users/TryGhost/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TryGhost/Ghost","description":"Just a blogging platform","fork":false,"url":"https://api.github.com/repos/TryGhost/Ghost","forks_url":"https://api.github.com/repos/TryGhost/Ghost/forks","keys_url":"https://api.github.com/repos/TryGhost/Ghost/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TryGhost/Ghost/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TryGhost/Ghost/teams","hooks_url":"https://api.github.com/repos/TryGhost/Ghost/hooks","issue_events_url":"https://api.github.com/repos/TryGhost/Ghost/issues/events{/number}","events_url":"https://api.github.com/repos/TryGhost/Ghost/events","assignees_url":"https://api.github.com/repos/TryGhost/Ghost/assignees{/user}","branches_url":"https://api.github.com/repos/TryGhost/Ghost/branches{/branch}","tags_url":"https://api.github.com/repos/TryGhost/Ghost/tags","blobs_url":"https://api.github.com/repos/TryGhost/Ghost/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TryGhost/Ghost/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TryGhost/Ghost/git/refs{/sha}","trees_url":"https://api.github.com/repos/TryGhost/Ghost/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TryGhost/Ghost/statuses/{sha}","languages_url":"https://api.github.com/repos/TryGhost/Ghost/languages","stargazers_url":"https://api.github.com/repos/TryGhost/Ghost/stargazers","contributors_url":"https://api.github.com/repos/TryGhost/Ghost/contributors","subscribers_url":"https://api.github.com/repos/TryGhost/Ghost/subscribers","subscription_url":"https://api.github.com/repos/TryGhost/Ghost/subscription","commits_url":"https://api.github.com/repos/TryGhost/Ghost/commits{/sha}","git_commits_url":"https://api.github.com/repos/TryGhost/Ghost/git/commits{/sha}","comments_url":"https://api.github.com/repos/TryGhost/Ghost/comments{/number}","issue_comment_url":"https://api.github.com/repos/TryGhost/Ghost/issues/comments{/number}","contents_url":"https://api.github.com/repos/TryGhost/Ghost/contents/{+path}","compare_url":"https://api.github.com/repos/TryGhost/Ghost/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TryGhost/Ghost/merges","archive_url":"https://api.github.com/repos/TryGhost/Ghost/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TryGhost/Ghost/downloads","issues_url":"https://api.github.com/repos/TryGhost/Ghost/issues{/number}","pulls_url":"https://api.github.com/repos/TryGhost/Ghost/pulls{/number}","milestones_url":"https://api.github.com/repos/TryGhost/Ghost/milestones{/number}","notifications_url":"https://api.github.com/repos/TryGhost/Ghost/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TryGhost/Ghost/labels{/name}","releases_url":"https://api.github.com/repos/TryGhost/Ghost/releases{/id}","created_at":"2013-05-04T11:09:13Z","updated_at":"2015-08-10T14:35:19Z","pushed_at":"2015-08-10T16:41:28Z","git_url":"git://github.com/TryGhost/Ghost.git","ssh_url":"git@github.com:TryGhost/Ghost.git","clone_url":"https://github.com/TryGhost/Ghost.git","svn_url":"https://github.com/TryGhost/Ghost","homepage":"https://ghost.org","size":65415,"stargazers_count":16161,"watchers_count":16161,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3863,"mirror_url":null,"open_issues_count":210,"forks":3863,"open_issues":210,"watchers":16161,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TryGhost/Ghost/pulls/5639"},"html":{"href":"https://github.com/TryGhost/Ghost/pull/5639"},"issue":{"href":"https://api.github.com/repos/TryGhost/Ghost/issues/5639"},"comments":{"href":"https://api.github.com/repos/TryGhost/Ghost/issues/5639/comments"},"review_comments":{"href":"https://api.github.com/repos/TryGhost/Ghost/pulls/5639/comments"},"review_comment":{"href":"https://api.github.com/repos/TryGhost/Ghost/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TryGhost/Ghost/pulls/5639/commits"},"statuses":{"href":"https://api.github.com/repos/TryGhost/Ghost/statuses/392cb0038cbea9d0a2fde73ed8e1254ed4a9c74c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ErisDS","id":101513,"avatar_url":"https://avatars.githubusercontent.com/u/101513?v=3","gravatar_id":"","url":"https://api.github.com/users/ErisDS","html_url":"https://github.com/ErisDS","followers_url":"https://api.github.com/users/ErisDS/followers","following_url":"https://api.github.com/users/ErisDS/following{/other_user}","gists_url":"https://api.github.com/users/ErisDS/gists{/gist_id}","starred_url":"https://api.github.com/users/ErisDS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ErisDS/subscriptions","organizations_url":"https://api.github.com/users/ErisDS/orgs","repos_url":"https://api.github.com/users/ErisDS/repos","events_url":"https://api.github.com/users/ErisDS/events{/privacy}","received_events_url":"https://api.github.com/users/ErisDS/received_events","type":"User","site_admin":false},"comments":5,"review_comments":2,"commits":1,"additions":81,"deletions":26,"changed_files":1}}