Removing a specific version
Hi k15t!
The article https://help.k15t.com/scroll-versions/latest/remove-a-versioned-page-147030655.html
says
Removing a specific version does not delete the version, but hides it from users. The title is grayed out in the navigation tree, and the page will not be available in the working version (or versions based on it).
Can I automatically delete all such pages in space? REST API or other method, for example through UI.
-
Hi Pavel,
if you would like to delete the page from all versions and move it to a space trash, follow the steps from the "Delete all version of a page" section: https://help.k15t.com/scroll-versions/latest/remove-a-versioned-page-147030655.html#id-.Removeaversionedpagev3.9-Deleteallversionsofapage. Step #2 is what makes the page be completely removed from all versions.
Does this help?
Roman.
-
Hi, Roman!
No Roman, no.
I do not want to delete the page from all versions and move it to a space trash.
if author has rights Author (see https://help.k15t.com/scroll-versions/latest/roles-and-permissions-147036760.html) he can only Removing a specific version.
Removing a specific version does not delete the version, but hides it from users. The title is grayed out in the navigation tree, and the page will not be available in the working version (or versions based on it).
How can I search such pages? How can an administrator (Doc-Admin) delete them?
Do you suggest looking for such pages manually or delete the pages with version?
-
Hi Roman!
Could you please share why marking a certain page as removed is not enough for you?1. We use DEACTIVATE THE PUBLIC VIEW (https://help.k15t.com/scroll-versions/latest/deactivate-the-public-view-140542515.html)
2. When there are many versions in space , there will be many such pages. It is unuseful and uncomfortable.
How can I search such pages via REST? What is marked for removed pages?
-
Hi Roman!
I can get such pages via REST:
GET THE PAGE DETAILS OF A VERSIONED PAGE
You can get the Confluence page ID, page title, change type, and additional information of a versioned page using the following POST request:
POST [confluence_base_url]/rest/scroll-versions/1.0/page/<spaceKey>
Sample response for such a page
{
"available": false,
"cached": false,
"changeType": "Remove",
"confluencePageId": 216629534,
"confluencePageTitle": ".Test v1.7",
"converted": false,
"includedScrollPageIds": "",
"isDirty": false,
"lastModificationDate": 1539245810375,
"lastModifier": "user",
"pageType": "change",
"plainConfluenceTitle": "Test",
"scrollPageId": "0ACB3D0401666232F1427F5D4712CEB5",
"scrollPageTitle": "Test",
"spaceKey": "ASRU",
"targetVersion": {
"i18nName": "version 1.7",
"id": "0A6573030164D1D8AF05507C0C2917AB",
"name": "1.7",
"versionId": "0A6573030164D1D8AF05507C0C2917AB"
}
}"changeType": "Remove" - This attribute?
Please sign in to leave a comment.
Comments
9 comments