Skip to content

UserPreferenceHistoryEntryDto

Endpoints · All schemas

FieldRequiredDescription
changesYesEvery changed preference
createdAtYesWhen the change was saved
deviceLabelYesThe device that saved it, such as "macOS · Web"
idYesEntry ID
omittedChangesYesChanged preferences left out because the entry reached its limit

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.

Field definitions: UserPreferenceHistoryChangeDto

{
  "properties": {
    "changes": {
      "description": "Every changed preference",
      "items": {
        "$ref": "#/components/schemas/UserPreferenceHistoryChangeDto"
      },
      "type": "array"
    },
    "createdAt": {
      "description": "When the change was saved",
      "format": "date-time",
      "type": "string"
    },
    "deviceLabel": {
      "description": "The device that saved it, such as \"macOS · Web\"",
      "nullable": true,
      "type": "string"
    },
    "id": {
      "description": "Entry ID",
      "type": "string"
    },
    "omittedChanges": {
      "description": "Changed preferences left out because the entry reached its limit",
      "maximum": 9007199254740991,
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "changes",
    "createdAt",
    "deviceLabel",
    "id",
    "omittedChanges"
  ],
  "type": "object"
}