payload: {"action":"opened","issue":{"url":"https://api.github.com/repos/timols/java-gitlab-api/issues/364","repository_url":"https://api.github.com/repos/timols/java-gitlab-api","labels_url":"https://api.github.com/repos/timols/java-gitlab-api/issues/364/labels{/name}","comments_url":"https://api.github.com/repos/timols/java-gitlab-api/issues/364/comments","events_url":"https://api.github.com/repos/timols/java-gitlab-api/issues/364/events","html_url":"https://github.com/timols/java-gitlab-api/issues/364","id":511585586,"node_id":"MDU6SXNzdWU1MTE1ODU1ODY=","number":364,"title":"Improve pagination call","user":{"login":"mysiki","id":19509977,"node_id":"MDQ6VXNlcjE5NTA5OTc3","avatar_url":"https://avatars2.githubusercontent.com/u/19509977?v=4","gravatar_id":"","url":"https://api.github.com/users/mysiki","html_url":"https://github.com/mysiki","followers_url":"https://api.github.com/users/mysiki/followers","following_url":"https://api.github.com/users/mysiki/following{/other_user}","gists_url":"https://api.github.com/users/mysiki/gists{/gist_id}","starred_url":"https://api.github.com/users/mysiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mysiki/subscriptions","organizations_url":"https://api.github.com/users/mysiki/orgs","repos_url":"https://api.github.com/users/mysiki/repos","events_url":"https://api.github.com/users/mysiki/events{/privacy}","received_events_url":"https://api.github.com/users/mysiki/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-10-23T21:37:28Z","updated_at":"2019-10-23T21:37:28Z","closed_at":null,"author_association":"NONE","body":"Hey, can you improve pagination management ? I use this api for manage many users and many groups, but each call consume \"+1\" api call ... For each call, you iterate until result are null. So last call is unless, it's just for test than you don't have other page. \r\n\r\nIt's possible to use 2 methods : \r\n1 - Use the header return, gitlab give some paging information on header, and the next page if exist .. So you can check this header value pour stop iteration . \r\n2 - You have variable \"item per page\", so just count call return entry Vs item per page. If return count are < item per page, you don't need to call the next page \r\n\r\nHope you can take time on it. :)\r\n"}}
other: {"actor":{"display_login":"mysiki"}}