SAYMON REST API
Search…
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):
1
[
2
{
3
"entityType": 1,
4
"kind": 10,
5
...
6
},
7
...
8
]
Copied!
User modified Link's ("entityType": 2) Property ("kind": 10):
1
[
2
{
3
"entityType": 2,
4
"kind": 10,
5
...
6
},
7
...
8
]
Copied!
User modified User's ("entityType": 5) Session ("kind": 13).
1
[
2
{
3
"entityType": 5,
4
"kind": 13,
5
...
6
},
7
...
8
]
Copied!
Last modified 1yr ago