Is it possible to watch a page AND the descendants through the Confluence REST API?
The UI has an option to watch with descendants, but I do not see the option to include descendants when calling the /rest/user/watch/space/{spaceKey} API.
Hi @Julie Torres
The UI only shows this option, because you have the app "ScriptRunner for Confluence" installed. Out of the box, this isn't an option in confluence.
Bug with ScriptRunner installed, you can use their API. For watching descendants, you can call this:
https://<<URL>>/rest/scriptrunner-confluence/descendants/latest/watch?pageId=<<pageId>>
It is a PUT operation with the pageId as a parameter.
I found this option with the chrome dev tools by clicking the "Watch descendants" button and analyse the REST calls.
Regards, Dominic
Thank you!
It looks like you're new here. Sign in or register to get started.