create Pagination Query

protected fun createPaginationQuery(page: Int, pageSize: Int): APIRequest.Params

Method to create the query with the pagination parameters

Return

the paginated query as Params

Parameters

page

The number of the page to request to the backend

pageSize

The size of the result for the page