You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 10, 2024. It is now read-only.
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
use an offset based pagination, retrieve the last page from the response link header and do until I receive an empty table
use a keyset based pagination, ordered by ID, get the next ID with the response link header, use the page_token to tell which ID to begin with and, as well, do until I receive an empty table
use a keyset based pagination, ordered by ID, get the last ID from my table, use the page_token to tell which ID to begin with and, as well, do until I receive an empty table
With the SDK
With RepositoriesService.ListTree I do not have the last page in my response, neither I have the page_token in the options.
What is needed
To add either the page in the RepositoriesService.ListTree or add the page_token in the ListTreeOptions 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.
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_tokento tell which ID to begin with and, as well, do until I receive an empty tablepage_tokento tell which ID to begin with and, as well, do until I receive an empty tableWith the SDK
With
RepositoriesService.ListTreeI do not have the last page in my response, neither I have thepage_tokenin the options.What is needed
To add either the page in the
RepositoriesService.ListTreeor add thepage_tokenin theListTreeOptionsstruct, 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.