Webbist-dev / strapi-redirects

Manage redirects in Strapi
MIT License
14 stars 6 forks source link

Complete Response not getting in "strapi-plugin-redirects": "^1.0.4" #23

Open techvedpulkit opened 4 months ago

techvedpulkit commented 4 months ago

We recently upgraded from "strapi-plugin-redirects": "^0.0.6" to "strapi-plugin-redirects": "^1.0.4" following our update to Strapi version 4.25.0.

In our Next.js project, we previously fetched the entire dataset of 248 entries from the API endpoint https://******/api/redirects?pagination[start]=0&pagination[limit]=-1 without any pagination or limit. However, after the upgrade, this endpoint now returns only 10 entries per request and indicates a total of 248 entries in Postman.

We need to retrieve the entire dataset in one request, without any pagination or limits.

Could you please advise on how we can achieve this, or suggest the appropriate query parameters to use in Postman?

Thank you.

techvedpulkit commented 4 months ago

Dear Team,

Please update us on the above query we are facing.

ascheiber-vk commented 2 weeks ago

Hello,

If you're still stuck on that point : /api/redirects?pagination[pageSize]=-1

list all the redirections avalaible

JeStew commented 1 week ago

Same, thanks to @ascheiber-vk for the solution above!