-
-
Notifications
You must be signed in to change notification settings - Fork 954
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
"page" REST API parameter is confusing #2039
Comments
In Kratos |
I mean, the example is then wrong. The example has previous/next links and they increase in the |
PR: #2143 |
peturgeorgievv
pushed a commit
to senteca/kratos-fork
that referenced
this issue
Jun 30, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Preflight checklist
Describe the bug
Reading here it says:
And example has the current
page
at 10, page size at 5, and then the nextpage
is 15. This looks to me likepage
should be namedoffset
.page
is generally used when you compute offset by doingpage
*per_page
. How it is used in Kratos it should be namedoffset
.Reproducing the bug
See description above.
Relevant log output
No response
Relevant configuration
No response
Version
v0.8.0-alpha.3
On which operating system are you observing this issue?
Linux
In which environment are you deploying?
Docker Compose
Additional Context
No response
The text was updated successfully, but these errors were encountered: