{"action":"opened","issue":{"url":"https://api.github.com/repos/Altoros/rails-interview-exercise/issues/1","repository_url":"https://api.github.com/repos/Altoros/rails-interview-exercise","labels_url":"https://api.github.com/repos/Altoros/rails-interview-exercise/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Altoros/rails-interview-exercise/issues/1/comments","events_url":"https://api.github.com/repos/Altoros/rails-interview-exercise/issues/1/events","html_url":"https://github.com/Altoros/rails-interview-exercise/issues/1","id":312059863,"number":1,"title":"Question about modeling","user":{"login":"jcostello","id":1168582,"avatar_url":"https://avatars0.githubusercontent.com/u/1168582?v=4","gravatar_id":"","url":"https://api.github.com/users/jcostello","html_url":"https://github.com/jcostello","followers_url":"https://api.github.com/users/jcostello/followers","following_url":"https://api.github.com/users/jcostello/following{/other_user}","gists_url":"https://api.github.com/users/jcostello/gists{/gist_id}","starred_url":"https://api.github.com/users/jcostello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcostello/subscriptions","organizations_url":"https://api.github.com/users/jcostello/orgs","repos_url":"https://api.github.com/users/jcostello/repos","events_url":"https://api.github.com/users/jcostello/events{/privacy}","received_events_url":"https://api.github.com/users/jcostello/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-06T17:42:16Z","updated_at":"2018-04-06T17:42:16Z","closed_at":null,"author_association":"NONE","body":"Given the description:\r\n```\r\nEach Question has an asker (a user), and each Answer has a provider (another user). The only attribute needed for users is a full name.\r\n\r\nA Tenant is a consumer of the API you are going to write. Like users, the only attribute needed for tenants is a name. Questions can be private, to be seen only by their Tenant.\r\n```\r\n\r\nSince a Tenant that consumes the API and Questions can be private, to be seen only by their Tenant, is OK to assume that Tenant are Users and is the asker in a Questions? The API should return the Tenant asked Questions?\r\n\r\nAlso, its a requirement to not return private Questions in the API response. But before it says that Questions can be seen only by their Tenant. This is a little bit contradictory. \r\nSince Tenant refers to a API consumer, where it should return private Questions? "}}
{"actor":{"display_login":"jcostello"}}