Skip to content

BackupDeviceWriteDto

Endpoints · All schemas

FieldRequiredDescription
appVersionYesstring
deviceKeyYesStable random client device identity, scoped to this owner
displayNameYesstring
lastSuccessfulBackupAtYesDevice-reported success; not server verification
modelYesstring
pendingCountYesinteger
platformYesstring

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": {
      "maxLength": 100,
      "minLength": 1,
      "type": "string"
    },
    "deviceKey": {
      "description": "Stable random client device identity, scoped to this owner",
      "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": {
      "maxLength": 200,
      "minLength": 1,
      "type": "string"
    },
    "lastSuccessfulBackupAt": {
      "description": "Device-reported success; not server verification",
      "format": "date-time",
      "nullable": true,
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
      "type": "string"
    },
    "model": {
      "maxLength": 200,
      "minLength": 1,
      "type": "string"
    },
    "pendingCount": {
      "maximum": 2147483647,
      "minimum": 0,
      "type": "integer"
    },
    "platform": {
      "maxLength": 50,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "appVersion",
    "deviceKey",
    "displayName",
    "lastSuccessfulBackupAt",
    "model",
    "pendingCount",
    "platform"
  ],
  "type": "object"
}