{"action":"closed","number":334,"pull_request":{"url":"https://api.github.com/repos/uProxy/uproxy-lib/pulls/334","id":53290222,"html_url":"https://github.com/uProxy/uproxy-lib/pull/334","diff_url":"https://github.com/uProxy/uproxy-lib/pull/334.diff","patch_url":"https://github.com/uProxy/uproxy-lib/pull/334.patch","issue_url":"https://api.github.com/repos/uProxy/uproxy-lib/issues/334","number":334,"state":"closed","locked":false,"title":"implement inviteUser in the cloud social provider","user":{"login":"trevj","id":5142116,"avatar_url":"https://avatars.githubusercontent.com/u/5142116?v=3","gravatar_id":"","url":"https://api.github.com/users/trevj","html_url":"https://github.com/trevj","followers_url":"https://api.github.com/users/trevj/followers","following_url":"https://api.github.com/users/trevj/following{/other_user}","gists_url":"https://api.github.com/users/trevj/gists{/gist_id}","starred_url":"https://api.github.com/users/trevj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trevj/subscriptions","organizations_url":"https://api.github.com/users/trevj/orgs","repos_url":"https://api.github.com/users/trevj/repos","events_url":"https://api.github.com/users/trevj/events{/privacy}","received_events_url":"https://api.github.com/users/trevj/received_events","type":"User","site_admin":false},"body":"@lucyhe, could really use your advice here:\r\n *  is `inviteUser` invoked with the ID of the user to which you're offering access?\r\n * right now this returns an invite code as it should be distributed amongst users; is that what uProxy expects or should I be returning an object and allowing uProxy base64 encode it (or something)?\n\n<!-- Reviewable:start -->\n[<img src=\"https://reviewable.io/review_button.png\" height=40 alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/uproxy/uproxy-lib/334)\n<!-- Reviewable:end -->\n","created_at":"2015-12-10T17:29:36Z","updated_at":"2015-12-14T15:38:04Z","closed_at":"2015-12-14T15:38:04Z","merged_at":"2015-12-14T15:38:04Z","merge_commit_sha":"9f8700236db9727c45a85f740002f4c4e7dc3ebb","assignee":{"login":"lucyhe","id":8723127,"avatar_url":"https://avatars.githubusercontent.com/u/8723127?v=3","gravatar_id":"","url":"https://api.github.com/users/lucyhe","html_url":"https://github.com/lucyhe","followers_url":"https://api.github.com/users/lucyhe/followers","following_url":"https://api.github.com/users/lucyhe/following{/other_user}","gists_url":"https://api.github.com/users/lucyhe/gists{/gist_id}","starred_url":"https://api.github.com/users/lucyhe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucyhe/subscriptions","organizations_url":"https://api.github.com/users/lucyhe/orgs","repos_url":"https://api.github.com/users/lucyhe/repos","events_url":"https://api.github.com/users/lucyhe/events{/privacy}","received_events_url":"https://api.github.com/users/lucyhe/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/uProxy/uproxy-lib/pulls/334/commits","review_comments_url":"https://api.github.com/repos/uProxy/uproxy-lib/pulls/334/comments","review_comment_url":"https://api.github.com/repos/uProxy/uproxy-lib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/uProxy/uproxy-lib/issues/334/comments","statuses_url":"https://api.github.com/repos/uProxy/uproxy-lib/statuses/fd0aea1c3a8391754494ae4d8bf2855d13038b0a","head":{"label":"uProxy:trevj-inviteUser","ref":"trevj-inviteUser","sha":"fd0aea1c3a8391754494ae4d8bf2855d13038b0a","user":{"login":"uProxy","id":6548286,"avatar_url":"https://avatars.githubusercontent.com/u/6548286?v=3","gravatar_id":"","url":"https://api.github.com/users/uProxy","html_url":"https://github.com/uProxy","followers_url":"https://api.github.com/users/uProxy/followers","following_url":"https://api.github.com/users/uProxy/following{/other_user}","gists_url":"https://api.github.com/users/uProxy/gists{/gist_id}","starred_url":"https://api.github.com/users/uProxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uProxy/subscriptions","organizations_url":"https://api.github.com/users/uProxy/orgs","repos_url":"https://api.github.com/users/uProxy/repos","events_url":"https://api.github.com/users/uProxy/events{/privacy}","received_events_url":"https://api.github.com/users/uProxy/received_events","type":"Organization","site_admin":false},"repo":{"id":18026324,"name":"uproxy-lib","full_name":"uProxy/uproxy-lib","owner":{"login":"uProxy","id":6548286,"avatar_url":"https://avatars.githubusercontent.com/u/6548286?v=3","gravatar_id":"","url":"https://api.github.com/users/uProxy","html_url":"https://github.com/uProxy","followers_url":"https://api.github.com/users/uProxy/followers","following_url":"https://api.github.com/users/uProxy/following{/other_user}","gists_url":"https://api.github.com/users/uProxy/gists{/gist_id}","starred_url":"https://api.github.com/users/uProxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uProxy/subscriptions","organizations_url":"https://api.github.com/users/uProxy/orgs","repos_url":"https://api.github.com/users/uProxy/repos","events_url":"https://api.github.com/users/uProxy/events{/privacy}","received_events_url":"https://api.github.com/users/uProxy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uProxy/uproxy-lib","description":"SOCKS proxy and other utilities for uProxy.","fork":false,"url":"https://api.github.com/repos/uProxy/uproxy-lib","forks_url":"https://api.github.com/repos/uProxy/uproxy-lib/forks","keys_url":"https://api.github.com/repos/uProxy/uproxy-lib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uProxy/uproxy-lib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uProxy/uproxy-lib/teams","hooks_url":"https://api.github.com/repos/uProxy/uproxy-lib/hooks","issue_events_url":"https://api.github.com/repos/uProxy/uproxy-lib/issues/events{/number}","events_url":"https://api.github.com/repos/uProxy/uproxy-lib/events","assignees_url":"https://api.github.com/repos/uProxy/uproxy-lib/assignees{/user}","branches_url":"https://api.github.com/repos/uProxy/uproxy-lib/branches{/branch}","tags_url":"https://api.github.com/repos/uProxy/uproxy-lib/tags","blobs_url":"https://api.github.com/repos/uProxy/uproxy-lib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uProxy/uproxy-lib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uProxy/uproxy-lib/git/refs{/sha}","trees_url":"https://api.github.com/repos/uProxy/uproxy-lib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uProxy/uproxy-lib/statuses/{sha}","languages_url":"https://api.github.com/repos/uProxy/uproxy-lib/languages","stargazers_url":"https://api.github.com/repos/uProxy/uproxy-lib/stargazers","contributors_url":"https://api.github.com/repos/uProxy/uproxy-lib/contributors","subscribers_url":"https://api.github.com/repos/uProxy/uproxy-lib/subscribers","subscription_url":"https://api.github.com/repos/uProxy/uproxy-lib/subscription","commits_url":"https://api.github.com/repos/uProxy/uproxy-lib/commits{/sha}","git_commits_url":"https://api.github.com/repos/uProxy/uproxy-lib/git/commits{/sha}","comments_url":"https://api.github.com/repos/uProxy/uproxy-lib/comments{/number}","issue_comment_url":"https://api.github.com/repos/uProxy/uproxy-lib/issues/comments{/number}","contents_url":"https://api.github.com/repos/uProxy/uproxy-lib/contents/{+path}","compare_url":"https://api.github.com/repos/uProxy/uproxy-lib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uProxy/uproxy-lib/merges","archive_url":"https://api.github.com/repos/uProxy/uproxy-lib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uProxy/uproxy-lib/downloads","issues_url":"https://api.github.com/repos/uProxy/uproxy-lib/issues{/number}","pulls_url":"https://api.github.com/repos/uProxy/uproxy-lib/pulls{/number}","milestones_url":"https://api.github.com/repos/uProxy/uproxy-lib/milestones{/number}","notifications_url":"https://api.github.com/repos/uProxy/uproxy-lib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uProxy/uproxy-lib/labels{/name}","releases_url":"https://api.github.com/repos/uProxy/uproxy-lib/releases{/id}","created_at":"2014-03-23T04:17:00Z","updated_at":"2015-12-08T15:09:26Z","pushed_at":"2015-12-14T15:38:04Z","git_url":"git://github.com/uProxy/uproxy-lib.git","ssh_url":"git@github.com:uProxy/uproxy-lib.git","clone_url":"https://github.com/uProxy/uproxy-lib.git","svn_url":"https://github.com/uProxy/uproxy-lib","homepage":"","size":2189,"stargazers_count":13,"watchers_count":13,"language":"TypeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":3,"forks":3,"open_issues":3,"watchers":13,"default_branch":"master"}},"base":{"label":"uProxy:master","ref":"master","sha":"c8c7e36a769440e1f27b1c75705f4b6fd70a2a5b","user":{"login":"uProxy","id":6548286,"avatar_url":"https://avatars.githubusercontent.com/u/6548286?v=3","gravatar_id":"","url":"https://api.github.com/users/uProxy","html_url":"https://github.com/uProxy","followers_url":"https://api.github.com/users/uProxy/followers","following_url":"https://api.github.com/users/uProxy/following{/other_user}","gists_url":"https://api.github.com/users/uProxy/gists{/gist_id}","starred_url":"https://api.github.com/users/uProxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uProxy/subscriptions","organizations_url":"https://api.github.com/users/uProxy/orgs","repos_url":"https://api.github.com/users/uProxy/repos","events_url":"https://api.github.com/users/uProxy/events{/privacy}","received_events_url":"https://api.github.com/users/uProxy/received_events","type":"Organization","site_admin":false},"repo":{"id":18026324,"name":"uproxy-lib","full_name":"uProxy/uproxy-lib","owner":{"login":"uProxy","id":6548286,"avatar_url":"https://avatars.githubusercontent.com/u/6548286?v=3","gravatar_id":"","url":"https://api.github.com/users/uProxy","html_url":"https://github.com/uProxy","followers_url":"https://api.github.com/users/uProxy/followers","following_url":"https://api.github.com/users/uProxy/following{/other_user}","gists_url":"https://api.github.com/users/uProxy/gists{/gist_id}","starred_url":"https://api.github.com/users/uProxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uProxy/subscriptions","organizations_url":"https://api.github.com/users/uProxy/orgs","repos_url":"https://api.github.com/users/uProxy/repos","events_url":"https://api.github.com/users/uProxy/events{/privacy}","received_events_url":"https://api.github.com/users/uProxy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uProxy/uproxy-lib","description":"SOCKS proxy and other utilities for uProxy.","fork":false,"url":"https://api.github.com/repos/uProxy/uproxy-lib","forks_url":"https://api.github.com/repos/uProxy/uproxy-lib/forks","keys_url":"https://api.github.com/repos/uProxy/uproxy-lib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uProxy/uproxy-lib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uProxy/uproxy-lib/teams","hooks_url":"https://api.github.com/repos/uProxy/uproxy-lib/hooks","issue_events_url":"https://api.github.com/repos/uProxy/uproxy-lib/issues/events{/number}","events_url":"https://api.github.com/repos/uProxy/uproxy-lib/events","assignees_url":"https://api.github.com/repos/uProxy/uproxy-lib/assignees{/user}","branches_url":"https://api.github.com/repos/uProxy/uproxy-lib/branches{/branch}","tags_url":"https://api.github.com/repos/uProxy/uproxy-lib/tags","blobs_url":"https://api.github.com/repos/uProxy/uproxy-lib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uProxy/uproxy-lib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uProxy/uproxy-lib/git/refs{/sha}","trees_url":"https://api.github.com/repos/uProxy/uproxy-lib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uProxy/uproxy-lib/statuses/{sha}","languages_url":"https://api.github.com/repos/uProxy/uproxy-lib/languages","stargazers_url":"https://api.github.com/repos/uProxy/uproxy-lib/stargazers","contributors_url":"https://api.github.com/repos/uProxy/uproxy-lib/contributors","subscribers_url":"https://api.github.com/repos/uProxy/uproxy-lib/subscribers","subscription_url":"https://api.github.com/repos/uProxy/uproxy-lib/subscription","commits_url":"https://api.github.com/repos/uProxy/uproxy-lib/commits{/sha}","git_commits_url":"https://api.github.com/repos/uProxy/uproxy-lib/git/commits{/sha}","comments_url":"https://api.github.com/repos/uProxy/uproxy-lib/comments{/number}","issue_comment_url":"https://api.github.com/repos/uProxy/uproxy-lib/issues/comments{/number}","contents_url":"https://api.github.com/repos/uProxy/uproxy-lib/contents/{+path}","compare_url":"https://api.github.com/repos/uProxy/uproxy-lib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uProxy/uproxy-lib/merges","archive_url":"https://api.github.com/repos/uProxy/uproxy-lib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uProxy/uproxy-lib/downloads","issues_url":"https://api.github.com/repos/uProxy/uproxy-lib/issues{/number}","pulls_url":"https://api.github.com/repos/uProxy/uproxy-lib/pulls{/number}","milestones_url":"https://api.github.com/repos/uProxy/uproxy-lib/milestones{/number}","notifications_url":"https://api.github.com/repos/uProxy/uproxy-lib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uProxy/uproxy-lib/labels{/name}","releases_url":"https://api.github.com/repos/uProxy/uproxy-lib/releases{/id}","created_at":"2014-03-23T04:17:00Z","updated_at":"2015-12-08T15:09:26Z","pushed_at":"2015-12-14T15:38:04Z","git_url":"git://github.com/uProxy/uproxy-lib.git","ssh_url":"git@github.com:uProxy/uproxy-lib.git","clone_url":"https://github.com/uProxy/uproxy-lib.git","svn_url":"https://github.com/uProxy/uproxy-lib","homepage":"","size":2189,"stargazers_count":13,"watchers_count":13,"language":"TypeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":3,"forks":3,"open_issues":3,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/uProxy/uproxy-lib/pulls/334"},"html":{"href":"https://github.com/uProxy/uproxy-lib/pull/334"},"issue":{"href":"https://api.github.com/repos/uProxy/uproxy-lib/issues/334"},"comments":{"href":"https://api.github.com/repos/uProxy/uproxy-lib/issues/334/comments"},"review_comments":{"href":"https://api.github.com/repos/uProxy/uproxy-lib/pulls/334/comments"},"review_comment":{"href":"https://api.github.com/repos/uProxy/uproxy-lib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/uProxy/uproxy-lib/pulls/334/commits"},"statuses":{"href":"https://api.github.com/repos/uProxy/uproxy-lib/statuses/fd0aea1c3a8391754494ae4d8bf2855d13038b0a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"trevj","id":5142116,"avatar_url":"https://avatars.githubusercontent.com/u/5142116?v=3","gravatar_id":"","url":"https://api.github.com/users/trevj","html_url":"https://github.com/trevj","followers_url":"https://api.github.com/users/trevj/followers","following_url":"https://api.github.com/users/trevj/following{/other_user}","gists_url":"https://api.github.com/users/trevj/gists{/gist_id}","starred_url":"https://api.github.com/users/trevj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trevj/subscriptions","organizations_url":"https://api.github.com/users/trevj/orgs","repos_url":"https://api.github.com/users/trevj/repos","events_url":"https://api.github.com/users/trevj/events{/privacy}","received_events_url":"https://api.github.com/users/trevj/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":2,"additions":36,"deletions":6,"changed_files":1}}