getAuditRecords method
Returns all records in the audit log, optionally for a certain date range. This contains information about events like space exports, group membership changes, app installations, etc. For more information, see Audit log in the Confluence administrator's guide.
Permissions required: 'Confluence Administrator' global permission.
Implementation
Future<AuditRecordArray> getAuditRecords(
{String? startDate,
String? endDate,
String? searchString,
int? start,
int? limit}) async {
return AuditRecordArray.fromJson(await _client.send(
'get',
'wiki/rest/api/audit',
queryParameters: {
if (startDate != null) 'startDate': startDate,
if (endDate != null) 'endDate': endDate,
if (searchString != null) 'searchString': searchString,
if (start != null) 'start': '$start',
if (limit != null) 'limit': '$limit',
},
));
}