Skip to main content
GET
/
file-backup
curl "https://app.drime.cloud/api/v1/file-backup?file_id=123&workspaceId=0" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{
  "pagination": {
    "current_page": 1,
    "data": [
      {
        "id": 456,
        "name": "document_backup_20240115.pdf",
        "file_size": 1048576,
        "created_at": "2024-01-15T10:30:00.000000Z"
      }
    ],
    "total": 1,
    "per_page": 15
  },
  "status": "success"
}

Overview

Returns backup/version history for a given file. Shows previous versions that can be restored.

Query Parameters

file_id
integer
required
File entry ID
workspaceId
integer
Workspace ID
perPage
integer
default:"15"
Items per page

Response

pagination
object
Paginated list of backup versions
status
string
Request status (success)
curl "https://app.drime.cloud/api/v1/file-backup?file_id=123&workspaceId=0" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{
  "pagination": {
    "current_page": 1,
    "data": [
      {
        "id": 456,
        "name": "document_backup_20240115.pdf",
        "file_size": 1048576,
        "created_at": "2024-01-15T10:30:00.000000Z"
      }
    ],
    "total": 1,
    "per_page": 15
  },
  "status": "success"
}