feat: add audit logging for admin trash restore/purge and notification clear actions
- Record audit events in `admin_trash_restore` and `admin_trash_purge` endpoints with target metadata - Log `notification.read.all` event when user clears devRant notification feed - Include `devrant` as a valid origin in audit categories - Add `admin_section` and `pagination_query` fields to audit and backup schemas for UI consistency
This commit is contained in:
@@ -605,6 +605,19 @@ ACTIONS: tuple[Action, ...] = (
|
||||
params=(path("uid", "SEO job uid returned by seo_diagnostics."),),
|
||||
requires_auth=False,
|
||||
),
|
||||
Action(
|
||||
name="seo_report",
|
||||
method="GET",
|
||||
path="/tools/seo/{uid}/report",
|
||||
summary="Read a finished SEO audit report",
|
||||
description=(
|
||||
"Returns the full audit for a finished SEO job: overall score and grade, per-category "
|
||||
"scores, per-check results, per-page details, and site-wide checks. Use it after "
|
||||
"seo_status reports status 'done' to explain what passed, what failed, and how to improve."
|
||||
),
|
||||
params=(path("uid", "SEO job uid returned by seo_diagnostics."),),
|
||||
requires_auth=False,
|
||||
),
|
||||
Action(
|
||||
name="deepsearch",
|
||||
method="POST",
|
||||
|
||||
Reference in New Issue
Block a user