Skip to main content

SettingHistoryDto

Setting history entry DTO

change_reasonstring | nullnullable

Reason provided for the change

Example: Performance optimization
changed_atstring<date-time>required

When the change was made

Example: 2024-01-15T10:30:00Z
changed_bystring<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
ip_addressstring | 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
new_valuestringrequired

New value after the change

Example: 4
old_valuestringrequired

Previous value before the change

Example: 2
setting_idstring<uuid>required

ID of the setting that was changed

Example: 550e8400-e29b-41d4-a716-446655440000
SettingHistoryDto
{
"change_reason": "Performance optimization",
"changed_at": "2024-01-15T10:30:00Z",
"changed_by": "550e8400-e29b-41d4-a716-446655440002",
"id": "550e8400-e29b-41d4-a716-446655440001",
"ip_address": "192.168.1.100",
"key": "scan.concurrent_jobs",
"new_value": "4",
"old_value": "2",
"setting_id": "550e8400-e29b-41d4-a716-446655440000"
}