Notifications from the REST API

Hello!

I’ve been using Mayan for quite some time now. It’s a great and powerful tool.

However, I have a few questions about notifications and what can be done via the REST API.
The GET /notifications endpoint lists notifications and the response contains the “read” parameter, which is great.

But I can’t find a solution for some points. Through the REST API:

  • Is there a way to subscribe (as you can do via the GUI)?
  • Is there a way to modify the value of the “read” parameter?

Thank you very much and have a nice day.

Cédric

2 Likes

Sadly no on both counts at the moment.

But these are mature features now and exposing them via the API should not set us back too much in terms of the 4.6 release schedule.

Adding them to the work list to see if we can ship these with the next version.

Thanks for the request!

1 Like

Hello Roberto,
It would be great news if the next version included these new endpoints.
Do you have any idea when this version will take place?
Thanks for all.

Hello @roberto.rosario,
Do you have any news about this request?
Is it still planned?
Thanks a lot
Cédric

Support for marking notification as read via the API is available in version 4.7.

https://docs.mayan-edms.com/releases/4.7.html#events

Support for deleting notifications via the API has already been merged into version 4.8dev0 and will be available when the final version is released.

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.

Version 4.8 added support for deleting notifications via the user interface and the API.