Overview
Archive endpoints allow you to list archives in a repository, view detailed information, browse contents, delete archives, and extract files.List Archives
List all archives in a repository. Endpoint:GET /api/archives/list
string
required
Repository path
Get Archive Info
Get detailed information about a specific archive. Endpoint:GET /api/archives/{archive_id}/info
string
required
Repository path
boolean
default:false
Include file listing in response
integer
default:1000
Maximum number of files to return if include_files is true
integer
Original size in bytes before compression
integer
Size after compression in bytes
integer
Actual storage used after deduplication in bytes
integer
Number of files in the archive
array
Command used to create the archive
string
Hostname where backup was created
array
Array of file objects (only if include_files=true)
Get Archive Contents
List files and directories in an archive. Endpoint:GET /api/archives/{archive_id}/contents
string
required
Repository path
string
default:""
Subdirectory path to list (empty for root)
Delete Archive
Delete an archive from the repository (runs in background). Endpoint:DELETE /api/archives/{archive_id}
Admin Only: Yes
string
required
Repository path
integer
ID of the delete job for status monitoring
Get Delete Job Status
Monitor the status of an archive deletion. Endpoint:GET /api/archives/delete-jobs/{job_id}
Example Request:
Cancel Delete Job
Cancel a running archive deletion. Endpoint:POST /api/archives/delete-jobs/{job_id}/cancel
Admin Only: Yes
Example Request:
Download File from Archive
Extract and download a specific file from an archive. Endpoint:GET /api/archives/download
string
required
Repository path
string
required
Archive name
string
required
Path to file within archive
string
required
Access token (passed as query parameter for download links)
Archive Status Values
Delete jobs can have the following statuses:pending- Job created, waiting to startrunning- Deletion in progresscompleted- Deletion completed successfullyfailed- Deletion failed with errorscancelled- Deletion was cancelled