I have a user A who is subscribed to wach all the content in the space.
But whenever new page has been added (by some another user B) to the space I cannot find the user A in the list of wachers of the page using Confluence Cloud REST API call:
GET /wiki/rest/api/content/{id}/notification/child-created
When you navigate to the newly created page under user page A, you will find user A waching the page.
Is this an API issue? How can I get the waches of the page for new pages?
I found solution to my case. I need to use another endpoint to get watchers for the space: GET /wiki/rest/api/content/{id}/notification/created
So to get ALL watchers of the page a need to call
GET /wiki/rest/api/content/{id}/notification/child-created
and
GET /wiki/rest/api/content/{id}/notification/created
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.