Audit Log [WIP]

The Audit Log Model

Field

Type

Description

entityId

String

?

entityType

Integer

A type of the modified entity. See EntityTypes for a list.

kind

Integer

A type of the modification. See EntityTypes for a list.

newBody

?

?

oldBody

?

?

timestamp

Integer

?

userId

String

?

entityType vs kind

Both entityType and kind values refer to EntityTypes. Here are some examples to feel the difference.

User modified Object's ("entityType": 1) Property ("kind": 10):

[
{
"entityType": 1,
"kind": 10,
...
},
...
]

User modified Link's ("entityType": 2) Property ("kind": 10):

[
{
"entityType": 2,
"kind": 10,
...
},
...
]

User modified User's ("entityType": 5) Session ("kind": 13).

[
{
"entityType": 5,
"kind": 13,
...
},
...
]