{"action":"opened","number":92,"pull_request":{"url":"https://api.github.com/repos/alphagov/email-alert-api/pulls/92","id":49555096,"html_url":"https://github.com/alphagov/email-alert-api/pull/92","diff_url":"https://github.com/alphagov/email-alert-api/pull/92.diff","patch_url":"https://github.com/alphagov/email-alert-api/pull/92.patch","issue_url":"https://api.github.com/repos/alphagov/email-alert-api/issues/92","number":92,"state":"open","locked":false,"title":"Rename policy SubscriberList links to 'parent'","user":{"login":"mobaig","id":519250,"avatar_url":"https://avatars.githubusercontent.com/u/519250?v=3","gravatar_id":"","url":"https://api.github.com/users/mobaig","html_url":"https://github.com/mobaig","followers_url":"https://api.github.com/users/mobaig/followers","following_url":"https://api.github.com/users/mobaig/following{/other_user}","gists_url":"https://api.github.com/users/mobaig/gists{/gist_id}","starred_url":"https://api.github.com/users/mobaig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mobaig/subscriptions","organizations_url":"https://api.github.com/users/mobaig/orgs","repos_url":"https://api.github.com/users/mobaig/repos","events_url":"https://api.github.com/users/mobaig/events{/privacy}","received_events_url":"https://api.github.com/users/mobaig/received_events","type":"User","site_admin":false},"body":"The policy-publisher and govuk-content-schemas have been updated such\r\nthat email signup content items now carry a link to their parent content\r\nitem. The key used in the link is 'parent'. The implication of this is\r\nthat email-alert-api will start receiving links keyed with 'parent' for\r\npolicy email subscriptions and notifications. This commit supports that\r\ntransition.","created_at":"2015-11-03T13:30:57Z","updated_at":"2015-11-03T13:30:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/email-alert-api/pulls/92/commits","review_comments_url":"https://api.github.com/repos/alphagov/email-alert-api/pulls/92/comments","review_comment_url":"https://api.github.com/repos/alphagov/email-alert-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/email-alert-api/issues/92/comments","statuses_url":"https://api.github.com/repos/alphagov/email-alert-api/statuses/c660b0408fd4e46ff44dd48d4424415b153fd3df","head":{"label":"alphagov:mb_cid-5_rename_policy_to_parent","ref":"mb_cid-5_rename_policy_to_parent","sha":"c660b0408fd4e46ff44dd48d4424415b153fd3df","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":24410607,"name":"email-alert-api","full_name":"alphagov/email-alert-api","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/email-alert-api","description":"Sends email alerts to the public","fork":false,"url":"https://api.github.com/repos/alphagov/email-alert-api","forks_url":"https://api.github.com/repos/alphagov/email-alert-api/forks","keys_url":"https://api.github.com/repos/alphagov/email-alert-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/email-alert-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/email-alert-api/teams","hooks_url":"https://api.github.com/repos/alphagov/email-alert-api/hooks","issue_events_url":"https://api.github.com/repos/alphagov/email-alert-api/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/email-alert-api/events","assignees_url":"https://api.github.com/repos/alphagov/email-alert-api/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/email-alert-api/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/email-alert-api/tags","blobs_url":"https://api.github.com/repos/alphagov/email-alert-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/email-alert-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/email-alert-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/email-alert-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/email-alert-api/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/email-alert-api/languages","stargazers_url":"https://api.github.com/repos/alphagov/email-alert-api/stargazers","contributors_url":"https://api.github.com/repos/alphagov/email-alert-api/contributors","subscribers_url":"https://api.github.com/repos/alphagov/email-alert-api/subscribers","subscription_url":"https://api.github.com/repos/alphagov/email-alert-api/subscription","commits_url":"https://api.github.com/repos/alphagov/email-alert-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/email-alert-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/email-alert-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/email-alert-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/email-alert-api/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/email-alert-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/email-alert-api/merges","archive_url":"https://api.github.com/repos/alphagov/email-alert-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/email-alert-api/downloads","issues_url":"https://api.github.com/repos/alphagov/email-alert-api/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/email-alert-api/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/email-alert-api/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/email-alert-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/email-alert-api/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/email-alert-api/releases{/id}","created_at":"2014-09-24T10:22:32Z","updated_at":"2015-05-08T08:35:54Z","pushed_at":"2015-11-03T11:30:07Z","git_url":"git://github.com/alphagov/email-alert-api.git","ssh_url":"git@github.com:alphagov/email-alert-api.git","clone_url":"https://github.com/alphagov/email-alert-api.git","svn_url":"https://github.com/alphagov/email-alert-api","homepage":null,"size":2136,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"8e77526767ae158222e8740fd4aec76c86e92f2e","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":24410607,"name":"email-alert-api","full_name":"alphagov/email-alert-api","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/email-alert-api","description":"Sends email alerts to the public","fork":false,"url":"https://api.github.com/repos/alphagov/email-alert-api","forks_url":"https://api.github.com/repos/alphagov/email-alert-api/forks","keys_url":"https://api.github.com/repos/alphagov/email-alert-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/email-alert-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/email-alert-api/teams","hooks_url":"https://api.github.com/repos/alphagov/email-alert-api/hooks","issue_events_url":"https://api.github.com/repos/alphagov/email-alert-api/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/email-alert-api/events","assignees_url":"https://api.github.com/repos/alphagov/email-alert-api/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/email-alert-api/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/email-alert-api/tags","blobs_url":"https://api.github.com/repos/alphagov/email-alert-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/email-alert-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/email-alert-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/email-alert-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/email-alert-api/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/email-alert-api/languages","stargazers_url":"https://api.github.com/repos/alphagov/email-alert-api/stargazers","contributors_url":"https://api.github.com/repos/alphagov/email-alert-api/contributors","subscribers_url":"https://api.github.com/repos/alphagov/email-alert-api/subscribers","subscription_url":"https://api.github.com/repos/alphagov/email-alert-api/subscription","commits_url":"https://api.github.com/repos/alphagov/email-alert-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/email-alert-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/email-alert-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/email-alert-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/email-alert-api/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/email-alert-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/email-alert-api/merges","archive_url":"https://api.github.com/repos/alphagov/email-alert-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/email-alert-api/downloads","issues_url":"https://api.github.com/repos/alphagov/email-alert-api/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/email-alert-api/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/email-alert-api/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/email-alert-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/email-alert-api/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/email-alert-api/releases{/id}","created_at":"2014-09-24T10:22:32Z","updated_at":"2015-05-08T08:35:54Z","pushed_at":"2015-11-03T11:30:07Z","git_url":"git://github.com/alphagov/email-alert-api.git","ssh_url":"git@github.com:alphagov/email-alert-api.git","clone_url":"https://github.com/alphagov/email-alert-api.git","svn_url":"https://github.com/alphagov/email-alert-api","homepage":null,"size":2136,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/email-alert-api/pulls/92"},"html":{"href":"https://github.com/alphagov/email-alert-api/pull/92"},"issue":{"href":"https://api.github.com/repos/alphagov/email-alert-api/issues/92"},"comments":{"href":"https://api.github.com/repos/alphagov/email-alert-api/issues/92/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/email-alert-api/pulls/92/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/email-alert-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/email-alert-api/pulls/92/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/email-alert-api/statuses/c660b0408fd4e46ff44dd48d4424415b153fd3df"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":20,"deletions":3,"changed_files":4}}