1.
...
Export all audit events
...
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
occurred/captured in the repository
This query is expected to return all audit events recorded in a Fedora 4 repository. The query results may be filtered by:
- a specific date range, within which the events occurred,
- a certain type of events,
- a particular user associated with the events, or
- any combination of the above
Example: TBA
2. Export all audit events associated with a resource
This query is expected to return all audit events associated with a specific Fedora 4 resource. As with the query 1, the results of this query may also be filtered by:
- a specific date range, within which the events occurred,
- a certain type of events,
- a particular user associated with the events, or
- any combination of the above
Example: TBA
Additional queries/use cases (based on Unresolved Questions)
- Adding custom/external events
- Deleting custom/external events
...