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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.