{"action":"created","comment":{"url":"https://api.github.com/repos/Financial-Times/o-tracking/pulls/comments/36072991","id":36072991,"diff_hunk":"@@ -23,11 +23,12 @@ This allows a low barrier to entry for anyone wanting to submit events to Spoor.\n \t\t\"user_agent\": \"Mozilla ...\",\n \t\t\"ip\": \"123.123.123.123\",\n \t\t\"layout\": \"S\",\t\t\t\t\t\t\t\t\t\t\t// require('o-grid').getCurrentLayout\n-\t\t\"orientation\": \"portrait\"\t\t\t\t\t\t\t\t// require('o-viewport').getOrientation\n+\t\t\"orientation\": \"portrait\",\t\t\t\t\t\t\t\t// require('o-viewport').getOrientation\n \t\t\"dimensions\": {\n \t\t\t\"width\": 1024,\n \t\t\t\"height\": 768\n-\t\t}\n+\t\t},\n+\t\t\"is-offline\": true","path":"docs/event.md","position":null,"original_position":11,"commit_id":"93423352efc057fc8100b75bc7a7930124d1313e","original_commit_id":"c11a5a3e503e0acedbe38b90e89731c9bea26ecc","user":{"login":"georgecrawford","id":84737,"avatar_url":"https://avatars.githubusercontent.com/u/84737?v=3","gravatar_id":"","url":"https://api.github.com/users/georgecrawford","html_url":"https://github.com/georgecrawford","followers_url":"https://api.github.com/users/georgecrawford/followers","following_url":"https://api.github.com/users/georgecrawford/following{/other_user}","gists_url":"https://api.github.com/users/georgecrawford/gists{/gist_id}","starred_url":"https://api.github.com/users/georgecrawford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgecrawford/subscriptions","organizations_url":"https://api.github.com/users/georgecrawford/orgs","repos_url":"https://api.github.com/users/georgecrawford/repos","events_url":"https://api.github.com/users/georgecrawford/events{/privacy}","received_events_url":"https://api.github.com/users/georgecrawford/received_events","type":"User","site_admin":false},"body":"Thanks, totally got that wrong!","created_at":"2015-08-03T10:28:56Z","updated_at":"2015-08-03T10:28:56Z","html_url":"https://github.com/Financial-Times/o-tracking/pull/50#discussion_r36072991","pull_request_url":"https://api.github.com/repos/Financial-Times/o-tracking/pulls/50","_links":{"self":{"href":"https://api.github.com/repos/Financial-Times/o-tracking/pulls/comments/36072991"},"html":{"href":"https://github.com/Financial-Times/o-tracking/pull/50#discussion_r36072991"},"pull_request":{"href":"https://api.github.com/repos/Financial-Times/o-tracking/pulls/50"}}},"pull_request":{"url":"https://api.github.com/repos/Financial-Times/o-tracking/pulls/50","id":41445890,"html_url":"https://github.com/Financial-Times/o-tracking/pull/50","diff_url":"https://github.com/Financial-Times/o-tracking/pull/50.diff","patch_url":"https://github.com/Financial-Times/o-tracking/pull/50.patch","issue_url":"https://api.github.com/repos/Financial-Times/o-tracking/issues/50","number":50,"state":"open","locked":false,"title":"Document is-offline flag","user":{"login":"georgecrawford","id":84737,"avatar_url":"https://avatars.githubusercontent.com/u/84737?v=3","gravatar_id":"","url":"https://api.github.com/users/georgecrawford","html_url":"https://github.com/georgecrawford","followers_url":"https://api.github.com/users/georgecrawford/followers","following_url":"https://api.github.com/users/georgecrawford/following{/other_user}","gists_url":"https://api.github.com/users/georgecrawford/gists{/gist_id}","starred_url":"https://api.github.com/users/georgecrawford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgecrawford/subscriptions","organizations_url":"https://api.github.com/users/georgecrawford/orgs","repos_url":"https://api.github.com/users/georgecrawford/repos","events_url":"https://api.github.com/users/georgecrawford/events{/privacy}","received_events_url":"https://api.github.com/users/georgecrawford/received_events","type":"User","site_admin":false},"body":"In ft-app, we make a best-guess as to whether the User Agent is offline or not, and vary some behaviour accordingly. It's useful to us to document this state along with each event.","created_at":"2015-08-03T08:46:47Z","updated_at":"2015-08-03T10:28:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d89921b92e5b81af3951c5605bb01296d7d035e2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Financial-Times/o-tracking/pulls/50/commits","review_comments_url":"https://api.github.com/repos/Financial-Times/o-tracking/pulls/50/comments","review_comment_url":"https://api.github.com/repos/Financial-Times/o-tracking/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Financial-Times/o-tracking/issues/50/comments","statuses_url":"https://api.github.com/repos/Financial-Times/o-tracking/statuses/93423352efc057fc8100b75bc7a7930124d1313e","head":{"label":"Financial-Times:is-offline","ref":"is-offline","sha":"93423352efc057fc8100b75bc7a7930124d1313e","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":16282233,"name":"o-tracking","full_name":"Financial-Times/o-tracking","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/o-tracking","description":"Origami Tracking component","fork":false,"url":"https://api.github.com/repos/Financial-Times/o-tracking","forks_url":"https://api.github.com/repos/Financial-Times/o-tracking/forks","keys_url":"https://api.github.com/repos/Financial-Times/o-tracking/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/o-tracking/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/o-tracking/teams","hooks_url":"https://api.github.com/repos/Financial-Times/o-tracking/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/o-tracking/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/o-tracking/events","assignees_url":"https://api.github.com/repos/Financial-Times/o-tracking/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/o-tracking/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/o-tracking/tags","blobs_url":"https://api.github.com/repos/Financial-Times/o-tracking/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/o-tracking/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/o-tracking/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/o-tracking/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/o-tracking/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/o-tracking/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/o-tracking/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/o-tracking/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/o-tracking/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/o-tracking/subscription","commits_url":"https://api.github.com/repos/Financial-Times/o-tracking/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/o-tracking/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/o-tracking/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/o-tracking/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/o-tracking/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/o-tracking/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/o-tracking/merges","archive_url":"https://api.github.com/repos/Financial-Times/o-tracking/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/o-tracking/downloads","issues_url":"https://api.github.com/repos/Financial-Times/o-tracking/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/o-tracking/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/o-tracking/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/o-tracking/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/o-tracking/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/o-tracking/releases{/id}","created_at":"2014-01-27T15:04:48Z","updated_at":"2015-07-10T07:35:28Z","pushed_at":"2015-08-03T10:28:24Z","git_url":"git://github.com/Financial-Times/o-tracking.git","ssh_url":"git@github.com:Financial-Times/o-tracking.git","clone_url":"https://github.com/Financial-Times/o-tracking.git","svn_url":"https://github.com/Financial-Times/o-tracking","homepage":"http://registry.origami.ft.com/components/o-tracking","size":2359,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":11,"forks":2,"open_issues":11,"watchers":3,"default_branch":"master"}},"base":{"label":"Financial-Times:master","ref":"master","sha":"73e66d24d1fb8ebf9ec100cb31563fb92a7c5e31","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":16282233,"name":"o-tracking","full_name":"Financial-Times/o-tracking","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/o-tracking","description":"Origami Tracking component","fork":false,"url":"https://api.github.com/repos/Financial-Times/o-tracking","forks_url":"https://api.github.com/repos/Financial-Times/o-tracking/forks","keys_url":"https://api.github.com/repos/Financial-Times/o-tracking/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/o-tracking/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/o-tracking/teams","hooks_url":"https://api.github.com/repos/Financial-Times/o-tracking/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/o-tracking/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/o-tracking/events","assignees_url":"https://api.github.com/repos/Financial-Times/o-tracking/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/o-tracking/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/o-tracking/tags","blobs_url":"https://api.github.com/repos/Financial-Times/o-tracking/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/o-tracking/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/o-tracking/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/o-tracking/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/o-tracking/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/o-tracking/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/o-tracking/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/o-tracking/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/o-tracking/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/o-tracking/subscription","commits_url":"https://api.github.com/repos/Financial-Times/o-tracking/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/o-tracking/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/o-tracking/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/o-tracking/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/o-tracking/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/o-tracking/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/o-tracking/merges","archive_url":"https://api.github.com/repos/Financial-Times/o-tracking/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/o-tracking/downloads","issues_url":"https://api.github.com/repos/Financial-Times/o-tracking/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/o-tracking/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/o-tracking/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/o-tracking/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/o-tracking/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/o-tracking/releases{/id}","created_at":"2014-01-27T15:04:48Z","updated_at":"2015-07-10T07:35:28Z","pushed_at":"2015-08-03T10:28:24Z","git_url":"git://github.com/Financial-Times/o-tracking.git","ssh_url":"git@github.com:Financial-Times/o-tracking.git","clone_url":"https://github.com/Financial-Times/o-tracking.git","svn_url":"https://github.com/Financial-Times/o-tracking","homepage":"http://registry.origami.ft.com/components/o-tracking","size":2359,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":11,"forks":2,"open_issues":11,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Financial-Times/o-tracking/pulls/50"},"html":{"href":"https://github.com/Financial-Times/o-tracking/pull/50"},"issue":{"href":"https://api.github.com/repos/Financial-Times/o-tracking/issues/50"},"comments":{"href":"https://api.github.com/repos/Financial-Times/o-tracking/issues/50/comments"},"review_comments":{"href":"https://api.github.com/repos/Financial-Times/o-tracking/pulls/50/comments"},"review_comment":{"href":"https://api.github.com/repos/Financial-Times/o-tracking/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Financial-Times/o-tracking/pulls/50/commits"},"statuses":{"href":"https://api.github.com/repos/Financial-Times/o-tracking/statuses/93423352efc057fc8100b75bc7a7930124d1313e"}}}}