Hello,
I'm trying get notifications from confluence into my Java web app whenever a new page is created in a certain space. What is the best way to do this? Is it even possible?
Well, Confluence Cloud has webhooks that you can use within a Connect app in order to get updates about actions such as new page creation, but unfortunately webhooks have not yet been implemented for server: https://community.atlassian.com/t5/Confluence-questions/Are-WebHooks-available-for-Confluence/qaq-p/382392
In this case, I would say polling Confluence every couple of minutes over the REST API for any new pages created would be the only way you could achieve this currently.
Is there a specific rest endpoint I should be using. I've been digging through the Java API too and it looks like my best option is to use the NotificationManager. I'm not sure which endpoint you are referring to.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.