Audit log is a list of changes for an entity. Each change is represented by the previous value (
oldBody) and a new value (
newBody) of a changed field.
Audit log model
|entityId||String||The ID of the modified entity.|
|entityType||Integer||A type of the modified entity. See EntityTypes for a list of entity types.|
|kind||Integer||A type of the modification. See EntityTypes for a list of entity types.|
|newBody||Object||New value of the entity's modified field.|
|oldBody||Object||Previous value of the entity's modified field.|
|timestamp||Integer||A timestamp of the entity modification.|
|userId||String||The ID of the user who modified an entity.|
entityType field refers to the type of entity that's being modified. The
kind field is a type of field of this entity, that's being modified. Both of these are EntityTypes.
The examples of audit logs with different