Currently I am making a project that needs to pull the assetIds of all items for sale in a group store. To do this, I am using the search function within the Catalog API.
https://search.roblox.com/catalog/items?CreatorID=${groupId}&CreatorType=Group&Direction=2&IncludeNotForSale=false&PageNumber=${pageNumber}&SortType=RecentlyUpdated&ResultsPerPage=30
The idea is to increment PageNumber
until (PageNumber * ResultsPerPage) < TotalResults
, however the issue I am encountering is that requests with a PageNumber
greater than 2 return page 1, even if TotalResults > (PageNumber * ResultsPerPage)
.
https://search.roblox.com/catalog/items?CreatorID=1&ResultsPerPage=1&PageNumber=3
https://search.roblox.com/catalog/items?CreatorID=3916674&CreatorType=Group&ResultsPerPage=1&PageNumber=3
This is unintended behavior, and inhibits any effort to generate a list of assetIds of a group store or player profile.