{"action":"created","issue":{"url":"https://api.github.com/repos/peter-murach/github/issues/225","labels_url":"https://api.github.com/repos/peter-murach/github/issues/225/labels{/name}","comments_url":"https://api.github.com/repos/peter-murach/github/issues/225/comments","events_url":"https://api.github.com/repos/peter-murach/github/issues/225/events","html_url":"https://github.com/peter-murach/github/issues/225","id":65578146,"number":225,"title":"Support /teams/:id/memberships/:username","user":{"login":"tu-vieja","id":11745232,"avatar_url":"https://avatars.githubusercontent.com/u/11745232?v=3","gravatar_id":"","url":"https://api.github.com/users/tu-vieja","html_url":"https://github.com/tu-vieja","followers_url":"https://api.github.com/users/tu-vieja/followers","following_url":"https://api.github.com/users/tu-vieja/following{/other_user}","gists_url":"https://api.github.com/users/tu-vieja/gists{/gist_id}","starred_url":"https://api.github.com/users/tu-vieja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tu-vieja/subscriptions","organizations_url":"https://api.github.com/users/tu-vieja/orgs","repos_url":"https://api.github.com/users/tu-vieja/repos","events_url":"https://api.github.com/users/tu-vieja/events{/privacy}","received_events_url":"https://api.github.com/users/tu-vieja/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-01T00:58:58Z","updated_at":"2015-08-31T11:50:05Z","closed_at":null,"body":"Previous Github version [was deprecated] (https://developer.github.com/v3/orgs/teams/#add-team-member) on October '14 and now only works for members who are already part of the organization. Otherwise, the api returns 422 error code.\r\n\r\nAPI v3 now has a new endpoint to support [memberships] (https://developer.github.com/v3/orgs/teams/#add-team-membership)."},"comment":{"url":"https://api.github.com/repos/peter-murach/github/issues/comments/136348801","html_url":"https://github.com/peter-murach/github/issues/225#issuecomment-136348801","issue_url":"https://api.github.com/repos/peter-murach/github/issues/225","id":136348801,"user":{"login":"peter-murach","id":444312,"avatar_url":"https://avatars.githubusercontent.com/u/444312?v=3","gravatar_id":"","url":"https://api.github.com/users/peter-murach","html_url":"https://github.com/peter-murach","followers_url":"https://api.github.com/users/peter-murach/followers","following_url":"https://api.github.com/users/peter-murach/following{/other_user}","gists_url":"https://api.github.com/users/peter-murach/gists{/gist_id}","starred_url":"https://api.github.com/users/peter-murach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peter-murach/subscriptions","organizations_url":"https://api.github.com/users/peter-murach/orgs","repos_url":"https://api.github.com/users/peter-murach/repos","events_url":"https://api.github.com/users/peter-murach/events{/privacy}","received_events_url":"https://api.github.com/users/peter-murach/received_events","type":"User","site_admin":false},"created_at":"2015-08-31T11:50:05Z","updated_at":"2015-08-31T11:50:05Z","body":"I'd love to have this updated too. Is anyone willing to put in a pull request to get this sorted?"}}