Each method that returns lists and collection of resources can be paginated by adding to the URL query string parameters.
In particular these are:
- pageSize: define the page dimension of the collection;
- pageNumber: define which page to start from;
At the moment filtering and ordering is not yet fully supported. In case of necessity it should be implemented on client side upon needed criteria.
Best practices
To avoid timeout problems and improve the performances of the application, we recommend whenever possible to use pagination and to decompose complex process in smaller and faster ones, demanding to the client application the "hard work" of rebuilding the large data set that has been retrieved from smaller sets that are returned by MailUp using pagination.