Hi,
Myself and other devs have tried to use the maxPageSize query parameter for the “List Instance Children” request, however it always returns the maximum amount of children it can, and doesn’t respect the maxPageSize.
To replicate (assuming you have already setup a place with an Open Cloud key with the correct read permissions):
- Simply make a List Instance Children request using the maxPageSize query parameter (Ideally a low maxPageSize)
- Get the operation result - it won’t respect the maxPageSize
You can replicate this using the code found on Instance | Documentation - Roblox Creator Hub. I’ve changed the maxPageSize to be 5 for this example, and removed the pageToken parameter.
curl -L -X GET 'https://apis.roblox.com/cloud/v2/universes/{universe}/places/{place}/instances/{instance}:listChildren?maxPageSize=5' \
-H 'x-api-key: {your-api-key}'
Expected behavior
When using the maxPageSize query parameter, I expect the operation to return at most that number of children.