Recently I wanted to query Audit data from the web browser client and learned no native REST api was available. So I created one. Below is a demonstration video and link to the full source code.
This web API enables us to execute the server object model SPAuditQuery() method from HTTP POST and provide optional filter parameters. More filters give a narrow match and faster server response. We want to be specific, even if only a default time range (example – past 30 days) to improve user experience and reduce system load.