{"action":"opened","number":12,"pull_request":{"url":"https://api.github.com/repos/ONSdigital/dp-api-router/pulls/12","id":185729873,"html_url":"https://github.com/ONSdigital/dp-api-router/pull/12","diff_url":"https://github.com/ONSdigital/dp-api-router/pull/12.diff","patch_url":"https://github.com/ONSdigital/dp-api-router/pull/12.patch","issue_url":"https://api.github.com/repos/ONSdigital/dp-api-router/issues/12","number":12,"state":"open","locked":false,"title":"Add flusher before writing new content","user":{"login":"mattrout92","id":10059792,"avatar_url":"https://avatars1.githubusercontent.com/u/10059792?v=4","gravatar_id":"","url":"https://api.github.com/users/mattrout92","html_url":"https://github.com/mattrout92","followers_url":"https://api.github.com/users/mattrout92/followers","following_url":"https://api.github.com/users/mattrout92/following{/other_user}","gists_url":"https://api.github.com/users/mattrout92/gists{/gist_id}","starred_url":"https://api.github.com/users/mattrout92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattrout92/subscriptions","organizations_url":"https://api.github.com/users/mattrout92/orgs","repos_url":"https://api.github.com/users/mattrout92/repos","events_url":"https://api.github.com/users/mattrout92/events{/privacy}","received_events_url":"https://api.github.com/users/mattrout92/received_events","type":"User","site_admin":false},"body":"Add a flusher before updating/rewriting response","created_at":"2018-05-03T14:13:15Z","updated_at":"2018-05-03T14:13:15Z","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/ONSdigital/dp-api-router/pulls/12/commits","review_comments_url":"https://api.github.com/repos/ONSdigital/dp-api-router/pulls/12/comments","review_comment_url":"https://api.github.com/repos/ONSdigital/dp-api-router/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ONSdigital/dp-api-router/issues/12/comments","statuses_url":"https://api.github.com/repos/ONSdigital/dp-api-router/statuses/faed5e2523fdcbd96552df0092e3ab2b9cad60f4","head":{"label":"ONSdigital:flusher","ref":"flusher","sha":"faed5e2523fdcbd96552df0092e3ab2b9cad60f4","user":{"login":"ONSdigital","id":6865137,"avatar_url":"https://avatars0.githubusercontent.com/u/6865137?v=4","gravatar_id":"","url":"https://api.github.com/users/ONSdigital","html_url":"https://github.com/ONSdigital","followers_url":"https://api.github.com/users/ONSdigital/followers","following_url":"https://api.github.com/users/ONSdigital/following{/other_user}","gists_url":"https://api.github.com/users/ONSdigital/gists{/gist_id}","starred_url":"https://api.github.com/users/ONSdigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ONSdigital/subscriptions","organizations_url":"https://api.github.com/users/ONSdigital/orgs","repos_url":"https://api.github.com/users/ONSdigital/repos","events_url":"https://api.github.com/users/ONSdigital/events{/privacy}","received_events_url":"https://api.github.com/users/ONSdigital/received_events","type":"Organization","site_admin":false},"repo":{"id":117112519,"name":"dp-api-router","full_name":"ONSdigital/dp-api-router","owner":{"login":"ONSdigital","id":6865137,"avatar_url":"https://avatars0.githubusercontent.com/u/6865137?v=4","gravatar_id":"","url":"https://api.github.com/users/ONSdigital","html_url":"https://github.com/ONSdigital","followers_url":"https://api.github.com/users/ONSdigital/followers","following_url":"https://api.github.com/users/ONSdigital/following{/other_user}","gists_url":"https://api.github.com/users/ONSdigital/gists{/gist_id}","starred_url":"https://api.github.com/users/ONSdigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ONSdigital/subscriptions","organizations_url":"https://api.github.com/users/ONSdigital/orgs","repos_url":"https://api.github.com/users/ONSdigital/repos","events_url":"https://api.github.com/users/ONSdigital/events{/privacy}","received_events_url":"https://api.github.com/users/ONSdigital/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ONSdigital/dp-api-router","description":"Routes API requests to set services, with additional header tags","fork":false,"url":"https://api.github.com/repos/ONSdigital/dp-api-router","forks_url":"https://api.github.com/repos/ONSdigital/dp-api-router/forks","keys_url":"https://api.github.com/repos/ONSdigital/dp-api-router/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ONSdigital/dp-api-router/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ONSdigital/dp-api-router/teams","hooks_url":"https://api.github.com/repos/ONSdigital/dp-api-router/hooks","issue_events_url":"https://api.github.com/repos/ONSdigital/dp-api-router/issues/events{/number}","events_url":"https://api.github.com/repos/ONSdigital/dp-api-router/events","assignees_url":"https://api.github.com/repos/ONSdigital/dp-api-router/assignees{/user}","branches_url":"https://api.github.com/repos/ONSdigital/dp-api-router/branches{/branch}","tags_url":"https://api.github.com/repos/ONSdigital/dp-api-router/tags","blobs_url":"https://api.github.com/repos/ONSdigital/dp-api-router/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ONSdigital/dp-api-router/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ONSdigital/dp-api-router/git/refs{/sha}","trees_url":"https://api.github.com/repos/ONSdigital/dp-api-router/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ONSdigital/dp-api-router/statuses/{sha}","languages_url":"https://api.github.com/repos/ONSdigital/dp-api-router/languages","stargazers_url":"https://api.github.com/repos/ONSdigital/dp-api-router/stargazers","contributors_url":"https://api.github.com/repos/ONSdigital/dp-api-router/contributors","subscribers_url":"https://api.github.com/repos/ONSdigital/dp-api-router/subscribers","subscription_url":"https://api.github.com/repos/ONSdigital/dp-api-router/subscription","commits_url":"https://api.github.com/repos/ONSdigital/dp-api-router/commits{/sha}","git_commits_url":"https://api.github.com/repos/ONSdigital/dp-api-router/git/commits{/sha}","comments_url":"https://api.github.com/repos/ONSdigital/dp-api-router/comments{/number}","issue_comment_url":"https://api.github.com/repos/ONSdigital/dp-api-router/issues/comments{/number}","contents_url":"https://api.github.com/repos/ONSdigital/dp-api-router/contents/{+path}","compare_url":"https://api.github.com/repos/ONSdigital/dp-api-router/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ONSdigital/dp-api-router/merges","archive_url":"https://api.github.com/repos/ONSdigital/dp-api-router/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ONSdigital/dp-api-router/downloads","issues_url":"https://api.github.com/repos/ONSdigital/dp-api-router/issues{/number}","pulls_url":"https://api.github.com/repos/ONSdigital/dp-api-router/pulls{/number}","milestones_url":"https://api.github.com/repos/ONSdigital/dp-api-router/milestones{/number}","notifications_url":"https://api.github.com/repos/ONSdigital/dp-api-router/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ONSdigital/dp-api-router/labels{/name}","releases_url":"https://api.github.com/repos/ONSdigital/dp-api-router/releases{/id}","deployments_url":"https://api.github.com/repos/ONSdigital/dp-api-router/deployments","created_at":"2018-01-11T14:39:15Z","updated_at":"2018-05-03T12:26:52Z","pushed_at":"2018-05-03T14:12:44Z","git_url":"git://github.com/ONSdigital/dp-api-router.git","ssh_url":"git@github.com:ONSdigital/dp-api-router.git","clone_url":"https://github.com/ONSdigital/dp-api-router.git","svn_url":"https://github.com/ONSdigital/dp-api-router","homepage":null,"size":157,"stargazers_count":0,"watchers_count":0,"language":"Go","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":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"cmd-develop"}},"base":{"label":"ONSdigital:cmd-develop","ref":"cmd-develop","sha":"e880e151047714ea14253cb939356c395d0d218f","user":{"login":"ONSdigital","id":6865137,"avatar_url":"https://avatars0.githubusercontent.com/u/6865137?v=4","gravatar_id":"","url":"https://api.github.com/users/ONSdigital","html_url":"https://github.com/ONSdigital","followers_url":"https://api.github.com/users/ONSdigital/followers","following_url":"https://api.github.com/users/ONSdigital/following{/other_user}","gists_url":"https://api.github.com/users/ONSdigital/gists{/gist_id}","starred_url":"https://api.github.com/users/ONSdigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ONSdigital/subscriptions","organizations_url":"https://api.github.com/users/ONSdigital/orgs","repos_url":"https://api.github.com/users/ONSdigital/repos","events_url":"https://api.github.com/users/ONSdigital/events{/privacy}","received_events_url":"https://api.github.com/users/ONSdigital/received_events","type":"Organization","site_admin":false},"repo":{"id":117112519,"name":"dp-api-router","full_name":"ONSdigital/dp-api-router","owner":{"login":"ONSdigital","id":6865137,"avatar_url":"https://avatars0.githubusercontent.com/u/6865137?v=4","gravatar_id":"","url":"https://api.github.com/users/ONSdigital","html_url":"https://github.com/ONSdigital","followers_url":"https://api.github.com/users/ONSdigital/followers","following_url":"https://api.github.com/users/ONSdigital/following{/other_user}","gists_url":"https://api.github.com/users/ONSdigital/gists{/gist_id}","starred_url":"https://api.github.com/users/ONSdigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ONSdigital/subscriptions","organizations_url":"https://api.github.com/users/ONSdigital/orgs","repos_url":"https://api.github.com/users/ONSdigital/repos","events_url":"https://api.github.com/users/ONSdigital/events{/privacy}","received_events_url":"https://api.github.com/users/ONSdigital/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ONSdigital/dp-api-router","description":"Routes API requests to set services, with additional header tags","fork":false,"url":"https://api.github.com/repos/ONSdigital/dp-api-router","forks_url":"https://api.github.com/repos/ONSdigital/dp-api-router/forks","keys_url":"https://api.github.com/repos/ONSdigital/dp-api-router/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ONSdigital/dp-api-router/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ONSdigital/dp-api-router/teams","hooks_url":"https://api.github.com/repos/ONSdigital/dp-api-router/hooks","issue_events_url":"https://api.github.com/repos/ONSdigital/dp-api-router/issues/events{/number}","events_url":"https://api.github.com/repos/ONSdigital/dp-api-router/events","assignees_url":"https://api.github.com/repos/ONSdigital/dp-api-router/assignees{/user}","branches_url":"https://api.github.com/repos/ONSdigital/dp-api-router/branches{/branch}","tags_url":"https://api.github.com/repos/ONSdigital/dp-api-router/tags","blobs_url":"https://api.github.com/repos/ONSdigital/dp-api-router/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ONSdigital/dp-api-router/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ONSdigital/dp-api-router/git/refs{/sha}","trees_url":"https://api.github.com/repos/ONSdigital/dp-api-router/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ONSdigital/dp-api-router/statuses/{sha}","languages_url":"https://api.github.com/repos/ONSdigital/dp-api-router/languages","stargazers_url":"https://api.github.com/repos/ONSdigital/dp-api-router/stargazers","contributors_url":"https://api.github.com/repos/ONSdigital/dp-api-router/contributors","subscribers_url":"https://api.github.com/repos/ONSdigital/dp-api-router/subscribers","subscription_url":"https://api.github.com/repos/ONSdigital/dp-api-router/subscription","commits_url":"https://api.github.com/repos/ONSdigital/dp-api-router/commits{/sha}","git_commits_url":"https://api.github.com/repos/ONSdigital/dp-api-router/git/commits{/sha}","comments_url":"https://api.github.com/repos/ONSdigital/dp-api-router/comments{/number}","issue_comment_url":"https://api.github.com/repos/ONSdigital/dp-api-router/issues/comments{/number}","contents_url":"https://api.github.com/repos/ONSdigital/dp-api-router/contents/{+path}","compare_url":"https://api.github.com/repos/ONSdigital/dp-api-router/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ONSdigital/dp-api-router/merges","archive_url":"https://api.github.com/repos/ONSdigital/dp-api-router/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ONSdigital/dp-api-router/downloads","issues_url":"https://api.github.com/repos/ONSdigital/dp-api-router/issues{/number}","pulls_url":"https://api.github.com/repos/ONSdigital/dp-api-router/pulls{/number}","milestones_url":"https://api.github.com/repos/ONSdigital/dp-api-router/milestones{/number}","notifications_url":"https://api.github.com/repos/ONSdigital/dp-api-router/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ONSdigital/dp-api-router/labels{/name}","releases_url":"https://api.github.com/repos/ONSdigital/dp-api-router/releases{/id}","deployments_url":"https://api.github.com/repos/ONSdigital/dp-api-router/deployments","created_at":"2018-01-11T14:39:15Z","updated_at":"2018-05-03T12:26:52Z","pushed_at":"2018-05-03T14:12:44Z","git_url":"git://github.com/ONSdigital/dp-api-router.git","ssh_url":"git@github.com:ONSdigital/dp-api-router.git","clone_url":"https://github.com/ONSdigital/dp-api-router.git","svn_url":"https://github.com/ONSdigital/dp-api-router","homepage":null,"size":157,"stargazers_count":0,"watchers_count":0,"language":"Go","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":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"cmd-develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ONSdigital/dp-api-router/pulls/12"},"html":{"href":"https://github.com/ONSdigital/dp-api-router/pull/12"},"issue":{"href":"https://api.github.com/repos/ONSdigital/dp-api-router/issues/12"},"comments":{"href":"https://api.github.com/repos/ONSdigital/dp-api-router/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/ONSdigital/dp-api-router/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/ONSdigital/dp-api-router/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ONSdigital/dp-api-router/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/ONSdigital/dp-api-router/statuses/faed5e2523fdcbd96552df0092e3ab2b9cad60f4"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":4,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"mattrout92"}}