We have noticed that searches performed via the Confluence UI provide more accurate results than those performed using the search REST API. I took a look at what the Confluence UI is doing when performing search, and found the following API being used:
The results for this call are significantly more accurate than if we attempt the same search via the documented search API:
GET https://x.atlassian.net/wiki/rest/api/content/search?cql=type=page and label=condoc and text~"health"
Is the /gateway/api/xpsearch-aggregator/search/v2/advanced API okay to consume via REST, or is the interface subject to change without notice? Alternately, is there a way to get the /wiki/rest/api/content/search to perform like the former?
Phew, Atlassian Team 2021 blew by. With dozens of demos and a handful of keynotes, you may have missed some of the awesome Confluence Cloud sessions. Don't' worry, you can watch them all here or on Y...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events