Skip to content

UserPreferenceHistoryChangeDto

Endpoints · All schemas

FieldRequiredDescription
afterYesThe value after, JSON encoded; null when protected
beforeYesThe value before, JSON encoded; null when protected
pathYesThe changed preference, as a dotted path such as memories.enabled
protectedNoChanged, but its values are not recorded (Locked content)

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": {
    "after": {
      "description": "The value after, JSON encoded; null when protected",
      "nullable": true,
      "type": "string"
    },
    "before": {
      "description": "The value before, JSON encoded; null when protected",
      "nullable": true,
      "type": "string"
    },
    "path": {
      "description": "The changed preference, as a dotted path such as memories.enabled",
      "type": "string"
    },
    "protected": {
      "description": "Changed, but its values are not recorded (Locked content)",
      "type": "boolean"
    }
  },
  "required": [
    "after",
    "before",
    "path"
  ],
  "type": "object"
}