json-server icon indicating copy to clipboard operation
json-server copied to clipboard

?_page= or &_page= no longer working.

Open MGSimard opened this issue 1 year ago • 2 comments

MGSimard avatar Apr 21 '24 21:04 MGSimard

@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.

dgilleland avatar Jun 08 '24 17:06 dgilleland

@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.

ivanzusko avatar Aug 12 '24 17:08 ivanzusko