Order results by last visited for Confluence Cloud Rest API


Is it actually possible to order serach results in Confluence via content rest api by lastVisited?

This call /rest/api/search?cql=id IN recentlyViewedContent(10) seems to order results by lastModified.

We want to build somthing like this similar to the standard Confluence search:

I think this would only be possible if the REST Api would allow us to order by lastVisited or at least exposed this field.

Any idea? Thank.


Doing some poking around, the answer appears to be “No.” Will add more if I find out it is possible.

Hi @bentley thanks for the reply. Any chance to pull someone in from the API team if this is on the roadmap?