tap-rest-api-msdk
tap-rest-api-msdk copied to clipboard
Understanding pagination
Hello, How to setup paginiation this is the response
{ "transactions": [{...}], "meta": { "current_page": 1, "next_page": 2, "prev_page": null, "total_pages": 3, "total_count": 210, "per_page": 100 } }
This is the next request query .. &PER_PAGE=20&CURRENT_PAGE=1
I have setup this :
next_page_token_jsonpath: $.meta.next_page
pagination_response_style: style1
pagination_page_size: 100
It doesnot seems to work. What should I do ?
Is it always this kind of response ?
"pagination": {
"total": 136,
"limit": 2,
"offset": 2
}
Look at the documentation regarding this PR: https://github.com/Widen/tap-rest-api-msdk/pull/36. It may resolve you problem.