jcabi / jcabi/jcabi-github

Iterating all users fail

Open
#1,498 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
307
Forks
144
Avg merge
1d 22h
Merged PRs (30d)
14

Description

```
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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.