Pagination in a rest view api How to handle this situation in the Rest Export View as api.

We want to fetch a limit of 20 items in the api and with a load more feature. Currently our api produces hundreds of items.

In the Pager section, I can ofcourse select Paged output, full pager and specifiy  Items to display, say 20. But how this works in the api? Since its only displaying 20 items, how does load more feature occur? Thanks!

This is my Pager settings.

PAGER
Items to display:Full | Paged, 20 items
Simply pass the “page” parameter with the request, like ‘api/foo/bar?page=1’. Views will return the next set of results as you increment the page number. You can do the load more interaction however you want on the front end so long as you specify the page and keep track of total results.