A change made to a PlaceOS resource

Constructors

Properties

action: string

Kind of change

changed_fields: string[]

Fields changed

Who made the change and from where

correlation_id: string

ID of a parent of the resource, i.e. its group, playlist or booking

created_at: number

Unix epoch, in seconds, of when the change was made

diff: HashMap<[unknown, unknown]>

Changed fields as { field: [previous, current] }, secrets are redacted

id: string

Unique identifier of the history entry

resource_id: string

ID of the resource that was changed. Composite keys are joined with :

resource_type: string

Type of resource that was changed, its table name i.e. zone, sys, groups

snapshot: null | HashMap<any>

Full copy of the resource for delete and approve entries

user_email: string

Email of the user that made the change

user_id: string

ID of the user that made the change