{"action":"opened","number":30,"pull_request":{"url":"https://api.github.com/repos/realm/my-first-realm-app/pulls/30","id":180171437,"html_url":"https://github.com/realm/my-first-realm-app/pull/30","diff_url":"https://github.com/realm/my-first-realm-app/pull/30.diff","patch_url":"https://github.com/realm/my-first-realm-app/pull/30.patch","issue_url":"https://api.github.com/repos/realm/my-first-realm-app/issues/30","number":30,"state":"open","locked":false,"title":"Advanced permission tutorial","user":{"login":"nhachicha","id":1793238,"avatar_url":"https://avatars0.githubusercontent.com/u/1793238?v=4","gravatar_id":"","url":"https://api.github.com/users/nhachicha","html_url":"https://github.com/nhachicha","followers_url":"https://api.github.com/users/nhachicha/followers","following_url":"https://api.github.com/users/nhachicha/following{/other_user}","gists_url":"https://api.github.com/users/nhachicha/gists{/gist_id}","starred_url":"https://api.github.com/users/nhachicha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhachicha/subscriptions","organizations_url":"https://api.github.com/users/nhachicha/orgs","repos_url":"https://api.github.com/users/nhachicha/repos","events_url":"https://api.github.com/users/nhachicha/events{/privacy}","received_events_url":"https://api.github.com/users/nhachicha/received_events","type":"User","site_admin":false},"body":"Add a chat demo app, that uses the permission API to demonstrate more use cases with this API.\r\n\r\nThe basic idea of the app is to allow a user to create public (world readable/writable) chat room, and a private chat room, where the user can invite particular users  then grant `read`/`wite` permission(s)\r\n\r\nthe review should primarily be on the following classes (in order)\r\n- `PermissionHelper`\r\n- `GrantPermissionsActivity`\r\n- `ChatRoomActivity`\r\n- `ChatRoomsActivity`","created_at":"2018-04-08T17:51:22Z","updated_at":"2018-04-08T17:51:22Z","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/realm/my-first-realm-app/pulls/30/commits","review_comments_url":"https://api.github.com/repos/realm/my-first-realm-app/pulls/30/comments","review_comment_url":"https://api.github.com/repos/realm/my-first-realm-app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/realm/my-first-realm-app/issues/30/comments","statuses_url":"https://api.github.com/repos/realm/my-first-realm-app/statuses/a3a7af283616376536f048c916ed2ebd337aae55","head":{"label":"realm:nh/advanced_permission_tutorial","ref":"nh/advanced_permission_tutorial","sha":"a3a7af283616376536f048c916ed2ebd337aae55","user":{"login":"realm","id":7575099,"avatar_url":"https://avatars0.githubusercontent.com/u/7575099?v=4","gravatar_id":"","url":"https://api.github.com/users/realm","html_url":"https://github.com/realm","followers_url":"https://api.github.com/users/realm/followers","following_url":"https://api.github.com/users/realm/following{/other_user}","gists_url":"https://api.github.com/users/realm/gists{/gist_id}","starred_url":"https://api.github.com/users/realm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realm/subscriptions","organizations_url":"https://api.github.com/users/realm/orgs","repos_url":"https://api.github.com/users/realm/repos","events_url":"https://api.github.com/users/realm/events{/privacy}","received_events_url":"https://api.github.com/users/realm/received_events","type":"Organization","site_admin":false},"repo":{"id":117816332,"name":"my-first-realm-app","full_name":"realm/my-first-realm-app","owner":{"login":"realm","id":7575099,"avatar_url":"https://avatars0.githubusercontent.com/u/7575099?v=4","gravatar_id":"","url":"https://api.github.com/users/realm","html_url":"https://github.com/realm","followers_url":"https://api.github.com/users/realm/followers","following_url":"https://api.github.com/users/realm/following{/other_user}","gists_url":"https://api.github.com/users/realm/gists{/gist_id}","starred_url":"https://api.github.com/users/realm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realm/subscriptions","organizations_url":"https://api.github.com/users/realm/orgs","repos_url":"https://api.github.com/users/realm/repos","events_url":"https://api.github.com/users/realm/events{/privacy}","received_events_url":"https://api.github.com/users/realm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/realm/my-first-realm-app","description":"ToDo demo app using Realm and Realm Object Server to  synchronize tasks. ","fork":false,"url":"https://api.github.com/repos/realm/my-first-realm-app","forks_url":"https://api.github.com/repos/realm/my-first-realm-app/forks","keys_url":"https://api.github.com/repos/realm/my-first-realm-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/realm/my-first-realm-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/realm/my-first-realm-app/teams","hooks_url":"https://api.github.com/repos/realm/my-first-realm-app/hooks","issue_events_url":"https://api.github.com/repos/realm/my-first-realm-app/issues/events{/number}","events_url":"https://api.github.com/repos/realm/my-first-realm-app/events","assignees_url":"https://api.github.com/repos/realm/my-first-realm-app/assignees{/user}","branches_url":"https://api.github.com/repos/realm/my-first-realm-app/branches{/branch}","tags_url":"https://api.github.com/repos/realm/my-first-realm-app/tags","blobs_url":"https://api.github.com/repos/realm/my-first-realm-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/realm/my-first-realm-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/realm/my-first-realm-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/realm/my-first-realm-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/realm/my-first-realm-app/statuses/{sha}","languages_url":"https://api.github.com/repos/realm/my-first-realm-app/languages","stargazers_url":"https://api.github.com/repos/realm/my-first-realm-app/stargazers","contributors_url":"https://api.github.com/repos/realm/my-first-realm-app/contributors","subscribers_url":"https://api.github.com/repos/realm/my-first-realm-app/subscribers","subscription_url":"https://api.github.com/repos/realm/my-first-realm-app/subscription","commits_url":"https://api.github.com/repos/realm/my-first-realm-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/realm/my-first-realm-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/realm/my-first-realm-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/realm/my-first-realm-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/realm/my-first-realm-app/contents/{+path}","compare_url":"https://api.github.com/repos/realm/my-first-realm-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/realm/my-first-realm-app/merges","archive_url":"https://api.github.com/repos/realm/my-first-realm-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/realm/my-first-realm-app/downloads","issues_url":"https://api.github.com/repos/realm/my-first-realm-app/issues{/number}","pulls_url":"https://api.github.com/repos/realm/my-first-realm-app/pulls{/number}","milestones_url":"https://api.github.com/repos/realm/my-first-realm-app/milestones{/number}","notifications_url":"https://api.github.com/repos/realm/my-first-realm-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/realm/my-first-realm-app/labels{/name}","releases_url":"https://api.github.com/repos/realm/my-first-realm-app/releases{/id}","deployments_url":"https://api.github.com/repos/realm/my-first-realm-app/deployments","created_at":"2018-01-17T09:44:24Z","updated_at":"2018-04-06T19:06:43Z","pushed_at":"2018-04-08T17:42:28Z","git_url":"git://github.com/realm/my-first-realm-app.git","ssh_url":"git@github.com:realm/my-first-realm-app.git","clone_url":"https://github.com/realm/my-first-realm-app.git","svn_url":"https://github.com/realm/my-first-realm-app","homepage":"https://realm.io","size":24514,"stargazers_count":11,"watchers_count":11,"language":"Java","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":3,"open_issues":5,"watchers":11,"default_branch":"master"}},"base":{"label":"realm:master","ref":"master","sha":"9395cbf8e4f94b5d02b62850bbcb412080c9a558","user":{"login":"realm","id":7575099,"avatar_url":"https://avatars0.githubusercontent.com/u/7575099?v=4","gravatar_id":"","url":"https://api.github.com/users/realm","html_url":"https://github.com/realm","followers_url":"https://api.github.com/users/realm/followers","following_url":"https://api.github.com/users/realm/following{/other_user}","gists_url":"https://api.github.com/users/realm/gists{/gist_id}","starred_url":"https://api.github.com/users/realm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realm/subscriptions","organizations_url":"https://api.github.com/users/realm/orgs","repos_url":"https://api.github.com/users/realm/repos","events_url":"https://api.github.com/users/realm/events{/privacy}","received_events_url":"https://api.github.com/users/realm/received_events","type":"Organization","site_admin":false},"repo":{"id":117816332,"name":"my-first-realm-app","full_name":"realm/my-first-realm-app","owner":{"login":"realm","id":7575099,"avatar_url":"https://avatars0.githubusercontent.com/u/7575099?v=4","gravatar_id":"","url":"https://api.github.com/users/realm","html_url":"https://github.com/realm","followers_url":"https://api.github.com/users/realm/followers","following_url":"https://api.github.com/users/realm/following{/other_user}","gists_url":"https://api.github.com/users/realm/gists{/gist_id}","starred_url":"https://api.github.com/users/realm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realm/subscriptions","organizations_url":"https://api.github.com/users/realm/orgs","repos_url":"https://api.github.com/users/realm/repos","events_url":"https://api.github.com/users/realm/events{/privacy}","received_events_url":"https://api.github.com/users/realm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/realm/my-first-realm-app","description":"ToDo demo app using Realm and Realm Object Server to  synchronize tasks. ","fork":false,"url":"https://api.github.com/repos/realm/my-first-realm-app","forks_url":"https://api.github.com/repos/realm/my-first-realm-app/forks","keys_url":"https://api.github.com/repos/realm/my-first-realm-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/realm/my-first-realm-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/realm/my-first-realm-app/teams","hooks_url":"https://api.github.com/repos/realm/my-first-realm-app/hooks","issue_events_url":"https://api.github.com/repos/realm/my-first-realm-app/issues/events{/number}","events_url":"https://api.github.com/repos/realm/my-first-realm-app/events","assignees_url":"https://api.github.com/repos/realm/my-first-realm-app/assignees{/user}","branches_url":"https://api.github.com/repos/realm/my-first-realm-app/branches{/branch}","tags_url":"https://api.github.com/repos/realm/my-first-realm-app/tags","blobs_url":"https://api.github.com/repos/realm/my-first-realm-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/realm/my-first-realm-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/realm/my-first-realm-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/realm/my-first-realm-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/realm/my-first-realm-app/statuses/{sha}","languages_url":"https://api.github.com/repos/realm/my-first-realm-app/languages","stargazers_url":"https://api.github.com/repos/realm/my-first-realm-app/stargazers","contributors_url":"https://api.github.com/repos/realm/my-first-realm-app/contributors","subscribers_url":"https://api.github.com/repos/realm/my-first-realm-app/subscribers","subscription_url":"https://api.github.com/repos/realm/my-first-realm-app/subscription","commits_url":"https://api.github.com/repos/realm/my-first-realm-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/realm/my-first-realm-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/realm/my-first-realm-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/realm/my-first-realm-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/realm/my-first-realm-app/contents/{+path}","compare_url":"https://api.github.com/repos/realm/my-first-realm-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/realm/my-first-realm-app/merges","archive_url":"https://api.github.com/repos/realm/my-first-realm-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/realm/my-first-realm-app/downloads","issues_url":"https://api.github.com/repos/realm/my-first-realm-app/issues{/number}","pulls_url":"https://api.github.com/repos/realm/my-first-realm-app/pulls{/number}","milestones_url":"https://api.github.com/repos/realm/my-first-realm-app/milestones{/number}","notifications_url":"https://api.github.com/repos/realm/my-first-realm-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/realm/my-first-realm-app/labels{/name}","releases_url":"https://api.github.com/repos/realm/my-first-realm-app/releases{/id}","deployments_url":"https://api.github.com/repos/realm/my-first-realm-app/deployments","created_at":"2018-01-17T09:44:24Z","updated_at":"2018-04-06T19:06:43Z","pushed_at":"2018-04-08T17:42:28Z","git_url":"git://github.com/realm/my-first-realm-app.git","ssh_url":"git@github.com:realm/my-first-realm-app.git","clone_url":"https://github.com/realm/my-first-realm-app.git","svn_url":"https://github.com/realm/my-first-realm-app","homepage":"https://realm.io","size":24514,"stargazers_count":11,"watchers_count":11,"language":"Java","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":3,"open_issues":5,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/realm/my-first-realm-app/pulls/30"},"html":{"href":"https://github.com/realm/my-first-realm-app/pull/30"},"issue":{"href":"https://api.github.com/repos/realm/my-first-realm-app/issues/30"},"comments":{"href":"https://api.github.com/repos/realm/my-first-realm-app/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/realm/my-first-realm-app/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/realm/my-first-realm-app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/realm/my-first-realm-app/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/realm/my-first-realm-app/statuses/a3a7af283616376536f048c916ed2ebd337aae55"}},"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":6,"additions":2398,"deletions":0,"changed_files":50}}
{"actor":{"display_login":"nhachicha"}}