Document reading pages of items
See original GitHub issueReturn open or closed issues in pagination
public List<GHIssue> getIssues(GHIssueState state) throws IOException {
return this.listIssues(state).toList();
}
public List<GHIssue> getIssues(GHIssueState state, GHMilestone milestone) throws IOException {
Requester requester = (Requester)((Requester)this.root.createRequest().with("state", state)).with("milestone", milestone == null ? "none" : "" + milestone.getNumber());
return ((Requester)requester.withUrlPath(this.getApiTailUrl("issues"), new String[0])).toIterable(GHIssue[].class, (item) -> {
item.wrap(this);
}).toList();
}
I didn’t see any support for paging
Need to manually specify page and pre_page
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Reading Order tool for PDFs (Acrobat Pro) - Adobe Support
The Reading Order tool in Adobe Acrobat provides the easiest and quickest way to fix reading order and basic tagging problems.
Read more >Read documents in Word - Microsoft Support
Common reading tools are built in right into Word: page through a document, add comments, define and translate words, and copy or highlight...
Read more >How to Quickly Scan Books, Documents and Other Items into ...
CZUR Shine Ultra Pro: https://shop.czur.com/ products /czur-shine-ultra-proThe CZUR Shine Ultra Pro is an amazing scanner that does quite a ...
Read more >Intro to word-processing and page layout documents in Pages ...
A page layout document is like a canvas that you add text boxes, images, and other objects to, then arrange the objects on...
Read more >Navigating Web Pages - Freedom Scientific
Reading Text. JAWS uses the Virtual Cursor to move through HTML pages, enabling JAWS users to read and select text and move to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@eric-5512 I’m sorry, I’m still not understanding.
https://github.com/hub4j/github-api/blob/3a11b7ccbf5ef80e6231c15b539c5d386f827caf/src/main/java/org/kohsuke/github/PagedIterator.java#L120
If you’re talking about paging forward and back or selecting a specific page, see #348.
I’m going to leave this open as a documentation issue. It would be helpful to have a doc that covers this behavior.