{"action":"created","issue":{"url":"https://api.github.com/repos/PyGithub/PyGithub/issues/692","repository_url":"https://api.github.com/repos/PyGithub/PyGithub","labels_url":"https://api.github.com/repos/PyGithub/PyGithub/issues/692/labels{/name}","comments_url":"https://api.github.com/repos/PyGithub/PyGithub/issues/692/comments","events_url":"https://api.github.com/repos/PyGithub/PyGithub/issues/692/events","html_url":"https://github.com/PyGithub/PyGithub/pull/692","id":292762301,"number":692,"title":"Add a member to an organization given a NamedUser","user":{"login":"MattPhillips1","id":24528566,"avatar_url":"https://avatars0.githubusercontent.com/u/24528566?v=4","gravatar_id":"","url":"https://api.github.com/users/MattPhillips1","html_url":"https://github.com/MattPhillips1","followers_url":"https://api.github.com/users/MattPhillips1/followers","following_url":"https://api.github.com/users/MattPhillips1/following{/other_user}","gists_url":"https://api.github.com/users/MattPhillips1/gists{/gist_id}","starred_url":"https://api.github.com/users/MattPhillips1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MattPhillips1/subscriptions","organizations_url":"https://api.github.com/users/MattPhillips1/orgs","repos_url":"https://api.github.com/users/MattPhillips1/repos","events_url":"https://api.github.com/users/MattPhillips1/events{/privacy}","received_events_url":"https://api.github.com/users/MattPhillips1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-01-30T12:18:45Z","updated_at":"2018-02-01T00:41:58Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/PyGithub/PyGithub/pulls/692","html_url":"https://github.com/PyGithub/PyGithub/pull/692","diff_url":"https://github.com/PyGithub/PyGithub/pull/692.diff","patch_url":"https://github.com/PyGithub/PyGithub/pull/692.patch"},"body":"Problem: A missed endpoint from the API. `PUT /orgs/:org/memberships/:username`\r\n\r\nSolution: Add an easy method that takes a NamedUser and sends to this endpoint. An email invitation is then sent to the NamedUser account\r\n\r\nSee https://developer.github.com/v3/orgs/members/#add-or-update-organization-membership for the api docs"},"comment":{"url":"https://api.github.com/repos/PyGithub/PyGithub/issues/comments/362119860","html_url":"https://github.com/PyGithub/PyGithub/pull/692#issuecomment-362119860","issue_url":"https://api.github.com/repos/PyGithub/PyGithub/issues/692","id":362119860,"user":{"login":"jasonwhite","id":865541,"avatar_url":"https://avatars0.githubusercontent.com/u/865541?v=4","gravatar_id":"","url":"https://api.github.com/users/jasonwhite","html_url":"https://github.com/jasonwhite","followers_url":"https://api.github.com/users/jasonwhite/followers","following_url":"https://api.github.com/users/jasonwhite/following{/other_user}","gists_url":"https://api.github.com/users/jasonwhite/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonwhite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonwhite/subscriptions","organizations_url":"https://api.github.com/users/jasonwhite/orgs","repos_url":"https://api.github.com/users/jasonwhite/repos","events_url":"https://api.github.com/users/jasonwhite/events{/privacy}","received_events_url":"https://api.github.com/users/jasonwhite/received_events","type":"User","site_admin":false},"created_at":"2018-02-01T00:41:58Z","updated_at":"2018-02-01T00:41:58Z","author_association":"COLLABORATOR","body":"Thanks for the PR @MattPhillips1. Would you mind adding support for the `role` parameter and adding a test for this?"}}
{"actor":{"display_login":"jasonwhite"}}