{"action":"created","comment":{"url":"https://api.github.com/repos/guardian/media-atom-maker/pulls/comments/82996275","pull_request_review_id":3864584,"id":82996275,"diff_hunk":"@@ -0,0 +1,28 @@\n+import Reqwest from 'reqwest';\n+import Q from 'q';\n+import {reEstablishSession} from 'babel?presets[]=es2015!panda-session';\n+\n+export function pandaReqwest(reqwestBody) {\n+  return Q.Promise(function(resolve, reject) {\n+    Reqwest(reqwestBody)\n+        .then(res => {\n+          resolve(res)\n+        })\n+        .fail(err => {\n+          if (err.status == 419) {\n+            const reauthUrl = '/reauth';","path":"public/video-ui/src/services/pandaReqwest.js","position":13,"original_position":13,"commit_id":"a61dad725cb919ef5dc71e42ec66ae625779b8db","original_commit_id":"a61dad725cb919ef5dc71e42ec66ae625779b8db","user":{"login":"clloyd","id":551573,"avatar_url":"https://avatars.githubusercontent.com/u/551573?v=3","gravatar_id":"","url":"https://api.github.com/users/clloyd","html_url":"https://github.com/clloyd","followers_url":"https://api.github.com/users/clloyd/followers","following_url":"https://api.github.com/users/clloyd/following{/other_user}","gists_url":"https://api.github.com/users/clloyd/gists{/gist_id}","starred_url":"https://api.github.com/users/clloyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clloyd/subscriptions","organizations_url":"https://api.github.com/users/clloyd/orgs","repos_url":"https://api.github.com/users/clloyd/repos","events_url":"https://api.github.com/users/clloyd/events{/privacy}","received_events_url":"https://api.github.com/users/clloyd/received_events","type":"User","site_admin":false},"body":"I think we need to implement this route?","created_at":"2016-10-12T12:44:51Z","updated_at":"2016-10-12T12:44:56Z","html_url":"https://github.com/guardian/media-atom-maker/pull/63#discussion_r82996275","pull_request_url":"https://api.github.com/repos/guardian/media-atom-maker/pulls/63","_links":{"self":{"href":"https://api.github.com/repos/guardian/media-atom-maker/pulls/comments/82996275"},"html":{"href":"https://github.com/guardian/media-atom-maker/pull/63#discussion_r82996275"},"pull_request":{"href":"https://api.github.com/repos/guardian/media-atom-maker/pulls/63"}}},"pull_request":{"url":"https://api.github.com/repos/guardian/media-atom-maker/pulls/63","id":88987902,"html_url":"https://github.com/guardian/media-atom-maker/pull/63","diff_url":"https://github.com/guardian/media-atom-maker/pull/63.diff","patch_url":"https://github.com/guardian/media-atom-maker/pull/63.patch","issue_url":"https://api.github.com/repos/guardian/media-atom-maker/issues/63","number":63,"state":"open","locked":false,"title":"Atom list and single page","user":{"login":"ShaunYearStrong","id":2104095,"avatar_url":"https://avatars.githubusercontent.com/u/2104095?v=3","gravatar_id":"","url":"https://api.github.com/users/ShaunYearStrong","html_url":"https://github.com/ShaunYearStrong","followers_url":"https://api.github.com/users/ShaunYearStrong/followers","following_url":"https://api.github.com/users/ShaunYearStrong/following{/other_user}","gists_url":"https://api.github.com/users/ShaunYearStrong/gists{/gist_id}","starred_url":"https://api.github.com/users/ShaunYearStrong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShaunYearStrong/subscriptions","organizations_url":"https://api.github.com/users/ShaunYearStrong/orgs","repos_url":"https://api.github.com/users/ShaunYearStrong/repos","events_url":"https://api.github.com/users/ShaunYearStrong/events{/privacy}","received_events_url":"https://api.github.com/users/ShaunYearStrong/received_events","type":"User","site_admin":false},"body":"Atom List page (/video/atoms):\r\n\r\n![picture 5](https://cloud.githubusercontent.com/assets/2104095/19306067/d31bc68e-906b-11e6-807d-9f217b6f8ae7.png)\r\n\r\nSingle Atom page (/video/atoms/:id):\r\n\r\n![picture 6](https://cloud.githubusercontent.com/assets/2104095/19306090/efbb00ca-906b-11e6-9b69-7ff558e7cb53.png)\r\n ","created_at":"2016-10-12T10:07:58Z","updated_at":"2016-10-12T12:44:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0807af491e75885d5caf75960a464d6bd4b19b8c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/guardian/media-atom-maker/pulls/63/commits","review_comments_url":"https://api.github.com/repos/guardian/media-atom-maker/pulls/63/comments","review_comment_url":"https://api.github.com/repos/guardian/media-atom-maker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/guardian/media-atom-maker/issues/63/comments","statuses_url":"https://api.github.com/repos/guardian/media-atom-maker/statuses/a61dad725cb919ef5dc71e42ec66ae625779b8db","head":{"label":"guardian:sd-atom-page","ref":"sd-atom-page","sha":"a61dad725cb919ef5dc71e42ec66ae625779b8db","user":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"repo":{"id":60180856,"name":"media-atom-maker","full_name":"guardian/media-atom-maker","owner":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guardian/media-atom-maker","description":"A tool for creating media atoms, and a library that provides code for creating, storing and publishing generic atoms.","fork":false,"url":"https://api.github.com/repos/guardian/media-atom-maker","forks_url":"https://api.github.com/repos/guardian/media-atom-maker/forks","keys_url":"https://api.github.com/repos/guardian/media-atom-maker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guardian/media-atom-maker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guardian/media-atom-maker/teams","hooks_url":"https://api.github.com/repos/guardian/media-atom-maker/hooks","issue_events_url":"https://api.github.com/repos/guardian/media-atom-maker/issues/events{/number}","events_url":"https://api.github.com/repos/guardian/media-atom-maker/events","assignees_url":"https://api.github.com/repos/guardian/media-atom-maker/assignees{/user}","branches_url":"https://api.github.com/repos/guardian/media-atom-maker/branches{/branch}","tags_url":"https://api.github.com/repos/guardian/media-atom-maker/tags","blobs_url":"https://api.github.com/repos/guardian/media-atom-maker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guardian/media-atom-maker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guardian/media-atom-maker/git/refs{/sha}","trees_url":"https://api.github.com/repos/guardian/media-atom-maker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guardian/media-atom-maker/statuses/{sha}","languages_url":"https://api.github.com/repos/guardian/media-atom-maker/languages","stargazers_url":"https://api.github.com/repos/guardian/media-atom-maker/stargazers","contributors_url":"https://api.github.com/repos/guardian/media-atom-maker/contributors","subscribers_url":"https://api.github.com/repos/guardian/media-atom-maker/subscribers","subscription_url":"https://api.github.com/repos/guardian/media-atom-maker/subscription","commits_url":"https://api.github.com/repos/guardian/media-atom-maker/commits{/sha}","git_commits_url":"https://api.github.com/repos/guardian/media-atom-maker/git/commits{/sha}","comments_url":"https://api.github.com/repos/guardian/media-atom-maker/comments{/number}","issue_comment_url":"https://api.github.com/repos/guardian/media-atom-maker/issues/comments{/number}","contents_url":"https://api.github.com/repos/guardian/media-atom-maker/contents/{+path}","compare_url":"https://api.github.com/repos/guardian/media-atom-maker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guardian/media-atom-maker/merges","archive_url":"https://api.github.com/repos/guardian/media-atom-maker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guardian/media-atom-maker/downloads","issues_url":"https://api.github.com/repos/guardian/media-atom-maker/issues{/number}","pulls_url":"https://api.github.com/repos/guardian/media-atom-maker/pulls{/number}","milestones_url":"https://api.github.com/repos/guardian/media-atom-maker/milestones{/number}","notifications_url":"https://api.github.com/repos/guardian/media-atom-maker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guardian/media-atom-maker/labels{/name}","releases_url":"https://api.github.com/repos/guardian/media-atom-maker/releases{/id}","deployments_url":"https://api.github.com/repos/guardian/media-atom-maker/deployments","created_at":"2016-06-01T13:49:33Z","updated_at":"2016-08-01T15:05:54Z","pushed_at":"2016-10-12T11:19:01Z","git_url":"git://github.com/guardian/media-atom-maker.git","ssh_url":"git@github.com:guardian/media-atom-maker.git","clone_url":"https://github.com/guardian/media-atom-maker.git","svn_url":"https://github.com/guardian/media-atom-maker","homepage":"","size":678,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":8,"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"base":{"label":"guardian:master","ref":"master","sha":"63faae0df46c636c765a456dd15f1add0a281412","user":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"repo":{"id":60180856,"name":"media-atom-maker","full_name":"guardian/media-atom-maker","owner":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guardian/media-atom-maker","description":"A tool for creating media atoms, and a library that provides code for creating, storing and publishing generic atoms.","fork":false,"url":"https://api.github.com/repos/guardian/media-atom-maker","forks_url":"https://api.github.com/repos/guardian/media-atom-maker/forks","keys_url":"https://api.github.com/repos/guardian/media-atom-maker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guardian/media-atom-maker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guardian/media-atom-maker/teams","hooks_url":"https://api.github.com/repos/guardian/media-atom-maker/hooks","issue_events_url":"https://api.github.com/repos/guardian/media-atom-maker/issues/events{/number}","events_url":"https://api.github.com/repos/guardian/media-atom-maker/events","assignees_url":"https://api.github.com/repos/guardian/media-atom-maker/assignees{/user}","branches_url":"https://api.github.com/repos/guardian/media-atom-maker/branches{/branch}","tags_url":"https://api.github.com/repos/guardian/media-atom-maker/tags","blobs_url":"https://api.github.com/repos/guardian/media-atom-maker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guardian/media-atom-maker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guardian/media-atom-maker/git/refs{/sha}","trees_url":"https://api.github.com/repos/guardian/media-atom-maker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guardian/media-atom-maker/statuses/{sha}","languages_url":"https://api.github.com/repos/guardian/media-atom-maker/languages","stargazers_url":"https://api.github.com/repos/guardian/media-atom-maker/stargazers","contributors_url":"https://api.github.com/repos/guardian/media-atom-maker/contributors","subscribers_url":"https://api.github.com/repos/guardian/media-atom-maker/subscribers","subscription_url":"https://api.github.com/repos/guardian/media-atom-maker/subscription","commits_url":"https://api.github.com/repos/guardian/media-atom-maker/commits{/sha}","git_commits_url":"https://api.github.com/repos/guardian/media-atom-maker/git/commits{/sha}","comments_url":"https://api.github.com/repos/guardian/media-atom-maker/comments{/number}","issue_comment_url":"https://api.github.com/repos/guardian/media-atom-maker/issues/comments{/number}","contents_url":"https://api.github.com/repos/guardian/media-atom-maker/contents/{+path}","compare_url":"https://api.github.com/repos/guardian/media-atom-maker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guardian/media-atom-maker/merges","archive_url":"https://api.github.com/repos/guardian/media-atom-maker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guardian/media-atom-maker/downloads","issues_url":"https://api.github.com/repos/guardian/media-atom-maker/issues{/number}","pulls_url":"https://api.github.com/repos/guardian/media-atom-maker/pulls{/number}","milestones_url":"https://api.github.com/repos/guardian/media-atom-maker/milestones{/number}","notifications_url":"https://api.github.com/repos/guardian/media-atom-maker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guardian/media-atom-maker/labels{/name}","releases_url":"https://api.github.com/repos/guardian/media-atom-maker/releases{/id}","deployments_url":"https://api.github.com/repos/guardian/media-atom-maker/deployments","created_at":"2016-06-01T13:49:33Z","updated_at":"2016-08-01T15:05:54Z","pushed_at":"2016-10-12T11:19:01Z","git_url":"git://github.com/guardian/media-atom-maker.git","ssh_url":"git@github.com:guardian/media-atom-maker.git","clone_url":"https://github.com/guardian/media-atom-maker.git","svn_url":"https://github.com/guardian/media-atom-maker","homepage":"","size":678,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":8,"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/guardian/media-atom-maker/pulls/63"},"html":{"href":"https://github.com/guardian/media-atom-maker/pull/63"},"issue":{"href":"https://api.github.com/repos/guardian/media-atom-maker/issues/63"},"comments":{"href":"https://api.github.com/repos/guardian/media-atom-maker/issues/63/comments"},"review_comments":{"href":"https://api.github.com/repos/guardian/media-atom-maker/pulls/63/comments"},"review_comment":{"href":"https://api.github.com/repos/guardian/media-atom-maker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/guardian/media-atom-maker/pulls/63/commits"},"statuses":{"href":"https://api.github.com/repos/guardian/media-atom-maker/statuses/a61dad725cb919ef5dc71e42ec66ae625779b8db"}}}}
{"actor":{"display_login":"clloyd"}}