{"action":"created","issue":{"url":"https://api.github.com/repos/larabros/elogram/issues/37","repository_url":"https://api.github.com/repos/larabros/elogram","labels_url":"https://api.github.com/repos/larabros/elogram/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/larabros/elogram/issues/37/comments","events_url":"https://api.github.com/repos/larabros/elogram/issues/37/events","html_url":"https://github.com/larabros/elogram/issues/37","id":153512008,"number":37,"title":"Optional merging for pagination","user":{"login":"RockFridrich","id":4190988,"avatar_url":"https://avatars.githubusercontent.com/u/4190988?v=3","gravatar_id":"","url":"https://api.github.com/users/RockFridrich","html_url":"https://github.com/RockFridrich","followers_url":"https://api.github.com/users/RockFridrich/followers","following_url":"https://api.github.com/users/RockFridrich/following{/other_user}","gists_url":"https://api.github.com/users/RockFridrich/gists{/gist_id}","starred_url":"https://api.github.com/users/RockFridrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RockFridrich/subscriptions","organizations_url":"https://api.github.com/users/RockFridrich/orgs","repos_url":"https://api.github.com/users/RockFridrich/repos","events_url":"https://api.github.com/users/RockFridrich/events{/privacy}","received_events_url":"https://api.github.com/users/RockFridrich/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-06T18:34:33Z","updated_at":"2016-05-06T21:23:49Z","closed_at":null,"body":"It will be suitable for AJAX pagination if package will not be merging results of pagination with root response.\r\n\r\nIf we request 20 images and the use pagination on response object with N pages as second parameter we need to get N*20 images and not N*20 + 20 (from 1 response)\r\n\r\nWe can add optional boolean parameter to paginate function \r\n"},"comment":{"url":"https://api.github.com/repos/larabros/elogram/issues/comments/217562048","html_url":"https://github.com/larabros/elogram/issues/37#issuecomment-217562048","issue_url":"https://api.github.com/repos/larabros/elogram/issues/37","id":217562048,"user":{"login":"hassankhan","id":1781985,"avatar_url":"https://avatars.githubusercontent.com/u/1781985?v=3","gravatar_id":"","url":"https://api.github.com/users/hassankhan","html_url":"https://github.com/hassankhan","followers_url":"https://api.github.com/users/hassankhan/followers","following_url":"https://api.github.com/users/hassankhan/following{/other_user}","gists_url":"https://api.github.com/users/hassankhan/gists{/gist_id}","starred_url":"https://api.github.com/users/hassankhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hassankhan/subscriptions","organizations_url":"https://api.github.com/users/hassankhan/orgs","repos_url":"https://api.github.com/users/hassankhan/repos","events_url":"https://api.github.com/users/hassankhan/events{/privacy}","received_events_url":"https://api.github.com/users/hassankhan/received_events","type":"User","site_admin":false},"created_at":"2016-05-06T21:23:49Z","updated_at":"2016-05-06T21:23:49Z","body":"Yeah that could be done, the idea was to implement that using generators but I haven't had time."}}