Unable to adjust page Size in Headless API
https://v0.x-docs.novu.co/notification-center/client/headless/api-reference#fetchnotifications
While implementing pagination for fetching notifications using fetchNotifications, I noticed that the pageSize parameter is not mentioned in the documentation. Is there something missing or is there any way to control the page size
7 Replies
@djsteve2640
Default page size is 10. This method does not support pageSize parameter
So does that mean all I can do is increase the page number and append the new messages to the old one ?
@djsteve2640, you just advanced to level 1!
Yes
fixed size is 10
Alright thanks
Another thing, Is it better to manually use the APIs given to manage notification feed or is the Headless Socket method better ?
https://docs.novu.co/api-reference/subscribers/get-in-app-notification-feed-for-a-particular-subscriber
@djsteve2640
headless socket method is better, you can add real time experience
Got it. Makes sense. Thank You so much