API call to get history of site group changes.
The user must be authenticated and have read permissions to the site group.
Request
The request object has the following fields:
|
Name |
Type |
Required |
Description |
|---|---|---|---|
|
siteGroupId |
String |
Yes |
Identifier for the site group. |
Response
The response object for a successful query has the following fields:
|
Name |
Type |
Description |
|---|---|---|
|
|
Long |
The site group modification time in format of unix timestamp |
|
|
String |
Name of user who did site group modification |
|
|
Array of Object |
List of specified site group modification |
Change object has the following fields:
|
Name |
Type |
Description |
|---|---|---|
|
|
String |
Type of change ( |
|
|
String |
The value of site group field before change |
|
|
String |
The value of site group field after change |
Examples
$ python cx.py /site/group/history '{"siteGroupId":"9222300742653756873"}'
{
"changes": [
{
"time": 1635926573835,
"username": "exampleUser@example.com",
"changes": [
{
"type": "NAME",
"oldValue": "Old name",
"newValue": "New name"
}
]
},
{
"time": 1636026573264,
"username": "anotherExampleUser@example.com",
"changes": [
{
"type": "DESCRIPTION",
"oldValue": "Old description",
"newValue": "New description"
}
]
}
]
}