{"action":"created","issue":{"url":"https://api.github.com/repos/zooniverse/Panoptes/issues/1868","repository_url":"https://api.github.com/repos/zooniverse/Panoptes","labels_url":"https://api.github.com/repos/zooniverse/Panoptes/issues/1868/labels{/name}","comments_url":"https://api.github.com/repos/zooniverse/Panoptes/issues/1868/comments","events_url":"https://api.github.com/repos/zooniverse/Panoptes/issues/1868/events","html_url":"https://github.com/zooniverse/Panoptes/issues/1868","id":165598044,"number":1868,"title":"Need to include owner slug name as well as display name and ID when returning as linked resource","user":{"login":"alexbfree","id":1473244,"avatar_url":"https://avatars.githubusercontent.com/u/1473244?v=3","gravatar_id":"","url":"https://api.github.com/users/alexbfree","html_url":"https://github.com/alexbfree","followers_url":"https://api.github.com/users/alexbfree/followers","following_url":"https://api.github.com/users/alexbfree/following{/other_user}","gists_url":"https://api.github.com/users/alexbfree/gists{/gist_id}","starred_url":"https://api.github.com/users/alexbfree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexbfree/subscriptions","organizations_url":"https://api.github.com/users/alexbfree/orgs","repos_url":"https://api.github.com/users/alexbfree/repos","events_url":"https://api.github.com/users/alexbfree/events{/privacy}","received_events_url":"https://api.github.com/users/alexbfree/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"alexbfree","id":1473244,"avatar_url":"https://avatars.githubusercontent.com/u/1473244?v=3","gravatar_id":"","url":"https://api.github.com/users/alexbfree","html_url":"https://github.com/alexbfree","followers_url":"https://api.github.com/users/alexbfree/followers","following_url":"https://api.github.com/users/alexbfree/following{/other_user}","gists_url":"https://api.github.com/users/alexbfree/gists{/gist_id}","starred_url":"https://api.github.com/users/alexbfree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexbfree/subscriptions","organizations_url":"https://api.github.com/users/alexbfree/orgs","repos_url":"https://api.github.com/users/alexbfree/repos","events_url":"https://api.github.com/users/alexbfree/events{/privacy}","received_events_url":"https://api.github.com/users/alexbfree/received_events","type":"User","site_admin":false},"assignees":[{"login":"alexbfree","id":1473244,"avatar_url":"https://avatars.githubusercontent.com/u/1473244?v=3","gravatar_id":"","url":"https://api.github.com/users/alexbfree","html_url":"https://github.com/alexbfree","followers_url":"https://api.github.com/users/alexbfree/followers","following_url":"https://api.github.com/users/alexbfree/following{/other_user}","gists_url":"https://api.github.com/users/alexbfree/gists{/gist_id}","starred_url":"https://api.github.com/users/alexbfree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexbfree/subscriptions","organizations_url":"https://api.github.com/users/alexbfree/orgs","repos_url":"https://api.github.com/users/alexbfree/repos","events_url":"https://api.github.com/users/alexbfree/events{/privacy}","received_events_url":"https://api.github.com/users/alexbfree/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2016-07-14T16:02:39Z","updated_at":"2016-08-25T09:29:01Z","closed_at":null,"body":"Equivalent to #1824, it seems we are only getting back the `id` and `display_name` but not the login name of the user when it is returned as a linked resource. This makes things more cumbersome for the client when for example you have a collection and want to construct a URL to all of that user's collections - such as `http://zooniverse.org/collections/johnsmith` (You have to extract it from `collection.slug` for example). This is just one example - would apply to all owned resources.\r\n\r\nAssigning this ticket to myself, will do exactly the same as #1825 and add the additional field, plus specs, so that all three values - `id`, `display_name` and `login` are returned."},"comment":{"url":"https://api.github.com/repos/zooniverse/Panoptes/issues/comments/242329436","html_url":"https://github.com/zooniverse/Panoptes/issues/1868#issuecomment-242329436","issue_url":"https://api.github.com/repos/zooniverse/Panoptes/issues/1868","id":242329436,"user":{"login":"alexbfree","id":1473244,"avatar_url":"https://avatars.githubusercontent.com/u/1473244?v=3","gravatar_id":"","url":"https://api.github.com/users/alexbfree","html_url":"https://github.com/alexbfree","followers_url":"https://api.github.com/users/alexbfree/followers","following_url":"https://api.github.com/users/alexbfree/following{/other_user}","gists_url":"https://api.github.com/users/alexbfree/gists{/gist_id}","starred_url":"https://api.github.com/users/alexbfree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexbfree/subscriptions","organizations_url":"https://api.github.com/users/alexbfree/orgs","repos_url":"https://api.github.com/users/alexbfree/repos","events_url":"https://api.github.com/users/alexbfree/events{/privacy}","received_events_url":"https://api.github.com/users/alexbfree/received_events","type":"User","site_admin":false},"created_at":"2016-08-25T09:29:01Z","updated_at":"2016-08-25T09:29:01Z","body":"Unassigning myself as I don't think I'll have time to do this before leaving Zooniverse on Sep 16th."}}
{"actor":{"display_login":"alexbfree"}}