Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Get files in restore directory

returns list of information on files in conf-home/restore/(jobScope).

GET/rest/api/backup-restore/restore/files
Query parameters
jobScopestring

name of type of restore job (SITE or SPACE or null), if null, all backup files are listed

Responses
200

Returns a list of FileInfo objects, containing fileName, fileCreationTime, fileSize, and jobScope.

Array of FileInfo
namestring
creationTimestring
sizeinteger<int64>
jobScopestring
Allowed:SPACESITE
400

Returned if user is not a system administrator

statusCodeinteger<int32>
dataValidationResult
Show properties
authorizedboolean
validboolean
errorsobject
successfulboolean
allowedInReadOnlyModeboolean
messagestring
reasonstring
Try it
Server
Parameters
Request
curl -X GET 'http://example.com:7990/confluence/rest/api/backup-restore/restore/files' \
  -H 'Accept: application/json'
Response
[
  {
    "name": "backup-2020-01-01-01-01-01.zip",
    "creationTime": "2020-01-01T01:01:01.000Z",
    "size": 1000,
    "jobScope": "SITE"
  }
]

Was this page helpful?