{"action":"opened","number":20,"pull_request":{"url":"https://api.github.com/repos/hiveteams/hive-graphql-server/pulls/20","id":183153445,"html_url":"https://github.com/hiveteams/hive-graphql-server/pull/20","diff_url":"https://github.com/hiveteams/hive-graphql-server/pull/20.diff","patch_url":"https://github.com/hiveteams/hive-graphql-server/pull/20.patch","issue_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/issues/20","number":20,"state":"open","locked":false,"title":"Use online status method update instead of updating database directly","user":{"login":"etyp","id":5808998,"avatar_url":"https://avatars2.githubusercontent.com/u/5808998?v=4","gravatar_id":"","url":"https://api.github.com/users/etyp","html_url":"https://github.com/etyp","followers_url":"https://api.github.com/users/etyp/followers","following_url":"https://api.github.com/users/etyp/following{/other_user}","gists_url":"https://api.github.com/users/etyp/gists{/gist_id}","starred_url":"https://api.github.com/users/etyp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etyp/subscriptions","organizations_url":"https://api.github.com/users/etyp/orgs","repos_url":"https://api.github.com/users/etyp/repos","events_url":"https://api.github.com/users/etyp/events{/privacy}","received_events_url":"https://api.github.com/users/etyp/received_events","type":"User","site_admin":false},"body":"# Pull Request Checklist\r\n\r\n- [ ] Make sure all new queries, mutations, subscriptions and fields have descriptions so others can understand their purpose\r\n","created_at":"2018-04-20T19:43:23Z","updated_at":"2018-04-20T19:43:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/pulls/20/commits","review_comments_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/pulls/20/comments","review_comment_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/issues/20/comments","statuses_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/statuses/28e3e8b93196d7e8fe176a493eb6199ec48828ae","head":{"label":"hiveteams:feature-online-status-method","ref":"feature-online-status-method","sha":"28e3e8b93196d7e8fe176a493eb6199ec48828ae","user":{"login":"hiveteams","id":13912057,"avatar_url":"https://avatars1.githubusercontent.com/u/13912057?v=4","gravatar_id":"","url":"https://api.github.com/users/hiveteams","html_url":"https://github.com/hiveteams","followers_url":"https://api.github.com/users/hiveteams/followers","following_url":"https://api.github.com/users/hiveteams/following{/other_user}","gists_url":"https://api.github.com/users/hiveteams/gists{/gist_id}","starred_url":"https://api.github.com/users/hiveteams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hiveteams/subscriptions","organizations_url":"https://api.github.com/users/hiveteams/orgs","repos_url":"https://api.github.com/users/hiveteams/repos","events_url":"https://api.github.com/users/hiveteams/events{/privacy}","received_events_url":"https://api.github.com/users/hiveteams/received_events","type":"Organization","site_admin":false},"repo":{"id":101592118,"name":"hive-graphql-server","full_name":"hiveteams/hive-graphql-server","owner":{"login":"hiveteams","id":13912057,"avatar_url":"https://avatars1.githubusercontent.com/u/13912057?v=4","gravatar_id":"","url":"https://api.github.com/users/hiveteams","html_url":"https://github.com/hiveteams","followers_url":"https://api.github.com/users/hiveteams/followers","following_url":"https://api.github.com/users/hiveteams/following{/other_user}","gists_url":"https://api.github.com/users/hiveteams/gists{/gist_id}","starred_url":"https://api.github.com/users/hiveteams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hiveteams/subscriptions","organizations_url":"https://api.github.com/users/hiveteams/orgs","repos_url":"https://api.github.com/users/hiveteams/repos","events_url":"https://api.github.com/users/hiveteams/events{/privacy}","received_events_url":"https://api.github.com/users/hiveteams/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hiveteams/hive-graphql-server","description":"GraphQL API for Hive","fork":false,"url":"https://api.github.com/repos/hiveteams/hive-graphql-server","forks_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/forks","keys_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/teams","hooks_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/hooks","issue_events_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/issues/events{/number}","events_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/events","assignees_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/assignees{/user}","branches_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/branches{/branch}","tags_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/tags","blobs_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/statuses/{sha}","languages_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/languages","stargazers_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/stargazers","contributors_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/contributors","subscribers_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/subscribers","subscription_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/subscription","commits_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/contents/{+path}","compare_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/merges","archive_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/downloads","issues_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/issues{/number}","pulls_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/pulls{/number}","milestones_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/milestones{/number}","notifications_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/labels{/name}","releases_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/releases{/id}","deployments_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/deployments","created_at":"2017-08-28T01:28:10Z","updated_at":"2018-04-17T16:42:09Z","pushed_at":"2018-04-20T19:43:12Z","git_url":"git://github.com/hiveteams/hive-graphql-server.git","ssh_url":"git@github.com:hiveteams/hive-graphql-server.git","clone_url":"https://github.com/hiveteams/hive-graphql-server.git","svn_url":"https://github.com/hiveteams/hive-graphql-server","homepage":"","size":1645,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"hiveteams:master","ref":"master","sha":"0b7826ed66943f939b1b84e1f25b7a45d1bd548d","user":{"login":"hiveteams","id":13912057,"avatar_url":"https://avatars1.githubusercontent.com/u/13912057?v=4","gravatar_id":"","url":"https://api.github.com/users/hiveteams","html_url":"https://github.com/hiveteams","followers_url":"https://api.github.com/users/hiveteams/followers","following_url":"https://api.github.com/users/hiveteams/following{/other_user}","gists_url":"https://api.github.com/users/hiveteams/gists{/gist_id}","starred_url":"https://api.github.com/users/hiveteams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hiveteams/subscriptions","organizations_url":"https://api.github.com/users/hiveteams/orgs","repos_url":"https://api.github.com/users/hiveteams/repos","events_url":"https://api.github.com/users/hiveteams/events{/privacy}","received_events_url":"https://api.github.com/users/hiveteams/received_events","type":"Organization","site_admin":false},"repo":{"id":101592118,"name":"hive-graphql-server","full_name":"hiveteams/hive-graphql-server","owner":{"login":"hiveteams","id":13912057,"avatar_url":"https://avatars1.githubusercontent.com/u/13912057?v=4","gravatar_id":"","url":"https://api.github.com/users/hiveteams","html_url":"https://github.com/hiveteams","followers_url":"https://api.github.com/users/hiveteams/followers","following_url":"https://api.github.com/users/hiveteams/following{/other_user}","gists_url":"https://api.github.com/users/hiveteams/gists{/gist_id}","starred_url":"https://api.github.com/users/hiveteams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hiveteams/subscriptions","organizations_url":"https://api.github.com/users/hiveteams/orgs","repos_url":"https://api.github.com/users/hiveteams/repos","events_url":"https://api.github.com/users/hiveteams/events{/privacy}","received_events_url":"https://api.github.com/users/hiveteams/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hiveteams/hive-graphql-server","description":"GraphQL API for Hive","fork":false,"url":"https://api.github.com/repos/hiveteams/hive-graphql-server","forks_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/forks","keys_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/teams","hooks_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/hooks","issue_events_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/issues/events{/number}","events_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/events","assignees_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/assignees{/user}","branches_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/branches{/branch}","tags_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/tags","blobs_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/statuses/{sha}","languages_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/languages","stargazers_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/stargazers","contributors_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/contributors","subscribers_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/subscribers","subscription_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/subscription","commits_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/contents/{+path}","compare_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/merges","archive_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/downloads","issues_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/issues{/number}","pulls_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/pulls{/number}","milestones_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/milestones{/number}","notifications_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/labels{/name}","releases_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/releases{/id}","deployments_url":"https://api.github.com/repos/hiveteams/hive-graphql-server/deployments","created_at":"2017-08-28T01:28:10Z","updated_at":"2018-04-17T16:42:09Z","pushed_at":"2018-04-20T19:43:12Z","git_url":"git://github.com/hiveteams/hive-graphql-server.git","ssh_url":"git@github.com:hiveteams/hive-graphql-server.git","clone_url":"https://github.com/hiveteams/hive-graphql-server.git","svn_url":"https://github.com/hiveteams/hive-graphql-server","homepage":"","size":1645,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hiveteams/hive-graphql-server/pulls/20"},"html":{"href":"https://github.com/hiveteams/hive-graphql-server/pull/20"},"issue":{"href":"https://api.github.com/repos/hiveteams/hive-graphql-server/issues/20"},"comments":{"href":"https://api.github.com/repos/hiveteams/hive-graphql-server/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/hiveteams/hive-graphql-server/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/hiveteams/hive-graphql-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hiveteams/hive-graphql-server/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/hiveteams/hive-graphql-server/statuses/28e3e8b93196d7e8fe176a493eb6199ec48828ae"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":4,"deletions":12,"changed_files":2}}
{"actor":{"display_login":"etyp"}}