Verify the tenant's audit chain (tenant:dms:admin)
GET /api/dms/v1/audit/verify
Module: DMS · operationId: verifyAuditChain · Tag: Compliance · Auth: access token (Authorization: Bearer <accessToken>)
Responses
- 200 Result (
application/json)
Fields of the 200 answer:
entries(integer, required): Entries checkedvalid(boolean, required): Every entry hash matchesbrokenAtId(integer (int64)): First entry whose hash does not matchheadHash(string): Hash of the latest entry
Example 200 answer:
{
"entries": 18342,
"headHash": "7b1e9c3a5f2d8e4b0a6c1f7d3e9b5a2c8f4d0e6a1b7c3f9d5e2a8b4c0f6d1e7a",
"valid": true
}
Example request
curl -X GET 'https://api.mbcom.cloud/api/dms/v1/audit/verify' \
-H "Authorization: Bearer $ACCESS_TOKEN"