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 }}
Repository navigation
Retrieve more items from the REST API per call #442
Add support for varying page sizes using the per_page parameter.
Feature Idea Additional Details
We have a large number of repos, and it's far faster to retrieve as many as possible in a single request. GitHub's REST API supports the per_page parameter that allows us to retrieve up to 100 items (for the endpoints I checked), defaulting to 30 items.
Requested Assignment
I can do it, but it seems a bit complex, based on Invoke-GHRestMethodMultipleResult. So I might have to have guidance as far as the standards I need to follow in this function.
Operating System
All
PowerShell Version
Name Value
---- -----
PSVersion 7.4.6
PSEdition Core
GitCommitId 7.4.6
OS Microsoft Windows 10.0.19045
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Activity
variableresistor commentedon Jan 8, 2025
Maybe add a setting "perPage" and default it to 0. Then implement the parameter on a case-by-case basis:
In GitHubRepositories.ps1.