resource_log_last_rows

Retrieve recent entries from the resource log v8.6 and above

$minref The minimum ref (id) of the log entry to retrieve
$days Number of recent days entries to return. Default = 7 (this is ignored if minref is supplied).
$maxrecords Maximum number of records to return. Default = all rows (0)

Return values

Log entries in JSON format, including date, ref, resource, type (refer to definitions.php), resource_type_field, user ID, notes, diff and usageoption value