Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel6
outlinefalse
typelist
printablefalse

...

Code Block
breakoutModewide
{
    "find": "Jira SD”,
    "replace": “Jira SM”
}
  • find - required - the text you want to replace

  • replace - required - the text you want to replace the search text with

  • ignoreCase - optional - whether the search text should be case-sensitive - true or false (default)

...

Code Block
breakoutModewide
{
    "find": "Jira SD”,
    "replace": “Jira SM”
}
  • find - required - the text you want to replace

  • replace - required - the text you want to replace the search text with

  • ignoreCase - optional - whether the search text should be case-sensitive - true or false (default)

...

Code Block
breakoutModewide
languageactionscript3
{
    "total": 1,
    "contentsSkipped": [
        1111111,
        2222222
    ],
    "contentsChanged": [
        786506
    ],
    "message": "success"
}

...

Get the space contents for which the permissions modification date was changed on a specific date

Available only for Confluence Administrators or Space Administrator

This API supports Pagination

This API supports optional parameters

Method type: 

Status
colourGreen
titleGET

URL: {CONFLUENCE_URL}/rest/extender/1.0/permission/space/{SPACE_KEY}/getContentWithPermissionModificationDate

  • where {SPACE_KEY} is the space key

Parameters:

  • lastPermissionModificationDateFrom - filter spaces by last permission modification date (last permission modification date >= this date; default value = 1900-01-01)

  • lastPermissionModificationDateTo - filter spaces by last permission modification date (last permission modification date <= this date; default value = current date)

  • dateFormat - define date format for parameters creationDateFrom, creationDateTo and for JSON output fields creationDateString, lastModificationDateString - default format ‘yyyy-MM-dd'

Example URL:

  • {CONFLUENCE_URL}/rest/extender/1.0/permission/space/KB/getContentWithPermissionModificationDate?lastPermissionModificationDateTo=2024-09-22

  • {CONFLUENCE_URL}/rest/extender/1.0/permission/space/KB/getContentWithPermissionModificationDate?lastPermissionModificationDateFrom=2022-09-22

  • {CONFLUENCE_URL}/rest/extender/1.0/permission/space/KB/getContentWithPermissionModificationDate?lastPermissionModificationDateFrom=01.01.2020&dateFormat=MM.dd.yyyy

Response format: JSON

Example response:

Code Block
{
	"total": 2,
	"maxResults": 100,
	"startAt": 0,
	"content": [
		{
			"lastPermissionModificationDate": 1727280841377,
			"lastPermissionModificationDateString": "2024-09-25 18:14:01",
			"name": "Welcome to Confluence",
			"id": 163841,
			"type": "page",
			"status": "current"
		},
		{
			"lastPermissionModificationDate": 1727280848170,
			"lastPermissionModificationDateString": "2024-09-25 18:14:08",
			"name": "Learn the wonders of autoconvert (step 7 of 9)",
			"id": 163860,
			"type": "page",
			"status": "current"
		}
	]
}

 

...

Changes

Info

Available since v. 2.17.0

New REST APIs:

Available since v. 2.31.0

New REST APIs:

Available since v. 3.12.*

New REST APIs:

Available since v. 3.16.*

Below REST APIs are now available to space administrators:

Available since v. 4.21.*

New REST API: Get content information

Added support for blog posts in REST APIs: