jcabi-github icon indicating copy to clipboard operation
jcabi-github copied to clipboard

Iterating all users fail

Open davidkarlsen opened this issue 5 years ago • 2 comments

2019-07-30 15:55:35.319  INFO   --- [           main] com.jcabi.http.request.BaseRequest       : #fetch(GET myghehost /api/v3/users): [200 OK] in 1s
2019-07-30 15:55:35.568  INFO   --- [           main] com.jcabi.http.request.BaseRequest       : #fetch(GET myghehost /api/v3/users/1): [404 Not Found] in 200ms

Running GHE on-prem 2.17.1

code:

Github github = new RtGithub(request);
    github.users().iterate("").forEach( user -> {
      try {
        System.out.println(user.json().toString());
      } catch (IOException e) {
        e.printStackTrace();
      }
    });

it seems to return the same user on each iteration.

Refdocs: https://developer.github.com/v3/users/#get-all-users

davidkarlsen avatar Jul 30 '19 13:07 davidkarlsen

@amihaiemil/z please, pay attention to this issue

0crat avatar Jul 30 '19 13:07 0crat

@davidkarlsen/z this project will fix the problem faster if you donate a few dollars to it; just click here and pay via Stripe, it's very fast, convenient and appreciated; thanks a lot!

0crat avatar Jul 30 '19 13:07 0crat