{"action":"created","issue":{"url":"https://api.github.com/repos/peter-murach/github/issues/240","labels_url":"https://api.github.com/repos/peter-murach/github/issues/240/labels{/name}","comments_url":"https://api.github.com/repos/peter-murach/github/issues/240/comments","events_url":"https://api.github.com/repos/peter-murach/github/issues/240/events","html_url":"https://github.com/peter-murach/github/issues/240","id":108063834,"number":240,"title":"Check if a user is a public member of an organization API ","user":{"login":"Shwetakale","id":6301532,"avatar_url":"https://avatars.githubusercontent.com/u/6301532?v=3","gravatar_id":"","url":"https://api.github.com/users/Shwetakale","html_url":"https://github.com/Shwetakale","followers_url":"https://api.github.com/users/Shwetakale/followers","following_url":"https://api.github.com/users/Shwetakale/following{/other_user}","gists_url":"https://api.github.com/users/Shwetakale/gists{/gist_id}","starred_url":"https://api.github.com/users/Shwetakale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shwetakale/subscriptions","organizations_url":"https://api.github.com/users/Shwetakale/orgs","repos_url":"https://api.github.com/users/Shwetakale/repos","events_url":"https://api.github.com/users/Shwetakale/events{/privacy}","received_events_url":"https://api.github.com/users/Shwetakale/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-24T06:00:10Z","updated_at":"2015-12-07T07:09:58Z","closed_at":null,"body":"This API returns ```false``` if API is called by user who is not member of that organization. For eg.\r\n\r\n     github.orgs.members.member? 'joshsoftware', 'anuja-joshi'\r\n\r\nReturns ```false``` and 'anuja-joshi' is public member of that organization. I am getting her name in ``list``` api.\r\n\r\nIf I pass ```public: true``` option it works as expected but should work without that as well because according to [documentation](https://developer.github.com/v3/orgs/members/#check-membership) \r\n\r\n    GET /orgs/:org/members/:username\r\n\r\nChecks if a user is, publicly or privately, a member of the organization."},"comment":{"url":"https://api.github.com/repos/peter-murach/github/issues/comments/162433826","html_url":"https://github.com/peter-murach/github/issues/240#issuecomment-162433826","issue_url":"https://api.github.com/repos/peter-murach/github/issues/240","id":162433826,"user":{"login":"MaximAbramchuck","id":5942002,"avatar_url":"https://avatars.githubusercontent.com/u/5942002?v=3","gravatar_id":"","url":"https://api.github.com/users/MaximAbramchuck","html_url":"https://github.com/MaximAbramchuck","followers_url":"https://api.github.com/users/MaximAbramchuck/followers","following_url":"https://api.github.com/users/MaximAbramchuck/following{/other_user}","gists_url":"https://api.github.com/users/MaximAbramchuck/gists{/gist_id}","starred_url":"https://api.github.com/users/MaximAbramchuck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaximAbramchuck/subscriptions","organizations_url":"https://api.github.com/users/MaximAbramchuck/orgs","repos_url":"https://api.github.com/users/MaximAbramchuck/repos","events_url":"https://api.github.com/users/MaximAbramchuck/events{/privacy}","received_events_url":"https://api.github.com/users/MaximAbramchuck/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T07:09:58Z","updated_at":"2015-12-07T07:09:58Z","body":"@peter-murach I think that this issue can be closed, because solution is already in `master`."}}