{"action":"opened","issue":{"url":"https://api.github.com/repos/Itxaka/pyapi-gitlab/issues/142","labels_url":"https://api.github.com/repos/Itxaka/pyapi-gitlab/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/Itxaka/pyapi-gitlab/issues/142/comments","events_url":"https://api.github.com/repos/Itxaka/pyapi-gitlab/issues/142/events","html_url":"https://github.com/Itxaka/pyapi-gitlab/issues/142","id":83587571,"number":142,"title":"Pagination removed in API","user":{"login":"Kurocon","id":1193988,"avatar_url":"https://avatars.githubusercontent.com/u/1193988?v=3","gravatar_id":"","url":"https://api.github.com/users/Kurocon","html_url":"https://github.com/Kurocon","followers_url":"https://api.github.com/users/Kurocon/followers","following_url":"https://api.github.com/users/Kurocon/following{/other_user}","gists_url":"https://api.github.com/users/Kurocon/gists{/gist_id}","starred_url":"https://api.github.com/users/Kurocon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kurocon/subscriptions","organizations_url":"https://api.github.com/users/Kurocon/orgs","repos_url":"https://api.github.com/users/Kurocon/repos","events_url":"https://api.github.com/users/Kurocon/events{/privacy}","received_events_url":"https://api.github.com/users/Kurocon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-01T16:23:39Z","updated_at":"2015-06-01T16:23:39Z","closed_at":null,"body":"The getall function creates an infinite loop from GitLab 7.10 onwards because the pagination functionality was removed. This is because the API always returns some values, so that the 'results' variable will never be empty.\r\n\r\nA fix for users of the getall function is to just call the requested function directly, so instead of calling getall(getgroupmembers, group_id=1) you call getgroupmembers(group_id=1)."}}