Hi all,
I am trying to write something that will let me use the API to search for a given string throughout Confluence.
For example if I want to search for the string 'testString' I can use:
http://<localhost>:8090/rest/api/content/search?cql=type=page+and+text~"testString"&expand=body.storage
This appears to work as expected and returns all spaces/pages with 'testString' in the body of the page.
However I want to search across other Confluence sources such as:
- History - content of previous page versions
- Comments
- Attachments
It feels like this should be simple but try as I might I haven't been able to modify my existing query above to accommodate these other sources as the results are never found when I test it.
Has anyone done this before? Suggestions would be most welcome.
Thanks very much!