Closed 0xDagal closed 3 months ago
I guess we should add it to the ListOptions
struct as that one is embedded in all appropriate List...Options
structs. Feel free to take a stab at it if you want, but please follow the guidelines šš»
Thanks, I'm in vacation right now and do not have access to my computer, but if no one does it, I'll do it when I'll be back.
Context
For a project, I'm trying to go through all files of some projects to find some specific files. And I know about the search blob API, but I do not have the right tier.
What is in the API
To do so, in with the API, I can either
page_token
to tell which ID to begin with and, as well, do until I receive an empty tablepage_token
to tell which ID to begin with and, as well, do until I receive an empty tableWith the SDK
With
RepositoriesService.ListTree
I do not have the last page in my response, neither I have thepage_token
in the options.What is needed
To add either the page in the
RepositoriesService.ListTree
or add thepage_token
in theListTreeOptions
struct, or both.I could help in the process by making a PR if needed and also maybe other APIs are affected as the pagination system is everywhere, so I may wait for an answer here.