{"action":"created","issue":{"url":"https://api.github.com/repos/Coursemology/coursemology2/issues/1051","repository_url":"https://api.github.com/repos/Coursemology/coursemology2","labels_url":"https://api.github.com/repos/Coursemology/coursemology2/issues/1051/labels{/name}","comments_url":"https://api.github.com/repos/Coursemology/coursemology2/issues/1051/comments","events_url":"https://api.github.com/repos/Coursemology/coursemology2/issues/1051/events","html_url":"https://github.com/Coursemology/coursemology2/pull/1051","id":154159851,"number":1051,"title":"Add scopes and change routes for group leaderboard","user":{"login":"weiqingtoh","id":4353853,"avatar_url":"https://avatars.githubusercontent.com/u/4353853?v=3","gravatar_id":"","url":"https://api.github.com/users/weiqingtoh","html_url":"https://github.com/weiqingtoh","followers_url":"https://api.github.com/users/weiqingtoh/followers","following_url":"https://api.github.com/users/weiqingtoh/following{/other_user}","gists_url":"https://api.github.com/users/weiqingtoh/gists{/gist_id}","starred_url":"https://api.github.com/users/weiqingtoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weiqingtoh/subscriptions","organizations_url":"https://api.github.com/users/weiqingtoh/orgs","repos_url":"https://api.github.com/users/weiqingtoh/repos","events_url":"https://api.github.com/users/weiqingtoh/events{/privacy}","received_events_url":"https://api.github.com/users/weiqingtoh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-05-11T04:54:09Z","updated_at":"2016-05-24T15:09:00Z","closed_at":"2016-05-13T12:30:59Z","pull_request":{"url":"https://api.github.com/repos/Coursemology/coursemology2/pulls/1051","html_url":"https://github.com/Coursemology/coursemology2/pull/1051","diff_url":"https://github.com/Coursemology/coursemology2/pull/1051.diff","patch_url":"https://github.com/Coursemology/coursemology2/pull/1051.patch"},"body":"This PR: \r\n- Adds calculated attributes and scopes to sort the group for the group leaderboard.\r\n\r\nThe calculated attributes are a little nasty since we had to manually calculate the 'calculated attributes' (achievement count and experience points) for each course user, so I've documented down the reasons for some of the scopes. \r\n\r\nRelated to #634 "},"comment":{"url":"https://api.github.com/repos/Coursemology/coursemology2/issues/comments/221302072","html_url":"https://github.com/Coursemology/coursemology2/pull/1051#issuecomment-221302072","issue_url":"https://api.github.com/repos/Coursemology/coursemology2/issues/1051","id":221302072,"user":{"login":"lowjoel","id":2505070,"avatar_url":"https://avatars.githubusercontent.com/u/2505070?v=3","gravatar_id":"","url":"https://api.github.com/users/lowjoel","html_url":"https://github.com/lowjoel","followers_url":"https://api.github.com/users/lowjoel/followers","following_url":"https://api.github.com/users/lowjoel/following{/other_user}","gists_url":"https://api.github.com/users/lowjoel/gists{/gist_id}","starred_url":"https://api.github.com/users/lowjoel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lowjoel/subscriptions","organizations_url":"https://api.github.com/users/lowjoel/orgs","repos_url":"https://api.github.com/users/lowjoel/repos","events_url":"https://api.github.com/users/lowjoel/events{/privacy}","received_events_url":"https://api.github.com/users/lowjoel/received_events","type":"User","site_admin":false},"created_at":"2016-05-24T15:09:00Z","updated_at":"2016-05-24T15:09:00Z","body":"There usually is a way to make the route nicer, it's just a tedious process. For Rails, new actions are typically named as a verb (like get/post/index/delete), so that's why it's prefixed."}}
{"actor":{"display_login":"lowjoel"}}