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

?_page= or &_page= no longer working. #1539

Open
MGSimard opened this issue Apr 21, 2024 · 2 comments
Open

?_page= or &_page= no longer working. #1539

MGSimard opened this issue Apr 21, 2024 · 2 comments

Comments

@MGSimard
Copy link

No description provided.

@dgilleland
Copy link

@MGSimard - As noted by the developer of this package, the current version of json-server is a beta of V1, and there are some changes to the API endpoints. If you are looking for the older endpoints, you should install the older version of this package (pre 1.x.x). Check the Releases link on this repo to see the version history.

@ivanzusko
Copy link

@dgilleland why do you think so?

requesting ?_page=3 gives me this:

{
  "first": 1,
  "prev": 2,
  "next": 4,
  "last": 126,
  "pages": 126,
  "items": 1259,
  "data": [
      ...

prev is 2, next is 4, which means I am on page 3.

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

3 participants