novuhq/docs

๐Ÿ“š Docs Feedback: _digestedNotificationId Not Documented

Opened this issue ยท 0 comments

Duplicates

  • I have searched the existing issues

Related page

https://docs.novu.co/api-reference/notification/get-notifications

Kind of issue

Missing information

Issue description

Hi Novu team! Thank you for all your hard work. Much appreciated.

The _digestedNotificationId is missing from this page.

It is a part of the returned response's body

image

This information is actually pretty useful if one wants to find out whether their message was payload or not, so I think it should be documented. You guys are even using it here

However, one thing worth mentioning is that v1/notifications returns the property, but v1/notifications/{id} does not. The behavior might have to be aligned.

Context ๐Ÿ”ฆ

I was just trying to find out an easy way to determine whether the message that I have was digested or not. While _digestedNotificationId is not very accurate, as it might mean that it's something else within the same workflow that is digested, it's better than doing response.jobs[i].digest.events > 1 where response is the response object from v1/notifications/{id}