Closed oOblik closed 9 months ago
Addresses #61 with changes to Invoke-ITGlueRequest: Adds -AllResults switch to handle paging and multiple requests to fetch all results with one call.
Adds an -all switch to all applicable Get-* cmdlets. This can be used in unison with -page_size to limit the number of sequential requests to the API.
Ex. Get-ITGlueOrganizations -all -page_size 1000
Get-ITGlueOrganizations -all -page_size 1000
I have tested all modified cmdlets for functionality and accuracy of returned data.
This also includes an unrelated "typo" fix on Countries.ps1 to -RequestURI, that missed the change to -ResourceURI in refactor.
@oOblik Thank you. This seems good. Feel free to update now that #162 is merged.
Addresses #61 with changes to Invoke-ITGlueRequest: Adds -AllResults switch to handle paging and multiple requests to fetch all results with one call.
Adds an -all switch to all applicable Get-* cmdlets. This can be used in unison with -page_size to limit the number of sequential requests to the API.
Ex.
Get-ITGlueOrganizations -all -page_size 1000
I have tested all modified cmdlets for functionality and accuracy of returned data.
This also includes an unrelated "typo" fix on Countries.ps1 to -RequestURI, that missed the change to -ResourceURI in refactor.