Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Audit resource

Lauren Padia edited this page Mar 22, 2017 · 4 revisions

User Guide | Web Service API


Web API Audit Endpoints

Provides methods to retrieve the audit trail history for an Argus object. Audit trails provide a history of changes and other events for an object.

Endpoint Method Description
/audit/{id} GET Audit trail for a given ID
/audit/entity/{entityid} GET Audit trails for an entity

/audit/{id}

Description
Returns the audit trail for a given Id.

Available Version
2.0

HTTP Methods
GET

Get Response Parameters

Name Type Description
id biginteger Audit trail ID

Example Response Body

[{
    "id": 47288762,
    "createdDate": 1447017621561,
    "message": "Updated Dashboard",
    "entityId":"298121"  
}]

/audit/entity/{entityid}

Description Returns the audit trails for an entity.

Available Version
2.0

HTTP Methods
GET

Get Response Parameter

Name Type Description
entityid biginteger Entity for which to retrieve the audit trail
limit biginteger Maximum number of records to return