forked from salesforce/Argus
-
Notifications
You must be signed in to change notification settings - Fork 5
Audit resource
Lauren Padia edited this page Jun 24, 2016
·
3 revisions
[User Guide](User Guide) | [Web Service API](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 |
Home
[Getting Started](Getting Started)
##[User Guide](User Guide)
Alerts
Annotations
Dashboards
Metrics
Namespaces
[Data Model](Data Model)
Transforms
[Web Service API](Web Service API)
- [/alerts](Alerts Resource)
- [/annotations](Annotation Resource)
- [/audit](Audit Resource)
- [/authentication](Authentication Resource)
- [/collection](Collection Resource)
- [/dashboards](Dashboard Resource)
- [/discover](Discover Resource)
- [/history](History Resource)
- [/management](Management Resource)
- [/metrics](Metrics Resource)
- [/namespace](Namespace Resource)
- [/users](Users Resource)