Hi
I have a script that communicates to Confluence via REST API. I need to find pages with one macro and replace it with a different macro. How do I create REST URL that searches for all the pages using macro XXX ?
Thank you
That would work fine, and also CQL has a keyword for that:
rest/api/search?cql=macro=XXX
https://developer.atlassian.com/server/confluence/advanced-searching-using-cql/#macro
Thank you, yes it is more concise and efficient CQL search
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think I have my answer. It would be something like
rest/api/search?cql=siteSearch ~ "macroName:XXX"
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.