1. Export all audit events associated with a node
Service endpoint
http://domain/rest/node_id/fcr:exportAudit
Request parameters
Name | Description | Type | Mandatory | Options/Examples |
toDate | Audit events occurred till the date specified | Timestamp | No | 2012-08-03T10:02:00.169Z |
fromDate | Audit events occurred since the date specifed | Timestamp | No | 2012-08-01T10:02:00.169Z |
format | The encoding format for the response | String | No | Application/rdf+xml (default) Text/xml |
Example:
Response
TBA
2. Export all audit events associated with a node where the events were created by a certain user
Service endpoint
http://domain/rest/node_id/fcr:exportAudit
Request parameters
Name | Description | Type | Mandatory | Options/Examples |
toDate | Audit events occurred till the date specified | Timestamp | No | 2012-08-03T10:02:00.169Z |
fromDate | Audit events occurred since the date specified | Timestamp | No | 2012-08-01T10:02:00.169Z |
format | The encoding format for the response | String | No | Application/rdf+xml (default) Text/xml |
agent | The identifier of the user who created the event(s) | String | No | johnSmith, fedoraAdmin |
Example
Response
TBA
3. Export all audit events of a particular type associated with a node
Service endpoint
http://domain/rest/node_id/fcr:exportAudit
Request parameters
Name | Description | Type | Mandatory | Options/Examples |
toDate | Audit events occurred till the date specified | Timestamp | No | 2012-08-03T10:02:00.169Z |
fromDate | Audit events occurred since the date specified | Timestamp | No | 2012-08-01T10:02:00.169Z |
format | The encoding format for the response | String | No | Application/rdf+xml (default) Text/xml |
eventType | The type of the event requested | String | No | e.g. Ingest, Update - taken from a control vocabulary or an RDF ontology (TBC) |
Example
Response
TBA