Best practices for developing n8n nodes

Hi Max, I was wondering what is the best practice regarding fetching pages from a paginated API :slight_smile:

I want to implement an operation in my node for getting all entries of an API endpoint, and there will be a lot of entries and many pages to fetch. Is there a preferred pattern between these two approaches (or even a better approach)?

(1) Make the node get just one page and expect that the user will use this workflow pattern to get all entries;
(2) Make the node directly retrieve all the pages, and output the concatenation of all pagesโ€™ entries