Hi,
I’m trying to retrieve all content being watched by the current user, but the results seem to be random and incorrect.
const myUser = useProductContext().accountId;
async function unwatch(user) {
const response = await api
.asApp()
.requestConfluence(
route`/wiki/rest/api/search?cql=watcher="${user}" &limit=200`,
{
headers: {
Accept: "application/json",
},
}
);
The majority of the pages reported are not being watched by the current user. Any idea?
Thanks
Matteo