DESCRIPTION
This endpoint finds history actions for document ID.
URL STRUCTURE
https://[hostname]/document/history/{documentId:[0-9]+}
METHOD
POST
HEADERS
**Authorization:**
string Base64 [email]:[key]
ARGUMENTS
Name | Type | Description |
---|---|---|
documentId | int | Document ID |
RETURNS
Returns an array of events.
[
{
"entity": "document",
"entityId": "281",
"changeTime": "2019-12-10 14:14:07",
"valueBefore": "",
"valueAfter": "Josh",
"userId": "1776",
"field": "Checked In Document"
},
{
"entity": "document",
"entityId": "281",
"changeTime": "2019-12-10 14:05:52",
"valueBefore": "",
"valueAfter": "Josh",
"userId": "1776",
"field": "Checked Out Document"
},
{
"entity": "document",
"entityId": "281",
"changeTime": "2019-12-10 13:49:36",
"valueBefore": "",
"valueAfter": "Josh",
"userId": "1776",
"field": "Viewed By"
},
{
"entity": "document",
"entityId": "281",
"changeTime": "2019-12-10 13:49:34",
"valueBefore": "Content Notes Special Characters",
"valueAfter": "Content Notes Special Characters",
"userId": "1776",
"field": "Title"
},
{
"entity": "document",
"entityId": "281",
"changeTime": "2019-12-10 13:48:35",
"valueBefore": "",
"valueAfter": "Josh",
"userId": "1776",
"field": "Viewed By"
},
{
"entity": "document",
"entityId": "281",
"changeTime": "2019-12-10 13:48:34",
"valueBefore": "",
"valueAfter": "Draft",
"userId": "1776",
"field": "Reverted to draft"
},
{
"entity": "document",
"entityId": "281",
"changeTime": "2019-12-10 13:48:16",
"valueBefore": "",
"valueAfter": "Josh",
"userId": "1776",
"field": "Viewed By"
}
]