REST API Pagination Setting

Does anyone have some good examples on how to use the pagination option? Particularly for Shopify calls.

I've been trying now all sort of settings with no avail and the documentation is not too helpful either.

Any help or guidance is greatly appreciated.

Thank you.