{"action":"opened","number":21,"pull_request":{"url":"https://api.github.com/repos/PythonIreland/broadgauge/pulls/21","id":38167946,"html_url":"https://github.com/PythonIreland/broadgauge/pull/21","diff_url":"https://github.com/PythonIreland/broadgauge/pull/21.diff","patch_url":"https://github.com/PythonIreland/broadgauge/pull/21.patch","issue_url":"https://api.github.com/repos/PythonIreland/broadgauge/issues/21","number":21,"state":"open","locked":false,"title":"Check a user is not already in an organization.","user":{"login":"andrewmccarthy","id":6887733,"avatar_url":"https://avatars.githubusercontent.com/u/6887733?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewmccarthy","html_url":"https://github.com/andrewmccarthy","followers_url":"https://api.github.com/users/andrewmccarthy/followers","following_url":"https://api.github.com/users/andrewmccarthy/following{/other_user}","gists_url":"https://api.github.com/users/andrewmccarthy/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewmccarthy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewmccarthy/subscriptions","organizations_url":"https://api.github.com/users/andrewmccarthy/orgs","repos_url":"https://api.github.com/users/andrewmccarthy/repos","events_url":"https://api.github.com/users/andrewmccarthy/events{/privacy}","received_events_url":"https://api.github.com/users/andrewmccarthy/received_events","type":"User","site_admin":false},"body":"Before trying to add a new user, check that the user is not already a\r\nmember of that organization. Fixes PythonIreland/broadgauge#15","created_at":"2015-06-20T13:14:21Z","updated_at":"2015-06-20T13:14:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/PythonIreland/broadgauge/pulls/21/commits","review_comments_url":"https://api.github.com/repos/PythonIreland/broadgauge/pulls/21/comments","review_comment_url":"https://api.github.com/repos/PythonIreland/broadgauge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PythonIreland/broadgauge/issues/21/comments","statuses_url":"https://api.github.com/repos/PythonIreland/broadgauge/statuses/f5ab1b44124cb4fddb42e6172d466f72aca34995","head":{"label":"andrewmccarthy:issue15","ref":"issue15","sha":"f5ab1b44124cb4fddb42e6172d466f72aca34995","user":{"login":"andrewmccarthy","id":6887733,"avatar_url":"https://avatars.githubusercontent.com/u/6887733?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewmccarthy","html_url":"https://github.com/andrewmccarthy","followers_url":"https://api.github.com/users/andrewmccarthy/followers","following_url":"https://api.github.com/users/andrewmccarthy/following{/other_user}","gists_url":"https://api.github.com/users/andrewmccarthy/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewmccarthy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewmccarthy/subscriptions","organizations_url":"https://api.github.com/users/andrewmccarthy/orgs","repos_url":"https://api.github.com/users/andrewmccarthy/repos","events_url":"https://api.github.com/users/andrewmccarthy/events{/privacy}","received_events_url":"https://api.github.com/users/andrewmccarthy/received_events","type":"User","site_admin":false},"repo":{"id":37764403,"name":"broadgauge","full_name":"andrewmccarthy/broadgauge","owner":{"login":"andrewmccarthy","id":6887733,"avatar_url":"https://avatars.githubusercontent.com/u/6887733?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewmccarthy","html_url":"https://github.com/andrewmccarthy","followers_url":"https://api.github.com/users/andrewmccarthy/followers","following_url":"https://api.github.com/users/andrewmccarthy/following{/other_user}","gists_url":"https://api.github.com/users/andrewmccarthy/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewmccarthy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewmccarthy/subscriptions","organizations_url":"https://api.github.com/users/andrewmccarthy/orgs","repos_url":"https://api.github.com/users/andrewmccarthy/repos","events_url":"https://api.github.com/users/andrewmccarthy/events{/privacy}","received_events_url":"https://api.github.com/users/andrewmccarthy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andrewmccarthy/broadgauge","description":"Platform for managing training/workshops","fork":true,"url":"https://api.github.com/repos/andrewmccarthy/broadgauge","forks_url":"https://api.github.com/repos/andrewmccarthy/broadgauge/forks","keys_url":"https://api.github.com/repos/andrewmccarthy/broadgauge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andrewmccarthy/broadgauge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andrewmccarthy/broadgauge/teams","hooks_url":"https://api.github.com/repos/andrewmccarthy/broadgauge/hooks","issue_events_url":"https://api.github.com/repos/andrewmccarthy/broadgauge/issues/events{/number}","events_url":"https://api.github.com/repos/andrewmccarthy/broadgauge/events","assignees_url":"https://api.github.com/repos/andrewmccarthy/broadgauge/assignees{/user}","branches_url":"https://api.github.com/repos/andrewmccarthy/broadgauge/branches{/branch}","tags_url":"https://api.github.com/repos/andrewmccarthy/broadgauge/tags","blobs_url":"https://api.github.com/repos/andrewmccarthy/broadgauge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andrewmccarthy/broadgauge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andrewmccarthy/broadgauge/git/refs{/sha}","trees_url":"https://api.github.com/repos/andrewmccarthy/broadgauge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andrewmccarthy/broadgauge/statuses/{sha}","languages_url":"https://api.github.com/repos/andrewmccarthy/broadgauge/languages","stargazers_url":"https://api.github.com/repos/andrewmccarthy/broadgauge/stargazers","contributors_url":"https://api.github.com/repos/andrewmccarthy/broadgauge/contributors","subscribers_url":"https://api.github.com/repos/andrewmccarthy/broadgauge/subscribers","subscription_url":"https://api.github.com/repos/andrewmccarthy/broadgauge/subscription","commits_url":"https://api.github.com/repos/andrewmccarthy/broadgauge/commits{/sha}","git_commits_url":"https://api.github.com/repos/andrewmccarthy/broadgauge/git/commits{/sha}","comments_url":"https://api.github.com/repos/andrewmccarthy/broadgauge/comments{/number}","issue_comment_url":"https://api.github.com/repos/andrewmccarthy/broadgauge/issues/comments{/number}","contents_url":"https://api.github.com/repos/andrewmccarthy/broadgauge/contents/{+path}","compare_url":"https://api.github.com/repos/andrewmccarthy/broadgauge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andrewmccarthy/broadgauge/merges","archive_url":"https://api.github.com/repos/andrewmccarthy/broadgauge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andrewmccarthy/broadgauge/downloads","issues_url":"https://api.github.com/repos/andrewmccarthy/broadgauge/issues{/number}","pulls_url":"https://api.github.com/repos/andrewmccarthy/broadgauge/pulls{/number}","milestones_url":"https://api.github.com/repos/andrewmccarthy/broadgauge/milestones{/number}","notifications_url":"https://api.github.com/repos/andrewmccarthy/broadgauge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andrewmccarthy/broadgauge/labels{/name}","releases_url":"https://api.github.com/repos/andrewmccarthy/broadgauge/releases{/id}","created_at":"2015-06-20T09:15:04Z","updated_at":"2015-06-20T09:15:05Z","pushed_at":"2015-06-20T13:12:15Z","git_url":"git://github.com/andrewmccarthy/broadgauge.git","ssh_url":"git@github.com:andrewmccarthy/broadgauge.git","clone_url":"https://github.com/andrewmccarthy/broadgauge.git","svn_url":"https://github.com/andrewmccarthy/broadgauge","homepage":null,"size":717,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"PythonIreland:master","ref":"master","sha":"d63423ee40828622b4d752afcfbacd0f840d0034","user":{"login":"PythonIreland","id":11997277,"avatar_url":"https://avatars.githubusercontent.com/u/11997277?v=3","gravatar_id":"","url":"https://api.github.com/users/PythonIreland","html_url":"https://github.com/PythonIreland","followers_url":"https://api.github.com/users/PythonIreland/followers","following_url":"https://api.github.com/users/PythonIreland/following{/other_user}","gists_url":"https://api.github.com/users/PythonIreland/gists{/gist_id}","starred_url":"https://api.github.com/users/PythonIreland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PythonIreland/subscriptions","organizations_url":"https://api.github.com/users/PythonIreland/orgs","repos_url":"https://api.github.com/users/PythonIreland/repos","events_url":"https://api.github.com/users/PythonIreland/events{/privacy}","received_events_url":"https://api.github.com/users/PythonIreland/received_events","type":"Organization","site_admin":false},"repo":{"id":37275713,"name":"broadgauge","full_name":"PythonIreland/broadgauge","owner":{"login":"PythonIreland","id":11997277,"avatar_url":"https://avatars.githubusercontent.com/u/11997277?v=3","gravatar_id":"","url":"https://api.github.com/users/PythonIreland","html_url":"https://github.com/PythonIreland","followers_url":"https://api.github.com/users/PythonIreland/followers","following_url":"https://api.github.com/users/PythonIreland/following{/other_user}","gists_url":"https://api.github.com/users/PythonIreland/gists{/gist_id}","starred_url":"https://api.github.com/users/PythonIreland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PythonIreland/subscriptions","organizations_url":"https://api.github.com/users/PythonIreland/orgs","repos_url":"https://api.github.com/users/PythonIreland/repos","events_url":"https://api.github.com/users/PythonIreland/events{/privacy}","received_events_url":"https://api.github.com/users/PythonIreland/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PythonIreland/broadgauge","description":"Platform for managing training/workshops","fork":true,"url":"https://api.github.com/repos/PythonIreland/broadgauge","forks_url":"https://api.github.com/repos/PythonIreland/broadgauge/forks","keys_url":"https://api.github.com/repos/PythonIreland/broadgauge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PythonIreland/broadgauge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PythonIreland/broadgauge/teams","hooks_url":"https://api.github.com/repos/PythonIreland/broadgauge/hooks","issue_events_url":"https://api.github.com/repos/PythonIreland/broadgauge/issues/events{/number}","events_url":"https://api.github.com/repos/PythonIreland/broadgauge/events","assignees_url":"https://api.github.com/repos/PythonIreland/broadgauge/assignees{/user}","branches_url":"https://api.github.com/repos/PythonIreland/broadgauge/branches{/branch}","tags_url":"https://api.github.com/repos/PythonIreland/broadgauge/tags","blobs_url":"https://api.github.com/repos/PythonIreland/broadgauge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PythonIreland/broadgauge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PythonIreland/broadgauge/git/refs{/sha}","trees_url":"https://api.github.com/repos/PythonIreland/broadgauge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PythonIreland/broadgauge/statuses/{sha}","languages_url":"https://api.github.com/repos/PythonIreland/broadgauge/languages","stargazers_url":"https://api.github.com/repos/PythonIreland/broadgauge/stargazers","contributors_url":"https://api.github.com/repos/PythonIreland/broadgauge/contributors","subscribers_url":"https://api.github.com/repos/PythonIreland/broadgauge/subscribers","subscription_url":"https://api.github.com/repos/PythonIreland/broadgauge/subscription","commits_url":"https://api.github.com/repos/PythonIreland/broadgauge/commits{/sha}","git_commits_url":"https://api.github.com/repos/PythonIreland/broadgauge/git/commits{/sha}","comments_url":"https://api.github.com/repos/PythonIreland/broadgauge/comments{/number}","issue_comment_url":"https://api.github.com/repos/PythonIreland/broadgauge/issues/comments{/number}","contents_url":"https://api.github.com/repos/PythonIreland/broadgauge/contents/{+path}","compare_url":"https://api.github.com/repos/PythonIreland/broadgauge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PythonIreland/broadgauge/merges","archive_url":"https://api.github.com/repos/PythonIreland/broadgauge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PythonIreland/broadgauge/downloads","issues_url":"https://api.github.com/repos/PythonIreland/broadgauge/issues{/number}","pulls_url":"https://api.github.com/repos/PythonIreland/broadgauge/pulls{/number}","milestones_url":"https://api.github.com/repos/PythonIreland/broadgauge/milestones{/number}","notifications_url":"https://api.github.com/repos/PythonIreland/broadgauge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PythonIreland/broadgauge/labels{/name}","releases_url":"https://api.github.com/repos/PythonIreland/broadgauge/releases{/id}","created_at":"2015-06-11T17:32:13Z","updated_at":"2015-06-11T23:30:31Z","pushed_at":"2015-06-20T13:12:17Z","git_url":"git://github.com/PythonIreland/broadgauge.git","ssh_url":"git@github.com:PythonIreland/broadgauge.git","clone_url":"https://github.com/PythonIreland/broadgauge.git","svn_url":"https://github.com/PythonIreland/broadgauge","homepage":null,"size":717,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":17,"forks":7,"open_issues":17,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PythonIreland/broadgauge/pulls/21"},"html":{"href":"https://github.com/PythonIreland/broadgauge/pull/21"},"issue":{"href":"https://api.github.com/repos/PythonIreland/broadgauge/issues/21"},"comments":{"href":"https://api.github.com/repos/PythonIreland/broadgauge/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/PythonIreland/broadgauge/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/PythonIreland/broadgauge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PythonIreland/broadgauge/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/PythonIreland/broadgauge/statuses/f5ab1b44124cb4fddb42e6172d466f72aca34995"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":2,"changed_files":1}}