{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/tofino/pulls/comments/78895246","id":78895246,"diff_hunk":"@@ -10,21 +10,21 @@ CONDITIONS OF ANY KIND, either express or implied. See the License for the\n specific language governing permissions and limitations under the License.\n */\n \n-import UA from '../lib/ua';\n+import * as UserAgent from '../../shared/util/user-agent';","path":"app/ui/content/actions/main-actions.js","position":5,"original_position":5,"commit_id":"e0e62927deb61a3c253514f51e41dce597914f5c","original_commit_id":"af0e4c9d8b007b37f9cb668ecff74249ae0c56f7","user":{"login":"victorporof","id":248899,"avatar_url":"https://avatars.githubusercontent.com/u/248899?v=3","gravatar_id":"","url":"https://api.github.com/users/victorporof","html_url":"https://github.com/victorporof","followers_url":"https://api.github.com/users/victorporof/followers","following_url":"https://api.github.com/users/victorporof/following{/other_user}","gists_url":"https://api.github.com/users/victorporof/gists{/gist_id}","starred_url":"https://api.github.com/users/victorporof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victorporof/subscriptions","organizations_url":"https://api.github.com/users/victorporof/orgs","repos_url":"https://api.github.com/users/victorporof/repos","events_url":"https://api.github.com/users/victorporof/events{/privacy}","received_events_url":"https://api.github.com/users/victorporof/received_events","type":"User","site_admin":false},"body":"Please see my comments on Slack.","created_at":"2016-09-15T06:08:35Z","updated_at":"2016-09-15T06:08:35Z","html_url":"https://github.com/mozilla/tofino/pull/834#discussion_r78895246","pull_request_url":"https://api.github.com/repos/mozilla/tofino/pulls/834","_links":{"self":{"href":"https://api.github.com/repos/mozilla/tofino/pulls/comments/78895246"},"html":{"href":"https://github.com/mozilla/tofino/pull/834#discussion_r78895246"},"pull_request":{"href":"https://api.github.com/repos/mozilla/tofino/pulls/834"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/tofino/pulls/834","id":77897723,"html_url":"https://github.com/mozilla/tofino/pull/834","diff_url":"https://github.com/mozilla/tofino/pull/834.diff","patch_url":"https://github.com/mozilla/tofino/pull/834.patch","issue_url":"https://api.github.com/repos/mozilla/tofino/issues/834","number":834,"state":"open","locked":false,"title":"Document the User Agent Service APIs.","user":{"login":"ncalexan","id":1097182,"avatar_url":"https://avatars.githubusercontent.com/u/1097182?v=3","gravatar_id":"","url":"https://api.github.com/users/ncalexan","html_url":"https://github.com/ncalexan","followers_url":"https://api.github.com/users/ncalexan/followers","following_url":"https://api.github.com/users/ncalexan/following{/other_user}","gists_url":"https://api.github.com/users/ncalexan/gists{/gist_id}","starred_url":"https://api.github.com/users/ncalexan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncalexan/subscriptions","organizations_url":"https://api.github.com/users/ncalexan/orgs","repos_url":"https://api.github.com/users/ncalexan/repos","events_url":"https://api.github.com/users/ncalexan/events{/privacy}","received_events_url":"https://api.github.com/users/ncalexan/received_events","type":"User","site_admin":false},"body":"@rnewman, @bgrins -- here's a first cut at the REST API docs.  This is modeled after https://github.com/mozilla/fxa-auth-server/blob/master/docs/api.md, which I think is first-rate.\r\n\r\nI haven't documented the WebSocket service yet.  Perhaps one of you could do that, or I will get to it eventually.\r\n\r\n@rnewman particular scrutiny on excerpt vs. snippet, which I found confusing, would be nice.  Others can of course bug fix this general overview...","created_at":"2016-07-18T23:44:56Z","updated_at":"2016-09-15T06:08:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e017a988ebf08ede213fbf62d040d6271e1f6e89","assignee":{"login":"bgrins","id":95570,"avatar_url":"https://avatars.githubusercontent.com/u/95570?v=3","gravatar_id":"","url":"https://api.github.com/users/bgrins","html_url":"https://github.com/bgrins","followers_url":"https://api.github.com/users/bgrins/followers","following_url":"https://api.github.com/users/bgrins/following{/other_user}","gists_url":"https://api.github.com/users/bgrins/gists{/gist_id}","starred_url":"https://api.github.com/users/bgrins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgrins/subscriptions","organizations_url":"https://api.github.com/users/bgrins/orgs","repos_url":"https://api.github.com/users/bgrins/repos","events_url":"https://api.github.com/users/bgrins/events{/privacy}","received_events_url":"https://api.github.com/users/bgrins/received_events","type":"User","site_admin":false},"assignees":[{"login":"bgrins","id":95570,"avatar_url":"https://avatars.githubusercontent.com/u/95570?v=3","gravatar_id":"","url":"https://api.github.com/users/bgrins","html_url":"https://github.com/bgrins","followers_url":"https://api.github.com/users/bgrins/followers","following_url":"https://api.github.com/users/bgrins/following{/other_user}","gists_url":"https://api.github.com/users/bgrins/gists{/gist_id}","starred_url":"https://api.github.com/users/bgrins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgrins/subscriptions","organizations_url":"https://api.github.com/users/bgrins/orgs","repos_url":"https://api.github.com/users/bgrins/repos","events_url":"https://api.github.com/users/bgrins/events{/privacy}","received_events_url":"https://api.github.com/users/bgrins/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/tofino/pulls/834/commits","review_comments_url":"https://api.github.com/repos/mozilla/tofino/pulls/834/comments","review_comment_url":"https://api.github.com/repos/mozilla/tofino/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/tofino/issues/834/comments","statuses_url":"https://api.github.com/repos/mozilla/tofino/statuses/e0e62927deb61a3c253514f51e41dce597914f5c","head":{"label":"ncalexan:api-docs","ref":"api-docs","sha":"e0e62927deb61a3c253514f51e41dce597914f5c","user":{"login":"ncalexan","id":1097182,"avatar_url":"https://avatars.githubusercontent.com/u/1097182?v=3","gravatar_id":"","url":"https://api.github.com/users/ncalexan","html_url":"https://github.com/ncalexan","followers_url":"https://api.github.com/users/ncalexan/followers","following_url":"https://api.github.com/users/ncalexan/following{/other_user}","gists_url":"https://api.github.com/users/ncalexan/gists{/gist_id}","starred_url":"https://api.github.com/users/ncalexan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncalexan/subscriptions","organizations_url":"https://api.github.com/users/ncalexan/orgs","repos_url":"https://api.github.com/users/ncalexan/repos","events_url":"https://api.github.com/users/ncalexan/events{/privacy}","received_events_url":"https://api.github.com/users/ncalexan/received_events","type":"User","site_admin":false},"repo":{"id":55736603,"name":"tofino","full_name":"ncalexan/tofino","owner":{"login":"ncalexan","id":1097182,"avatar_url":"https://avatars.githubusercontent.com/u/1097182?v=3","gravatar_id":"","url":"https://api.github.com/users/ncalexan","html_url":"https://github.com/ncalexan","followers_url":"https://api.github.com/users/ncalexan/followers","following_url":"https://api.github.com/users/ncalexan/following{/other_user}","gists_url":"https://api.github.com/users/ncalexan/gists{/gist_id}","starred_url":"https://api.github.com/users/ncalexan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncalexan/subscriptions","organizations_url":"https://api.github.com/users/ncalexan/orgs","repos_url":"https://api.github.com/users/ncalexan/repos","events_url":"https://api.github.com/users/ncalexan/events{/privacy}","received_events_url":"https://api.github.com/users/ncalexan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ncalexan/tofino","description":"Project Tofino is a browser interaction experiment.","fork":true,"url":"https://api.github.com/repos/ncalexan/tofino","forks_url":"https://api.github.com/repos/ncalexan/tofino/forks","keys_url":"https://api.github.com/repos/ncalexan/tofino/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ncalexan/tofino/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ncalexan/tofino/teams","hooks_url":"https://api.github.com/repos/ncalexan/tofino/hooks","issue_events_url":"https://api.github.com/repos/ncalexan/tofino/issues/events{/number}","events_url":"https://api.github.com/repos/ncalexan/tofino/events","assignees_url":"https://api.github.com/repos/ncalexan/tofino/assignees{/user}","branches_url":"https://api.github.com/repos/ncalexan/tofino/branches{/branch}","tags_url":"https://api.github.com/repos/ncalexan/tofino/tags","blobs_url":"https://api.github.com/repos/ncalexan/tofino/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ncalexan/tofino/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ncalexan/tofino/git/refs{/sha}","trees_url":"https://api.github.com/repos/ncalexan/tofino/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ncalexan/tofino/statuses/{sha}","languages_url":"https://api.github.com/repos/ncalexan/tofino/languages","stargazers_url":"https://api.github.com/repos/ncalexan/tofino/stargazers","contributors_url":"https://api.github.com/repos/ncalexan/tofino/contributors","subscribers_url":"https://api.github.com/repos/ncalexan/tofino/subscribers","subscription_url":"https://api.github.com/repos/ncalexan/tofino/subscription","commits_url":"https://api.github.com/repos/ncalexan/tofino/commits{/sha}","git_commits_url":"https://api.github.com/repos/ncalexan/tofino/git/commits{/sha}","comments_url":"https://api.github.com/repos/ncalexan/tofino/comments{/number}","issue_comment_url":"https://api.github.com/repos/ncalexan/tofino/issues/comments{/number}","contents_url":"https://api.github.com/repos/ncalexan/tofino/contents/{+path}","compare_url":"https://api.github.com/repos/ncalexan/tofino/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ncalexan/tofino/merges","archive_url":"https://api.github.com/repos/ncalexan/tofino/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ncalexan/tofino/downloads","issues_url":"https://api.github.com/repos/ncalexan/tofino/issues{/number}","pulls_url":"https://api.github.com/repos/ncalexan/tofino/pulls{/number}","milestones_url":"https://api.github.com/repos/ncalexan/tofino/milestones{/number}","notifications_url":"https://api.github.com/repos/ncalexan/tofino/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ncalexan/tofino/labels{/name}","releases_url":"https://api.github.com/repos/ncalexan/tofino/releases{/id}","deployments_url":"https://api.github.com/repos/ncalexan/tofino/deployments","created_at":"2016-04-08T00:12:37Z","updated_at":"2016-06-10T18:31:55Z","pushed_at":"2016-09-14T21:34:39Z","git_url":"git://github.com/ncalexan/tofino.git","ssh_url":"git@github.com:ncalexan/tofino.git","clone_url":"https://github.com/ncalexan/tofino.git","svn_url":"https://github.com/ncalexan/tofino","homepage":"https://medium.com/project-tofino","size":4161,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"118725469420807d54eb51b4d21ea33cf77ee3ec","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":55401807,"name":"tofino","full_name":"mozilla/tofino","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/tofino","description":"Project Tofino is a browser interaction experiment.","fork":false,"url":"https://api.github.com/repos/mozilla/tofino","forks_url":"https://api.github.com/repos/mozilla/tofino/forks","keys_url":"https://api.github.com/repos/mozilla/tofino/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/tofino/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/tofino/teams","hooks_url":"https://api.github.com/repos/mozilla/tofino/hooks","issue_events_url":"https://api.github.com/repos/mozilla/tofino/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/tofino/events","assignees_url":"https://api.github.com/repos/mozilla/tofino/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/tofino/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/tofino/tags","blobs_url":"https://api.github.com/repos/mozilla/tofino/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/tofino/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/tofino/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/tofino/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/tofino/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/tofino/languages","stargazers_url":"https://api.github.com/repos/mozilla/tofino/stargazers","contributors_url":"https://api.github.com/repos/mozilla/tofino/contributors","subscribers_url":"https://api.github.com/repos/mozilla/tofino/subscribers","subscription_url":"https://api.github.com/repos/mozilla/tofino/subscription","commits_url":"https://api.github.com/repos/mozilla/tofino/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/tofino/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/tofino/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/tofino/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/tofino/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/tofino/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/tofino/merges","archive_url":"https://api.github.com/repos/mozilla/tofino/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/tofino/downloads","issues_url":"https://api.github.com/repos/mozilla/tofino/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/tofino/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/tofino/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/tofino/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/tofino/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/tofino/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla/tofino/deployments","created_at":"2016-04-04T10:13:26Z","updated_at":"2016-09-13T19:50:42Z","pushed_at":"2016-09-15T05:58:56Z","git_url":"git://github.com/mozilla/tofino.git","ssh_url":"git@github.com:mozilla/tofino.git","clone_url":"https://github.com/mozilla/tofino.git","svn_url":"https://github.com/mozilla/tofino","homepage":"https://mozilla.github.io/tofino","size":5714,"stargazers_count":521,"watchers_count":521,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":56,"mirror_url":null,"open_issues_count":98,"forks":56,"open_issues":98,"watchers":521,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/tofino/pulls/834"},"html":{"href":"https://github.com/mozilla/tofino/pull/834"},"issue":{"href":"https://api.github.com/repos/mozilla/tofino/issues/834"},"comments":{"href":"https://api.github.com/repos/mozilla/tofino/issues/834/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/tofino/pulls/834/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/tofino/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/tofino/pulls/834/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/tofino/statuses/e0e62927deb61a3c253514f51e41dce597914f5c"}}}}
{"actor":{"display_login":"victorporof"}}