Hi
I`m wanna connect to my repository, using gitlab4j-api
public class TestResrt {
public static void main(String[] args) throws IOException, GitLabApiException {
GitLabApi gitLabApi = new GitLabApi("https://gitlab.com/", "token");
Pager<Project> projectPager = gitLabApi.getProjectApi().getMemberProjects(19748035);
User currentUser = gitLabApi.getUserApi().getCurrentUser();
System.out.println(projectPager);
}
}
But i get an error:
Exception in thread "main" org.gitlab4j.api.GitLabApiException: Offset pagination has a maximum allowed offset of 50000 for requests that return objects of type Project. Remaining records can be retrieved using keyset pagination.
Help please,