Hello,
I want to be able to execute a "simple search" against confluence from my application using the REST API. This would effectively mimic what happens when you do a search from the search bar in Confluence. Eventually, I might want to more complex searches using CQL, but for now more of a simple full-text search capability would be fine.
I've seen reference to the searchv3 API, but this appears to be marked PRIVATE although I've seen others mention that they're using it. search/v3/1.0/search?queryString= seems like exactly what I want. What is the "right" way to do this and which REST API endpoint should I use?
Thanks!
Hey Brian,
If you're feeling adventurous - the endpoint that Confluence Server (6.11.1 at least) uses is
https://confluence.example.org/json/contentnamesearch.action?query=search%20string%20goes%20here
NB: this isn't a documented/public API, so may well change in any version/update - use at your own risk.
CCM
Thanks Craig. But I'm not that adventurous ;-) I'm looking for the correct supported search API
Brian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.