Messages count limit 100
I'm using this api https://api.novu.co/v1/messages and noticed a few issues:
issue 1: totalCount in the response seems to be always 1000 regardless if we create/have more messages
issue 2: https://api.novu.co/v1/messages?page=20&limit=50 combining page and limit doesn't seem to work with hasMore in the response, as we are getting this property as false but if we change the page value to 21 we get newer messages
Can anyone please help?
Raise by @Rui
https://discord.com/channels/895029566685462578/937309213036785744/1119225787984388136
4 Replies
@george.d, you just advanced to level 23!
issue 1: The main purpose of this endpoint is to serve the as a pagination flag (mostly for the novu's in-app notification-center), so the user can indicate if he has more or less then 99 messages (if more then 99 he can present in the UI "99+" notification count).
could you share your use-case to fetch count of more then 1000?
issue 2: sound like a bug to me, could you open an issue in Github with the relevant information? 🙏
@Rui
@Rui Did you get chance to look into George answer?
@george.d @Pawan Jain Appologies for not replying earlier as I was on annual leave. Actually we changed our implementation and no longer use this API. Would you mind of raising the issue yourselves? Thanks