{"action":"created","issue":{"url":"https://api.github.com/repos/biolink/biolink-api/issues/141","repository_url":"https://api.github.com/repos/biolink/biolink-api","labels_url":"https://api.github.com/repos/biolink/biolink-api/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/biolink/biolink-api/issues/141/comments","events_url":"https://api.github.com/repos/biolink/biolink-api/issues/141/events","html_url":"https://github.com/biolink/biolink-api/issues/141","id":299404304,"number":141,"title":"GET /bioentity/<id>/associations only returning phenotype associations","user":{"login":"putmantime","id":11380798,"avatar_url":"https://avatars3.githubusercontent.com/u/11380798?v=4","gravatar_id":"","url":"https://api.github.com/users/putmantime","html_url":"https://github.com/putmantime","followers_url":"https://api.github.com/users/putmantime/followers","following_url":"https://api.github.com/users/putmantime/following{/other_user}","gists_url":"https://api.github.com/users/putmantime/gists{/gist_id}","starred_url":"https://api.github.com/users/putmantime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/putmantime/subscriptions","organizations_url":"https://api.github.com/users/putmantime/orgs","repos_url":"https://api.github.com/users/putmantime/repos","events_url":"https://api.github.com/users/putmantime/events{/privacy}","received_events_url":"https://api.github.com/users/putmantime/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-22T15:48:50Z","updated_at":"2018-02-22T19:08:07Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"The below counts are the number and category of associations returned for each call with Marfan syndrome (MONDO:0007947) as the subject.  The category agnostic association calls are returning only phenotype associations (even though this disease has model and gene associations), and the bioentity/ endpoint calls are returning 1 less  than the association/ calls and direct solr queries used in the Monarch App.\r\n\r\n```\r\nGET /association/from/MONDO:0007947             160 phenotype associations\r\nGET /association/find/MONDO:0007947             160 phenotype associations\r\nGET /bioentity/MONDO:0007947/associations       159 phenotype associations\r\nGET /bioentity/disease/MONDO:0007947/phenotypes 159 phenotype associations\r\nGET /bioentity/disease/MONDO:0007947/models     74 model associations\r\nGET /bioentity/disease/MONDO:0007947/genes      12 gene associations\r\n```"},"comment":{"url":"https://api.github.com/repos/biolink/biolink-api/issues/comments/367787002","html_url":"https://github.com/biolink/biolink-api/issues/141#issuecomment-367787002","issue_url":"https://api.github.com/repos/biolink/biolink-api/issues/141","id":367787002,"user":{"login":"cmungall","id":50745,"avatar_url":"https://avatars1.githubusercontent.com/u/50745?v=4","gravatar_id":"","url":"https://api.github.com/users/cmungall","html_url":"https://github.com/cmungall","followers_url":"https://api.github.com/users/cmungall/followers","following_url":"https://api.github.com/users/cmungall/following{/other_user}","gists_url":"https://api.github.com/users/cmungall/gists{/gist_id}","starred_url":"https://api.github.com/users/cmungall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmungall/subscriptions","organizations_url":"https://api.github.com/users/cmungall/orgs","repos_url":"https://api.github.com/users/cmungall/repos","events_url":"https://api.github.com/users/cmungall/events{/privacy}","received_events_url":"https://api.github.com/users/cmungall/received_events","type":"User","site_admin":false},"created_at":"2018-02-22T19:08:07Z","updated_at":"2018-02-22T19:08:07Z","author_association":"COLLABORATOR","body":"@putmantime are you working on this? This may be an easier one for @deepakunni3 to start with"}}
{"actor":{"display_login":"cmungall"}}