{"action":"created","issue":{"url":"https://api.github.com/repos/AlgusDark/expressful-pot/issues/2","repository_url":"https://api.github.com/repos/AlgusDark/expressful-pot","labels_url":"https://api.github.com/repos/AlgusDark/expressful-pot/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/AlgusDark/expressful-pot/issues/2/comments","events_url":"https://api.github.com/repos/AlgusDark/expressful-pot/issues/2/events","html_url":"https://github.com/AlgusDark/expressful-pot/pull/2","id":168288308,"number":2,"title":"Added limit/page for GET `api/v1/users`","user":{"login":"oddoye-david","id":12543728,"avatar_url":"https://avatars.githubusercontent.com/u/12543728?v=3","gravatar_id":"","url":"https://api.github.com/users/oddoye-david","html_url":"https://github.com/oddoye-david","followers_url":"https://api.github.com/users/oddoye-david/followers","following_url":"https://api.github.com/users/oddoye-david/following{/other_user}","gists_url":"https://api.github.com/users/oddoye-david/gists{/gist_id}","starred_url":"https://api.github.com/users/oddoye-david/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oddoye-david/subscriptions","organizations_url":"https://api.github.com/users/oddoye-david/orgs","repos_url":"https://api.github.com/users/oddoye-david/repos","events_url":"https://api.github.com/users/oddoye-david/events{/privacy}","received_events_url":"https://api.github.com/users/oddoye-david/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-29T09:42:03Z","updated_at":"2016-07-29T14:11:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/AlgusDark/expressful-pot/pulls/2","html_url":"https://github.com/AlgusDark/expressful-pot/pull/2","diff_url":"https://github.com/AlgusDark/expressful-pot/pull/2.diff","patch_url":"https://github.com/AlgusDark/expressful-pot/pull/2.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/AlgusDark/expressful-pot/issues/comments/236190782","html_url":"https://github.com/AlgusDark/expressful-pot/pull/2#issuecomment-236190782","issue_url":"https://api.github.com/repos/AlgusDark/expressful-pot/issues/2","id":236190782,"user":{"login":"AlgusDark","id":818856,"avatar_url":"https://avatars.githubusercontent.com/u/818856?v=3","gravatar_id":"","url":"https://api.github.com/users/AlgusDark","html_url":"https://github.com/AlgusDark","followers_url":"https://api.github.com/users/AlgusDark/followers","following_url":"https://api.github.com/users/AlgusDark/following{/other_user}","gists_url":"https://api.github.com/users/AlgusDark/gists{/gist_id}","starred_url":"https://api.github.com/users/AlgusDark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlgusDark/subscriptions","organizations_url":"https://api.github.com/users/AlgusDark/orgs","repos_url":"https://api.github.com/users/AlgusDark/repos","events_url":"https://api.github.com/users/AlgusDark/events{/privacy}","received_events_url":"https://api.github.com/users/AlgusDark/received_events","type":"User","site_admin":false},"created_at":"2016-07-29T14:11:50Z","updated_at":"2016-07-29T14:11:50Z","body":"Hi @oddoye-david , first of all, thanks a lot to be interested in the project :)\r\n\r\nI think that we need to make a `limit` and `page` default in `config/index.js`, maybe 100 as a limit and 1 as page. That way, `limit` and `page` are optional on the Request.\r\n\r\n* page can't be < 0\r\n* limit can't be < 1\r\n\r\nWhat would happen if someone send a request `/?limit=100?page=3` but we only have *50 users*? We need to handle that with a new HTTP response :)"}}
{"actor":{"display_login":"AlgusDark"}}