Skip to content

BackupDeviceDto

Endpoints · All schemas

FieldRequiredDescription
appVersionYesstring
deviceKeyYesstring
displayNameYesstring
idYesstring
lastSuccessfulBackupAtYesstring
modelYesstring
ownerIdYesstring
pendingCountYesinteger
platformYesstring
quietForDaysYesElapsed whole days since reported success; null if never reported
reportedAtYesstring

Complete definition

required lists fields that must be present. nullable allows a null value; it does not make the field optional. Response enums retain exact wire values for compatibility.

{
  "properties": {
    "appVersion": {
      "type": "string"
    },
    "deviceKey": {
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      "type": "string"
    },
    "displayName": {
      "type": "string"
    },
    "id": {
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      "type": "string"
    },
    "lastSuccessfulBackupAt": {
      "format": "date-time",
      "nullable": true,
      "type": "string"
    },
    "model": {
      "type": "string"
    },
    "ownerId": {
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      "type": "string"
    },
    "pendingCount": {
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "type": "integer"
    },
    "platform": {
      "type": "string"
    },
    "quietForDays": {
      "description": "Elapsed whole days since reported success; null if never reported",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "nullable": true,
      "type": "integer"
    },
    "reportedAt": {
      "format": "date-time",
      "type": "string"
    }
  },
  "required": [
    "appVersion",
    "deviceKey",
    "displayName",
    "id",
    "lastSuccessfulBackupAt",
    "model",
    "ownerId",
    "pendingCount",
    "platform",
    "quietForDays",
    "reportedAt"
  ],
  "type": "object"
}