{"action":"created","issue":{"url":"https://api.github.com/repos/fedora-infra/tahrir/issues/307","labels_url":"https://api.github.com/repos/fedora-infra/tahrir/issues/307/labels{/name}","comments_url":"https://api.github.com/repos/fedora-infra/tahrir/issues/307/comments","events_url":"https://api.github.com/repos/fedora-infra/tahrir/issues/307/events","html_url":"https://github.com/fedora-infra/tahrir/pull/307","id":70730249,"number":307,"title":"Allow users to specify a limit to the json leaderboard.","user":{"login":"ralphbean","id":331338,"avatar_url":"https://avatars.githubusercontent.com/u/331338?v=3","gravatar_id":"","url":"https://api.github.com/users/ralphbean","html_url":"https://github.com/ralphbean","followers_url":"https://api.github.com/users/ralphbean/followers","following_url":"https://api.github.com/users/ralphbean/following{/other_user}","gists_url":"https://api.github.com/users/ralphbean/gists{/gist_id}","starred_url":"https://api.github.com/users/ralphbean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ralphbean/subscriptions","organizations_url":"https://api.github.com/users/ralphbean/orgs","repos_url":"https://api.github.com/users/ralphbean/repos","events_url":"https://api.github.com/users/ralphbean/events{/privacy}","received_events_url":"https://api.github.com/users/ralphbean/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-24T16:17:09Z","updated_at":"2015-04-24T16:54:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/fedora-infra/tahrir/pulls/307","html_url":"https://github.com/fedora-infra/tahrir/pull/307","diff_url":"https://github.com/fedora-infra/tahrir/pull/307.diff","patch_url":"https://github.com/fedora-infra/tahrir/pull/307.patch"},"body":"With this, you could then set limit=1000000 to get a json response\ncontaining all users in the db if you wanted to, say, do analytics on\nFedora Badges for a school project."},"comment":{"url":"https://api.github.com/repos/fedora-infra/tahrir/issues/comments/95991081","html_url":"https://github.com/fedora-infra/tahrir/pull/307#issuecomment-95991081","issue_url":"https://api.github.com/repos/fedora-infra/tahrir/issues/307","id":95991081,"user":{"login":"ralphbean","id":331338,"avatar_url":"https://avatars.githubusercontent.com/u/331338?v=3","gravatar_id":"","url":"https://api.github.com/users/ralphbean","html_url":"https://github.com/ralphbean","followers_url":"https://api.github.com/users/ralphbean/followers","following_url":"https://api.github.com/users/ralphbean/following{/other_user}","gists_url":"https://api.github.com/users/ralphbean/gists{/gist_id}","starred_url":"https://api.github.com/users/ralphbean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ralphbean/subscriptions","organizations_url":"https://api.github.com/users/ralphbean/orgs","repos_url":"https://api.github.com/users/ralphbean/repos","events_url":"https://api.github.com/users/ralphbean/events{/privacy}","received_events_url":"https://api.github.com/users/ralphbean/received_events","type":"User","site_admin":false},"created_at":"2015-04-24T16:54:46Z","updated_at":"2015-04-24T16:54:46Z","body":"Well, we were already calculating the entire leaderboard anyways (that's the compute/IO intensive part).  This just returns the data we already had in memory to the user."}}