Hi, we are using search API(https://developer.atlassian.com/cloud/confluence/advanced-searching-using-cql/) with recentlyViewedContent() function.
Basically, we want to get list of recently visited pages in a particular space of a logged in user. Below is our API call which we are using in order to get the results.
https://{mydomain}/wiki/rest/api/search?expand=content.metadata.currentuser.viewed&cql=type=page and id in recentlyViewedContent(200) and space={yourSpaceName} order by lastModified desc
I have 27 pages in a particular space, I visited one page and checked in the above API call mentioned.
When we use the above mentioned API call, we do get list of 14 pages(totalSIze:14 in the output) in our API call, but the recently visited page is missing in the 'results' array.
Does Anybody faced the similar issue mentioned above or had a solution for the above issue?
Thanks.
WMIO
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.