Example: Next page token paging that uses a query parameter returned in a response header

This section describes the Model file syntax for paging mechanisms that use query parameters passed in a response header to return the next page of results. In the following example, the response header Next specifies the query parameter value page_2.
Next=page_2

If the query parameter argument is next_page, the driver would send the following query parameter in a request to retrieve the next page of results.

next_page=page_2
In this scenario, to configure paging, you need to specify the nextPageResponseHeader and nextPageParameter parameters in your paging entry. The nextPageResponseHeader configures the driver to use the value of the specified header as the value of the query parameter, while nextPageParameter specifies the query parameter argument to be used to retrieve the next page of results. The following is example of configuring paging using a query parameter passed in a response.
"#pageSizeParameter": "limit", 
"#maximumPageSize": 100, 
"#nextPageResponseHeader": "Next",
"#nextPageParameter": "next_page"