{"action":"created","comment":{"url":"https://api.github.com/repos/BrambleLLC/status/pulls/comments/89550416","pull_request_review_id":10096337,"id":89550416,"diff_hunk":"@@ -0,0 +1,148 @@\n+package status\n+\n+import (\n+\t\"time\"\n+\n+\t\"golang.org/x/net/context\"\n+\n+\t\"google.golang.org/appengine\"\n+\t\"google.golang.org/appengine/datastore\"\n+\t\"google.golang.org/appengine/memcache\"\n+\n+\t\"net/http\"\n+\n+\t\"github.com/BrambleLLC/juniper\"\n+\t\"github.com/BrambleLLC/juniper/middleware\"\n+\t\"github.com/BrambleLLC/juniper/token\"\n+\t\"github.com/BrambleLLC/schema\"\n+\t\"github.com/go-martini/martini\"\n+)\n+\n+// OnlineFriendModel serves as a model for each online friend returned by\n+// this microservice.\n+type OnlineFriendModel struct {\n+\tUsername string `json:\"username\"`\n+\tUUID     string `json:\"friendship_id\"`\n+\tOnline   bool   `json:\"status\"`\n+}\n+","path":"service.go","position":28,"original_position":28,"commit_id":"2354eeb4c08ce4fedbdb8008c1b6425cb6c3f428","original_commit_id":"2354eeb4c08ce4fedbdb8008c1b6425cb6c3f428","user":{"login":"nfegard","id":8585983,"avatar_url":"https://avatars.githubusercontent.com/u/8585983?v=3","gravatar_id":"","url":"https://api.github.com/users/nfegard","html_url":"https://github.com/nfegard","followers_url":"https://api.github.com/users/nfegard/followers","following_url":"https://api.github.com/users/nfegard/following{/other_user}","gists_url":"https://api.github.com/users/nfegard/gists{/gist_id}","starred_url":"https://api.github.com/users/nfegard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nfegard/subscriptions","organizations_url":"https://api.github.com/users/nfegard/orgs","repos_url":"https://api.github.com/users/nfegard/repos","events_url":"https://api.github.com/users/nfegard/events{/privacy}","received_events_url":"https://api.github.com/users/nfegard/received_events","type":"User","site_admin":false},"body":"Just something to think about: Are we planning on making tags part of this microservice? Thinking about it now, it seems like a perfect fit but we may come up with reasons to separate it. Just food for thought.","created_at":"2016-11-24T22:44:02Z","updated_at":"2016-11-24T22:44:02Z","html_url":"https://github.com/BrambleLLC/status/pull/1#discussion_r89550416","pull_request_url":"https://api.github.com/repos/BrambleLLC/status/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/BrambleLLC/status/pulls/comments/89550416"},"html":{"href":"https://github.com/BrambleLLC/status/pull/1#discussion_r89550416"},"pull_request":{"href":"https://api.github.com/repos/BrambleLLC/status/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/BrambleLLC/status/pulls/1","id":95228410,"html_url":"https://github.com/BrambleLLC/status/pull/1","diff_url":"https://github.com/BrambleLLC/status/pull/1.diff","patch_url":"https://github.com/BrambleLLC/status/pull/1.patch","issue_url":"https://api.github.com/repos/BrambleLLC/status/issues/1","number":1,"state":"open","locked":false,"title":"Basic functionality for the status API","user":{"login":"stevex86","id":6069481,"avatar_url":"https://avatars.githubusercontent.com/u/6069481?v=3","gravatar_id":"","url":"https://api.github.com/users/stevex86","html_url":"https://github.com/stevex86","followers_url":"https://api.github.com/users/stevex86/followers","following_url":"https://api.github.com/users/stevex86/following{/other_user}","gists_url":"https://api.github.com/users/stevex86/gists{/gist_id}","starred_url":"https://api.github.com/users/stevex86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevex86/subscriptions","organizations_url":"https://api.github.com/users/stevex86/orgs","repos_url":"https://api.github.com/users/stevex86/repos","events_url":"https://api.github.com/users/stevex86/events{/privacy}","received_events_url":"https://api.github.com/users/stevex86/received_events","type":"User","site_admin":false},"body":"# Go online\r\n<img width=\"1363\" alt=\"Go online\" src=\"https://cloud.githubusercontent.com/assets/6069481/20610102/40064992-b252-11e6-88f3-d0efc02c523c.png\">\r\n<hr>\r\n\r\n# Check online friends\r\n<img width=\"1360\" alt=\"Friends who are online\" src=\"https://cloud.githubusercontent.com/assets/6069481/20610108/5118243a-b252-11e6-8213-5601096ef7b3.png\">\r\n<hr>\r\n\r\nNo JSON body required, just validate the token and use the user ID in the token to perform the work.","created_at":"2016-11-24T21:19:13Z","updated_at":"2016-11-24T22:44:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d695cbb94190939292c48d12ee8468b2f0c9c99a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/BrambleLLC/status/pulls/1/commits","review_comments_url":"https://api.github.com/repos/BrambleLLC/status/pulls/1/comments","review_comment_url":"https://api.github.com/repos/BrambleLLC/status/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BrambleLLC/status/issues/1/comments","statuses_url":"https://api.github.com/repos/BrambleLLC/status/statuses/2354eeb4c08ce4fedbdb8008c1b6425cb6c3f428","head":{"label":"BrambleLLC:bootstrap","ref":"bootstrap","sha":"2354eeb4c08ce4fedbdb8008c1b6425cb6c3f428","user":{"login":"BrambleLLC","id":9893897,"avatar_url":"https://avatars.githubusercontent.com/u/9893897?v=3","gravatar_id":"","url":"https://api.github.com/users/BrambleLLC","html_url":"https://github.com/BrambleLLC","followers_url":"https://api.github.com/users/BrambleLLC/followers","following_url":"https://api.github.com/users/BrambleLLC/following{/other_user}","gists_url":"https://api.github.com/users/BrambleLLC/gists{/gist_id}","starred_url":"https://api.github.com/users/BrambleLLC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrambleLLC/subscriptions","organizations_url":"https://api.github.com/users/BrambleLLC/orgs","repos_url":"https://api.github.com/users/BrambleLLC/repos","events_url":"https://api.github.com/users/BrambleLLC/events{/privacy}","received_events_url":"https://api.github.com/users/BrambleLLC/received_events","type":"Organization","site_admin":false},"repo":{"id":74409543,"name":"status","full_name":"BrambleLLC/status","owner":{"login":"BrambleLLC","id":9893897,"avatar_url":"https://avatars.githubusercontent.com/u/9893897?v=3","gravatar_id":"","url":"https://api.github.com/users/BrambleLLC","html_url":"https://github.com/BrambleLLC","followers_url":"https://api.github.com/users/BrambleLLC/followers","following_url":"https://api.github.com/users/BrambleLLC/following{/other_user}","gists_url":"https://api.github.com/users/BrambleLLC/gists{/gist_id}","starred_url":"https://api.github.com/users/BrambleLLC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrambleLLC/subscriptions","organizations_url":"https://api.github.com/users/BrambleLLC/orgs","repos_url":"https://api.github.com/users/BrambleLLC/repos","events_url":"https://api.github.com/users/BrambleLLC/events{/privacy}","received_events_url":"https://api.github.com/users/BrambleLLC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BrambleLLC/status","description":null,"fork":false,"url":"https://api.github.com/repos/BrambleLLC/status","forks_url":"https://api.github.com/repos/BrambleLLC/status/forks","keys_url":"https://api.github.com/repos/BrambleLLC/status/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BrambleLLC/status/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BrambleLLC/status/teams","hooks_url":"https://api.github.com/repos/BrambleLLC/status/hooks","issue_events_url":"https://api.github.com/repos/BrambleLLC/status/issues/events{/number}","events_url":"https://api.github.com/repos/BrambleLLC/status/events","assignees_url":"https://api.github.com/repos/BrambleLLC/status/assignees{/user}","branches_url":"https://api.github.com/repos/BrambleLLC/status/branches{/branch}","tags_url":"https://api.github.com/repos/BrambleLLC/status/tags","blobs_url":"https://api.github.com/repos/BrambleLLC/status/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BrambleLLC/status/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BrambleLLC/status/git/refs{/sha}","trees_url":"https://api.github.com/repos/BrambleLLC/status/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BrambleLLC/status/statuses/{sha}","languages_url":"https://api.github.com/repos/BrambleLLC/status/languages","stargazers_url":"https://api.github.com/repos/BrambleLLC/status/stargazers","contributors_url":"https://api.github.com/repos/BrambleLLC/status/contributors","subscribers_url":"https://api.github.com/repos/BrambleLLC/status/subscribers","subscription_url":"https://api.github.com/repos/BrambleLLC/status/subscription","commits_url":"https://api.github.com/repos/BrambleLLC/status/commits{/sha}","git_commits_url":"https://api.github.com/repos/BrambleLLC/status/git/commits{/sha}","comments_url":"https://api.github.com/repos/BrambleLLC/status/comments{/number}","issue_comment_url":"https://api.github.com/repos/BrambleLLC/status/issues/comments{/number}","contents_url":"https://api.github.com/repos/BrambleLLC/status/contents/{+path}","compare_url":"https://api.github.com/repos/BrambleLLC/status/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BrambleLLC/status/merges","archive_url":"https://api.github.com/repos/BrambleLLC/status/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BrambleLLC/status/downloads","issues_url":"https://api.github.com/repos/BrambleLLC/status/issues{/number}","pulls_url":"https://api.github.com/repos/BrambleLLC/status/pulls{/number}","milestones_url":"https://api.github.com/repos/BrambleLLC/status/milestones{/number}","notifications_url":"https://api.github.com/repos/BrambleLLC/status/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BrambleLLC/status/labels{/name}","releases_url":"https://api.github.com/repos/BrambleLLC/status/releases{/id}","deployments_url":"https://api.github.com/repos/BrambleLLC/status/deployments","created_at":"2016-11-21T21:58:03Z","updated_at":"2016-11-24T21:18:28Z","pushed_at":"2016-11-24T21:19:14Z","git_url":"git://github.com/BrambleLLC/status.git","ssh_url":"git@github.com:BrambleLLC/status.git","clone_url":"https://github.com/BrambleLLC/status.git","svn_url":"https://github.com/BrambleLLC/status","homepage":null,"size":4,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"bootstrap"}},"base":{"label":"BrambleLLC:develop","ref":"develop","sha":"57bde82b86764049a34dafd776865bd677ef3932","user":{"login":"BrambleLLC","id":9893897,"avatar_url":"https://avatars.githubusercontent.com/u/9893897?v=3","gravatar_id":"","url":"https://api.github.com/users/BrambleLLC","html_url":"https://github.com/BrambleLLC","followers_url":"https://api.github.com/users/BrambleLLC/followers","following_url":"https://api.github.com/users/BrambleLLC/following{/other_user}","gists_url":"https://api.github.com/users/BrambleLLC/gists{/gist_id}","starred_url":"https://api.github.com/users/BrambleLLC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrambleLLC/subscriptions","organizations_url":"https://api.github.com/users/BrambleLLC/orgs","repos_url":"https://api.github.com/users/BrambleLLC/repos","events_url":"https://api.github.com/users/BrambleLLC/events{/privacy}","received_events_url":"https://api.github.com/users/BrambleLLC/received_events","type":"Organization","site_admin":false},"repo":{"id":74409543,"name":"status","full_name":"BrambleLLC/status","owner":{"login":"BrambleLLC","id":9893897,"avatar_url":"https://avatars.githubusercontent.com/u/9893897?v=3","gravatar_id":"","url":"https://api.github.com/users/BrambleLLC","html_url":"https://github.com/BrambleLLC","followers_url":"https://api.github.com/users/BrambleLLC/followers","following_url":"https://api.github.com/users/BrambleLLC/following{/other_user}","gists_url":"https://api.github.com/users/BrambleLLC/gists{/gist_id}","starred_url":"https://api.github.com/users/BrambleLLC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrambleLLC/subscriptions","organizations_url":"https://api.github.com/users/BrambleLLC/orgs","repos_url":"https://api.github.com/users/BrambleLLC/repos","events_url":"https://api.github.com/users/BrambleLLC/events{/privacy}","received_events_url":"https://api.github.com/users/BrambleLLC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BrambleLLC/status","description":null,"fork":false,"url":"https://api.github.com/repos/BrambleLLC/status","forks_url":"https://api.github.com/repos/BrambleLLC/status/forks","keys_url":"https://api.github.com/repos/BrambleLLC/status/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BrambleLLC/status/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BrambleLLC/status/teams","hooks_url":"https://api.github.com/repos/BrambleLLC/status/hooks","issue_events_url":"https://api.github.com/repos/BrambleLLC/status/issues/events{/number}","events_url":"https://api.github.com/repos/BrambleLLC/status/events","assignees_url":"https://api.github.com/repos/BrambleLLC/status/assignees{/user}","branches_url":"https://api.github.com/repos/BrambleLLC/status/branches{/branch}","tags_url":"https://api.github.com/repos/BrambleLLC/status/tags","blobs_url":"https://api.github.com/repos/BrambleLLC/status/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BrambleLLC/status/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BrambleLLC/status/git/refs{/sha}","trees_url":"https://api.github.com/repos/BrambleLLC/status/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BrambleLLC/status/statuses/{sha}","languages_url":"https://api.github.com/repos/BrambleLLC/status/languages","stargazers_url":"https://api.github.com/repos/BrambleLLC/status/stargazers","contributors_url":"https://api.github.com/repos/BrambleLLC/status/contributors","subscribers_url":"https://api.github.com/repos/BrambleLLC/status/subscribers","subscription_url":"https://api.github.com/repos/BrambleLLC/status/subscription","commits_url":"https://api.github.com/repos/BrambleLLC/status/commits{/sha}","git_commits_url":"https://api.github.com/repos/BrambleLLC/status/git/commits{/sha}","comments_url":"https://api.github.com/repos/BrambleLLC/status/comments{/number}","issue_comment_url":"https://api.github.com/repos/BrambleLLC/status/issues/comments{/number}","contents_url":"https://api.github.com/repos/BrambleLLC/status/contents/{+path}","compare_url":"https://api.github.com/repos/BrambleLLC/status/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BrambleLLC/status/merges","archive_url":"https://api.github.com/repos/BrambleLLC/status/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BrambleLLC/status/downloads","issues_url":"https://api.github.com/repos/BrambleLLC/status/issues{/number}","pulls_url":"https://api.github.com/repos/BrambleLLC/status/pulls{/number}","milestones_url":"https://api.github.com/repos/BrambleLLC/status/milestones{/number}","notifications_url":"https://api.github.com/repos/BrambleLLC/status/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BrambleLLC/status/labels{/name}","releases_url":"https://api.github.com/repos/BrambleLLC/status/releases{/id}","deployments_url":"https://api.github.com/repos/BrambleLLC/status/deployments","created_at":"2016-11-21T21:58:03Z","updated_at":"2016-11-24T21:18:28Z","pushed_at":"2016-11-24T21:19:14Z","git_url":"git://github.com/BrambleLLC/status.git","ssh_url":"git@github.com:BrambleLLC/status.git","clone_url":"https://github.com/BrambleLLC/status.git","svn_url":"https://github.com/BrambleLLC/status","homepage":null,"size":4,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"bootstrap"}},"_links":{"self":{"href":"https://api.github.com/repos/BrambleLLC/status/pulls/1"},"html":{"href":"https://github.com/BrambleLLC/status/pull/1"},"issue":{"href":"https://api.github.com/repos/BrambleLLC/status/issues/1"},"comments":{"href":"https://api.github.com/repos/BrambleLLC/status/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/BrambleLLC/status/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/BrambleLLC/status/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BrambleLLC/status/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/BrambleLLC/status/statuses/2354eeb4c08ce4fedbdb8008c1b6425cb6c3f428"}}}}
{"actor":{"display_login":"nfegard"}}