{"action":"created","issue":{"url":"https://api.github.com/repos/jcabi/jcabi-github/issues/1247","repository_url":"https://api.github.com/repos/jcabi/jcabi-github","labels_url":"https://api.github.com/repos/jcabi/jcabi-github/issues/1247/labels{/name}","comments_url":"https://api.github.com/repos/jcabi/jcabi-github/issues/1247/comments","events_url":"https://api.github.com/repos/jcabi/jcabi-github/issues/1247/events","html_url":"https://github.com/jcabi/jcabi-github/issues/1247","id":173999633,"number":1247,"title":"Implement check for Organization membership","user":{"login":"amihaiemil","id":6305156,"avatar_url":"https://avatars.githubusercontent.com/u/6305156?v=3","gravatar_id":"","url":"https://api.github.com/users/amihaiemil","html_url":"https://github.com/amihaiemil","followers_url":"https://api.github.com/users/amihaiemil/followers","following_url":"https://api.github.com/users/amihaiemil/following{/other_user}","gists_url":"https://api.github.com/users/amihaiemil/gists{/gist_id}","starred_url":"https://api.github.com/users/amihaiemil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amihaiemil/subscriptions","organizations_url":"https://api.github.com/users/amihaiemil/orgs","repos_url":"https://api.github.com/users/amihaiemil/repos","events_url":"https://api.github.com/users/amihaiemil/events{/privacy}","received_events_url":"https://api.github.com/users/amihaiemil/received_events","type":"User","site_admin":false},"labels":[{"id":64697495,"url":"https://api.github.com/repos/jcabi/jcabi-github/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-30T11:55:32Z","updated_at":"2016-11-18T16:40:56Z","closed_at":null,"body":"There are more methods of checking members of an organizations, especially checking public memberships, which we already have implemented. \n\nHowever, there is [this](https://developer.github.com/v3/orgs/members/#get-organization-membership) method which we haven't implemented and is quite useful.\n\nBasically, if the logged in user is a member of that organization, he can check another member's type of membership regardless if that member has publicized it or not. \n\nIt could be something like `Organization.membership(String memberLogin):Membership`, and `Membership` interface would describe the json returned by the above mentioned endpoint. \n\n**Important**\nIf implemented, it should be thoroughly documented, so that no one mistakes it for the public membership endpoints.\n"},"comment":{"url":"https://api.github.com/repos/jcabi/jcabi-github/issues/comments/261578536","html_url":"https://github.com/jcabi/jcabi-github/issues/1247#issuecomment-261578536","issue_url":"https://api.github.com/repos/jcabi/jcabi-github/issues/1247","id":261578536,"user":{"login":"amihaiemil","id":6305156,"avatar_url":"https://avatars.githubusercontent.com/u/6305156?v=3","gravatar_id":"","url":"https://api.github.com/users/amihaiemil","html_url":"https://github.com/amihaiemil","followers_url":"https://api.github.com/users/amihaiemil/followers","following_url":"https://api.github.com/users/amihaiemil/following{/other_user}","gists_url":"https://api.github.com/users/amihaiemil/gists{/gist_id}","starred_url":"https://api.github.com/users/amihaiemil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amihaiemil/subscriptions","organizations_url":"https://api.github.com/users/amihaiemil/orgs","repos_url":"https://api.github.com/users/amihaiemil/repos","events_url":"https://api.github.com/users/amihaiemil/events{/privacy}","received_events_url":"https://api.github.com/users/amihaiemil/received_events","type":"User","site_admin":false},"created_at":"2016-11-18T16:40:56Z","updated_at":"2016-11-18T16:40:56Z","body":"@yegor256 sure ^^"}}
{"actor":{"display_login":"amihaiemil"}}