Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Understanding pagination #28

Open
slamer59 opened this issue Jan 17, 2023 · 1 comment
Open

Understanding pagination #28

slamer59 opened this issue Jan 17, 2023 · 1 comment

Comments

@slamer59
Copy link

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
}
@s7clarke10
Copy link
Contributor

Look at the documentation regarding this PR: #36. It may resolve you problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants