Accelerate the Value of Data

Entity History (With Count of Changes)

This request extends Entity History.

This request is an extension of the Entity History (GET {TenantURL} /entities/{entity object URI}/_changes) request. It works in the same way, but additionally returns the total number of entity changes.

Request

GET {TenantURL} /entities/{entity object URI}/_changesWithTotal

Parameters

Same as in Entity History (GET {TenantURL} /entities/{entity object URI}/_changes).

Response

JSON array with timestamps when an entity was modified and total count of entity changes.

Request

GET {TenantURL}/entities/11/_changesWithTotal?showAll=true&max=2&offset=0Headers:
                Authorization: Bearer 204938ca-2cf7-44b0-b11a-1b4c59984512

Response

{
	"changes": [{
		"timestamp": 1455217729826,
		"user": "User",
		"type": "ENTITY_CREATED"
	}, {
		"timestamp": 1455217730185,
		"user": "User",
		"type": "ENTITY_CHANGED"
	}],
	"total": 11
}