Skip to main content

SettingHistoryDto

Setting history entry DTO

changeReasonstring | nullnullable

Reason provided for the change

Example: Performance optimization
changedAtstring<date-time>required

When the change was made

Example: 2024-01-15T10:30:00Z
changedBystring<uuid>required

User who made the change

Example: 550e8400-e29b-41d4-a716-446655440002
idstring<uuid>required

History entry ID

Example: 550e8400-e29b-41d4-a716-446655440001
ipAddressstring | nullnullable

IP address of the user who made the change

Example: 192.168.1.100
keystringrequired

Setting key that was changed

Example: scan.concurrent_jobs
newValuestringrequired

New value after the change

Example: 4
oldValuestringrequired

Previous value before the change

Example: 2
settingIdstring<uuid>required

ID of the setting that was changed

Example: 550e8400-e29b-41d4-a716-446655440000
SettingHistoryDto
{
"changeReason": "Performance optimization",
"changedAt": "2024-01-15T10:30:00Z",
"changedBy": "550e8400-e29b-41d4-a716-446655440002",
"id": "550e8400-e29b-41d4-a716-446655440001",
"ipAddress": "192.168.1.100",
"key": "scan.concurrent_jobs",
"newValue": "4",
"oldValue": "2",
"settingId": "550e8400-e29b-41d4-a716-446655440000"
}