{"action":"created","issue":{"url":"https://api.github.com/repos/DoSomething/dosomething/issues/4650","labels_url":"https://api.github.com/repos/DoSomething/dosomething/issues/4650/labels{/name}","comments_url":"https://api.github.com/repos/DoSomething/dosomething/issues/4650/comments","events_url":"https://api.github.com/repos/DoSomething/dosomething/issues/4650/events","html_url":"https://github.com/DoSomething/dosomething/issues/4650","id":92498569,"number":4650,"title":"Update Kudos response to group by taxonomy term and add total count","user":{"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},"labels":[{"url":"https://api.github.com/repos/DoSomething/dosomething/labels/%23api","name":"#api","color":"bfdadc"},{"url":"https://api.github.com/repos/DoSomething/dosomething/labels/@bender","name":"@bender","color":"009800"}],"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":{"url":"https://api.github.com/repos/DoSomething/dosomething/milestones/27","html_url":"https://github.com/DoSomething/dosomething/milestones/Campaigns,%20Reportbacks%20&%20Kudos%20API","labels_url":"https://api.github.com/repos/DoSomething/dosomething/milestones/27/labels","id":1126269,"number":27,"title":"Campaigns, Reportbacks & Kudos API","description":"Updates, additions and general building of API endpoints for `/campaigns`, `/reportbacks`, `/reportback-items` and `/kudos`.","creator":{"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},"open_issues":13,"closed_issues":6,"state":"open","created_at":"2015-05-22T18:18:48Z","updated_at":"2015-07-01T22:27:40Z","due_on":"2015-07-10T04:00:00Z","closed_at":null},"comments":2,"created_at":"2015-07-01T22:27:40Z","updated_at":"2015-07-02T15:32:11Z","closed_at":null,"body":"Sample desired output:\r\n\r\n```\r\n...\r\nkudos: {\r\n  data: [\r\n    {\r\n      term: {\r\n        id: \"5\",\r\n        name: \"hellz yeah!\"\r\n      },\r\n      kudos_items: {\r\n        total: 2,\r\n        data: [\r\n          {\r\n            id: \"37\",\r\n            user: {\r\n              id: \"1920\"\r\n            }\r\n          },\r\n          {\r\n            id: \"45\",\r\n            user: {\r\n              id: \"1080\"\r\n            }\r\n          }\r\n        ]\r\n      }\r\n    },\r\n    {\r\n      term: {\r\n        id: \"17\",\r\n        name: \"no way!\"\r\n      },\r\n      kudos_items: {\r\n        total: 1,\r\n        data: [\r\n          {\r\n            id: \"47\",\r\n            user: {\r\n              id: \"1080\"\r\n            }\r\n          }\r\n        ]\r\n      }\r\n    }\r\n  ]\r\n},\r\n...\r\n```"},"comment":{"url":"https://api.github.com/repos/DoSomething/dosomething/issues/comments/118069636","html_url":"https://github.com/DoSomething/dosomething/issues/4650#issuecomment-118069636","issue_url":"https://api.github.com/repos/DoSomething/dosomething/issues/4650","id":118069636,"user":{"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},"created_at":"2015-07-02T15:32:11Z","updated_at":"2015-07-02T15:32:11Z","body":"Yep yep. `kudos_items` are records from the `dosomething_kudos` table; based on the unique `kid`"}}