Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

recentlyViewedContent() not working

webmethods-integration July 26, 2020

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

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events