how to request a paginated resource