{"action":"created","issue":{"url":"https://api.github.com/repos/DoSomething/phoenix/issues/5055","labels_url":"https://api.github.com/repos/DoSomething/phoenix/issues/5055/labels{/name}","comments_url":"https://api.github.com/repos/DoSomething/phoenix/issues/5055/comments","events_url":"https://api.github.com/repos/DoSomething/phoenix/issues/5055/events","html_url":"https://github.com/DoSomething/phoenix/pull/5055","id":105652957,"number":5055,"title":"Reportback items endpoint","user":{"login":"chloealee","id":9019452,"avatar_url":"https://avatars.githubusercontent.com/u/9019452?v=3","gravatar_id":"","url":"https://api.github.com/users/chloealee","html_url":"https://github.com/chloealee","followers_url":"https://api.github.com/users/chloealee/followers","following_url":"https://api.github.com/users/chloealee/following{/other_user}","gists_url":"https://api.github.com/users/chloealee/gists{/gist_id}","starred_url":"https://api.github.com/users/chloealee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chloealee/subscriptions","organizations_url":"https://api.github.com/users/chloealee/orgs","repos_url":"https://api.github.com/users/chloealee/repos","events_url":"https://api.github.com/users/chloealee/events{/privacy}","received_events_url":"https://api.github.com/users/chloealee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"weerd","id":105849,"avatar_url":"https://avatars.githubusercontent.com/u/105849?v=3","gravatar_id":"","url":"https://api.github.com/users/weerd","html_url":"https://github.com/weerd","followers_url":"https://api.github.com/users/weerd/followers","following_url":"https://api.github.com/users/weerd/following{/other_user}","gists_url":"https://api.github.com/users/weerd/gists{/gist_id}","starred_url":"https://api.github.com/users/weerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weerd/subscriptions","organizations_url":"https://api.github.com/users/weerd/orgs","repos_url":"https://api.github.com/users/weerd/repos","events_url":"https://api.github.com/users/weerd/events{/privacy}","received_events_url":"https://api.github.com/users/weerd/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-09-09T18:12:29Z","updated_at":"2015-09-10T20:45:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/DoSomething/phoenix/pulls/5055","html_url":"https://github.com/DoSomething/phoenix/pull/5055","diff_url":"https://github.com/DoSomething/phoenix/pull/5055.diff","patch_url":"https://github.com/DoSomething/phoenix/pull/5055.patch"},"body":"Fixes https://github.com/DoSomething/api/issues/7 \r\n\r\n##### What's this PR do? \r\nAdds a user's `first_name`, `last_name`, `country`, and `photo` to the `reportback-items` endpoint. Makes the request from phoenix to ns to grab user data and caches this data for 24 hours.  \r\n\r\n##### Where should the reviewer start? \r\nphoenix -> northstar call is made in lines 132-148 of ReportbackController.\r\n\r\n##### How should this be manually tested? \r\nComment in line 137 of ReportbackController.php to get a specific user's information. \r\nUser endpoint `dev.dosomething.org:8888/api/v1/reportback-items.json`\r\n\r\nTo test caching is working correctly: http://drupal.stackexchange.com/questions/87184/how-to-check-that-cache-is-working-on-current-page \r\n\r\n##### What are the relevant tickets? \r\nWill this conflict @aaronschachter? \r\nhttps://github.com/DoSomething/LetsDoThis-iOS/issues/286"},"comment":{"url":"https://api.github.com/repos/DoSomething/phoenix/issues/comments/139373880","html_url":"https://github.com/DoSomething/phoenix/pull/5055#issuecomment-139373880","issue_url":"https://api.github.com/repos/DoSomething/phoenix/issues/5055","id":139373880,"user":{"login":"angaither","id":645205,"avatar_url":"https://avatars.githubusercontent.com/u/645205?v=3","gravatar_id":"","url":"https://api.github.com/users/angaither","html_url":"https://github.com/angaither","followers_url":"https://api.github.com/users/angaither/followers","following_url":"https://api.github.com/users/angaither/following{/other_user}","gists_url":"https://api.github.com/users/angaither/gists{/gist_id}","starred_url":"https://api.github.com/users/angaither/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angaither/subscriptions","organizations_url":"https://api.github.com/users/angaither/orgs","repos_url":"https://api.github.com/users/angaither/repos","events_url":"https://api.github.com/users/angaither/events{/privacy}","received_events_url":"https://api.github.com/users/angaither/received_events","type":"User","site_admin":false},"created_at":"2015-09-10T20:45:01Z","updated_at":"2015-09-10T20:45:01Z","body":":+1: :ship: :wine_glass: "}}