Is there a way to copy page hierarchy and search and replace strings in content using REST API? I am aware of the call
POST
wiki/rest/api/content/{id}/pagehierarchy/copy
where we can specify search and replace in the title options.
{
"copyAttachments": true,
"copyPermissions": true,
"copyProperties": true,
"copyLabels": true,
"copyCustomContents": true,
"copyDescendants": true,
"destinationPageId": "<string>",
"titleOptions": {
"prefix": "<string>",
"replace": "<string>",
"search": "<string>"
}
}
My question is if there is a way to mimic the Advanced Options of the GUI Copy Page Tree using REST API and replace strings in the content of the pages instead of the title only?
@Mihail Chatlabashev I was going to thank you for posting this screenshot, as I was not aware that you could replace content in pages with a copy. On further investigation, though, I see that this comes from the Copy Page Tree app by Appfire (https://marketplace.atlassian.com/apps/22929/copy-page-tree?tab=overview&hosting=cloud). You might want to review their documentation or contact their support (or maybe someone will reply to you here).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.