I am working in a project that has discourse integrated with several apps, by now, I need to be able to allow one of those external apps to mark notifications from discourse as read but of course, consuming the API.
For instance, if I try to hit the
notifications/mark-read endpoint I will get
Nevertheless, I will stress that I have already manage basic things as CORS config and token handling from outside (For instance my component is able to login/logout the user and pull user notifications).
The idea is that this custom component has a button to “Mark all as read”
I have also seen this “clear_notifications” method
And it while it looks like the thing I can use it seems to not be exposed or available for the usage outside discourse app?
Thanks in advance for any help.