{"action":"created","issue":{"url":"https://api.github.com/repos/evercam/evercam-api/issues/493","labels_url":"https://api.github.com/repos/evercam/evercam-api/issues/493/labels{/name}","comments_url":"https://api.github.com/repos/evercam/evercam-api/issues/493/comments","events_url":"https://api.github.com/repos/evercam/evercam-api/issues/493/events","html_url":"https://github.com/evercam/evercam-api/issues/493","id":114794010,"number":493,"title":"There is no way to retrieve owner Email from API","user":{"login":"liutingdu","id":5046761,"avatar_url":"https://avatars.githubusercontent.com/u/5046761?v=3","gravatar_id":"","url":"https://api.github.com/users/liutingdu","html_url":"https://github.com/liutingdu","followers_url":"https://api.github.com/users/liutingdu/followers","following_url":"https://api.github.com/users/liutingdu/following{/other_user}","gists_url":"https://api.github.com/users/liutingdu/gists{/gist_id}","starred_url":"https://api.github.com/users/liutingdu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liutingdu/subscriptions","organizations_url":"https://api.github.com/users/liutingdu/orgs","repos_url":"https://api.github.com/users/liutingdu/repos","events_url":"https://api.github.com/users/liutingdu/events{/privacy}","received_events_url":"https://api.github.com/users/liutingdu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/evercam/evercam-api/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-03T11:21:15Z","updated_at":"2015-11-03T13:29:28Z","closed_at":null,"body":"I got this problem while working on sharing for Android. \r\n\r\nIn dashboard - 'Sharing' tab, it shows the owner as the first one in the list, with owner's username and Email address. The response of /sharing endpoints doesn't contains any user info, confirmed with @azharmalik3 that in dashboard, we are getting owner details directly from DB and not API.\r\n\r\nCurrently the only endpoints that returns owner info are ```GET /cameras``` and ```GET /cameras/{id}```, but it only contains owner's username, there is no way to find out owner's Email address.\r\n\r\nIn order to make it for Android / iOS, I think the easiest way is to add 'owner_email' in camera model in the response of ```GET /cameras``` and ```GET /cameras/{id}```. But it will make owner's Email address publicly visible for public cameras.\r\n\r\n@marcoherbst @mosic @azharmalik3 Any suggestions? Maybe there are better solutions from back end point of view?"},"comment":{"url":"https://api.github.com/repos/evercam/evercam-api/issues/comments/153352178","html_url":"https://github.com/evercam/evercam-api/issues/493#issuecomment-153352178","issue_url":"https://api.github.com/repos/evercam/evercam-api/issues/493","id":153352178,"user":{"login":"marcoherbst","id":5648894,"avatar_url":"https://avatars.githubusercontent.com/u/5648894?v=3","gravatar_id":"","url":"https://api.github.com/users/marcoherbst","html_url":"https://github.com/marcoherbst","followers_url":"https://api.github.com/users/marcoherbst/followers","following_url":"https://api.github.com/users/marcoherbst/following{/other_user}","gists_url":"https://api.github.com/users/marcoherbst/gists{/gist_id}","starred_url":"https://api.github.com/users/marcoherbst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcoherbst/subscriptions","organizations_url":"https://api.github.com/users/marcoherbst/orgs","repos_url":"https://api.github.com/users/marcoherbst/repos","events_url":"https://api.github.com/users/marcoherbst/events{/privacy}","received_events_url":"https://api.github.com/users/marcoherbst/received_events","type":"User","site_admin":false},"created_at":"2015-11-03T13:29:28Z","updated_at":"2015-11-03T13:29:28Z","body":"owner email public - I'm not sure, but there are some concerns there. A\nuser has signed up, made a camera public and we would then unknown to them,\npublish their email address It just doesn't seem like a great idea.\nM\n\nOn 3 November 2015 at 13:19, Ile Eftimov <notifications@github.com> wrote:\n\n> @marcoherbst <https://github.com/marcoherbst> Thanks for cc'ing me in the\n> convo.\n>\n> I agree with Milos, adding the owner email to the sharing endpoint payload\n> seems most straight forward. Also, does it make big difference if the owner\n> email is included for public cameras?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/evercam/evercam-api/issues/493#issuecomment-153349254>\n> .\n>\n\n\n\n-- \nMarco Herbst\n*Evercam.io <http://www.evercam.io/>* - Cameras Unleashed\nMobile: +353 86 196 0451\nSkype: marco.a.herbst\n"}}