It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Unable to get watches for newly created page through REST API

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?

1 answer

1 accepted

0 votes
Answer accepted

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
GET /wiki/rest/api/content/{id}/notification/created

Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

8,368 views 6 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you