{"action":"created","comment":{"url":"https://api.github.com/repos/alphagov/notifications-api/pulls/comments/105688209","pull_request_review_id":26578909,"id":105688209,"diff_hunk":"@@ -136,7 +142,8 @@ def required_authentication():\n \n     @app.before_request\n     def record_user_agent():\n-        statsd_client.incr(\"user-agent.{}\".format(process_user_agent(request.headers.get('User-Agent', None))))\n+        statsd_client.incr(","path":"app/__init__.py","position":46,"original_position":46,"commit_id":"b1c7dc5daaa0357e95ef7aed62c969751e9d554e","original_commit_id":"b1c7dc5daaa0357e95ef7aed62c969751e9d554e","user":{"login":"imdadahad","id":5855115,"avatar_url":"https://avatars0.githubusercontent.com/u/5855115?v=3","gravatar_id":"","url":"https://api.github.com/users/imdadahad","html_url":"https://github.com/imdadahad","followers_url":"https://api.github.com/users/imdadahad/followers","following_url":"https://api.github.com/users/imdadahad/following{/other_user}","gists_url":"https://api.github.com/users/imdadahad/gists{/gist_id}","starred_url":"https://api.github.com/users/imdadahad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imdadahad/subscriptions","organizations_url":"https://api.github.com/users/imdadahad/orgs","repos_url":"https://api.github.com/users/imdadahad/repos","events_url":"https://api.github.com/users/imdadahad/events{/privacy}","received_events_url":"https://api.github.com/users/imdadahad/received_events","type":"User","site_admin":false},"body":"Spacing and line returns look off, think we should undo all of the 'linting' related changes once your editor is configured properly?","created_at":"2017-03-13T15:24:43Z","updated_at":"2017-03-13T15:47:56Z","html_url":"https://github.com/alphagov/notifications-api/pull/856#discussion_r105688209","pull_request_url":"https://api.github.com/repos/alphagov/notifications-api/pulls/856","_links":{"self":{"href":"https://api.github.com/repos/alphagov/notifications-api/pulls/comments/105688209"},"html":{"href":"https://github.com/alphagov/notifications-api/pull/856#discussion_r105688209"},"pull_request":{"href":"https://api.github.com/repos/alphagov/notifications-api/pulls/856"}}},"pull_request":{"url":"https://api.github.com/repos/alphagov/notifications-api/pulls/856","id":110421249,"html_url":"https://github.com/alphagov/notifications-api/pull/856","diff_url":"https://github.com/alphagov/notifications-api/pull/856.diff","patch_url":"https://github.com/alphagov/notifications-api/pull/856.patch","issue_url":"https://api.github.com/repos/alphagov/notifications-api/issues/856","number":856,"state":"open","locked":false,"title":"Added v2 template get ID endpoint, schema & tests","user":{"login":"kentsanggds","id":22152807,"avatar_url":"https://avatars2.githubusercontent.com/u/22152807?v=3","gravatar_id":"","url":"https://api.github.com/users/kentsanggds","html_url":"https://github.com/kentsanggds","followers_url":"https://api.github.com/users/kentsanggds/followers","following_url":"https://api.github.com/users/kentsanggds/following{/other_user}","gists_url":"https://api.github.com/users/kentsanggds/gists{/gist_id}","starred_url":"https://api.github.com/users/kentsanggds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kentsanggds/subscriptions","organizations_url":"https://api.github.com/users/kentsanggds/orgs","repos_url":"https://api.github.com/users/kentsanggds/repos","events_url":"https://api.github.com/users/kentsanggds/events{/privacy}","received_events_url":"https://api.github.com/users/kentsanggds/received_events","type":"User","site_admin":false},"body":"## What\r\n\r\nAdded v2/template/{id} endpoint with JSON schema and supporting tests.\r\n\r\nDetails outlined in this document under `Templates / Get Template by ID` section - [Notify V2 API](https://docs.google.com/document/d/1EuCipShwpZKVPQp3N0j7yRKazS34v5Bj5E9epl89iqY/edit#)\r\n\r\n## How to review \r\n\r\nexecute `py.test tests/app/v2/template/`\r\n\r\n### References\r\n\r\n[Pivotal Tracker story] (https://www.pivotaltracker.com/n/projects/1443052/stories/141482957)","created_at":"2017-03-13T14:52:49Z","updated_at":"2017-03-13T15:47:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f372739c5e1e79927c2078872a54054cf8fe75cc","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/notifications-api/pulls/856/commits","review_comments_url":"https://api.github.com/repos/alphagov/notifications-api/pulls/856/comments","review_comment_url":"https://api.github.com/repos/alphagov/notifications-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/notifications-api/issues/856/comments","statuses_url":"https://api.github.com/repos/alphagov/notifications-api/statuses/b1c7dc5daaa0357e95ef7aed62c969751e9d554e","head":{"label":"alphagov:add-v2-template-get-id","ref":"add-v2-template-get-id","sha":"b1c7dc5daaa0357e95ef7aed62c969751e9d554e","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars3.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":46422101,"name":"notifications-api","full_name":"alphagov/notifications-api","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars3.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/notifications-api","description":"Notifications api","fork":false,"url":"https://api.github.com/repos/alphagov/notifications-api","forks_url":"https://api.github.com/repos/alphagov/notifications-api/forks","keys_url":"https://api.github.com/repos/alphagov/notifications-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/notifications-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/notifications-api/teams","hooks_url":"https://api.github.com/repos/alphagov/notifications-api/hooks","issue_events_url":"https://api.github.com/repos/alphagov/notifications-api/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/notifications-api/events","assignees_url":"https://api.github.com/repos/alphagov/notifications-api/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/notifications-api/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/notifications-api/tags","blobs_url":"https://api.github.com/repos/alphagov/notifications-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/notifications-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/notifications-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/notifications-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/notifications-api/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/notifications-api/languages","stargazers_url":"https://api.github.com/repos/alphagov/notifications-api/stargazers","contributors_url":"https://api.github.com/repos/alphagov/notifications-api/contributors","subscribers_url":"https://api.github.com/repos/alphagov/notifications-api/subscribers","subscription_url":"https://api.github.com/repos/alphagov/notifications-api/subscription","commits_url":"https://api.github.com/repos/alphagov/notifications-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/notifications-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/notifications-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/notifications-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/notifications-api/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/notifications-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/notifications-api/merges","archive_url":"https://api.github.com/repos/alphagov/notifications-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/notifications-api/downloads","issues_url":"https://api.github.com/repos/alphagov/notifications-api/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/notifications-api/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/notifications-api/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/notifications-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/notifications-api/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/notifications-api/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/notifications-api/deployments","created_at":"2015-11-18T13:57:17Z","updated_at":"2017-03-02T19:11:52Z","pushed_at":"2017-03-13T15:36:41Z","git_url":"git://github.com/alphagov/notifications-api.git","ssh_url":"git@github.com:alphagov/notifications-api.git","clone_url":"https://github.com/alphagov/notifications-api.git","svn_url":"https://github.com/alphagov/notifications-api","homepage":null,"size":12865,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":5,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"81522474ca9e52d21e107840642b7bd4bff658d5","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars3.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":46422101,"name":"notifications-api","full_name":"alphagov/notifications-api","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars3.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/notifications-api","description":"Notifications api","fork":false,"url":"https://api.github.com/repos/alphagov/notifications-api","forks_url":"https://api.github.com/repos/alphagov/notifications-api/forks","keys_url":"https://api.github.com/repos/alphagov/notifications-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/notifications-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/notifications-api/teams","hooks_url":"https://api.github.com/repos/alphagov/notifications-api/hooks","issue_events_url":"https://api.github.com/repos/alphagov/notifications-api/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/notifications-api/events","assignees_url":"https://api.github.com/repos/alphagov/notifications-api/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/notifications-api/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/notifications-api/tags","blobs_url":"https://api.github.com/repos/alphagov/notifications-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/notifications-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/notifications-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/notifications-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/notifications-api/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/notifications-api/languages","stargazers_url":"https://api.github.com/repos/alphagov/notifications-api/stargazers","contributors_url":"https://api.github.com/repos/alphagov/notifications-api/contributors","subscribers_url":"https://api.github.com/repos/alphagov/notifications-api/subscribers","subscription_url":"https://api.github.com/repos/alphagov/notifications-api/subscription","commits_url":"https://api.github.com/repos/alphagov/notifications-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/notifications-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/notifications-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/notifications-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/notifications-api/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/notifications-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/notifications-api/merges","archive_url":"https://api.github.com/repos/alphagov/notifications-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/notifications-api/downloads","issues_url":"https://api.github.com/repos/alphagov/notifications-api/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/notifications-api/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/notifications-api/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/notifications-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/notifications-api/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/notifications-api/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/notifications-api/deployments","created_at":"2015-11-18T13:57:17Z","updated_at":"2017-03-02T19:11:52Z","pushed_at":"2017-03-13T15:36:41Z","git_url":"git://github.com/alphagov/notifications-api.git","ssh_url":"git@github.com:alphagov/notifications-api.git","clone_url":"https://github.com/alphagov/notifications-api.git","svn_url":"https://github.com/alphagov/notifications-api","homepage":null,"size":12865,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/notifications-api/pulls/856"},"html":{"href":"https://github.com/alphagov/notifications-api/pull/856"},"issue":{"href":"https://api.github.com/repos/alphagov/notifications-api/issues/856"},"comments":{"href":"https://api.github.com/repos/alphagov/notifications-api/issues/856/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/notifications-api/pulls/856/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/notifications-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/notifications-api/pulls/856/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/notifications-api/statuses/b1c7dc5daaa0357e95ef7aed62c969751e9d554e"}}}}
{"actor":{"display_login":"imdadahad"}}