Skip to main content

admin_logs_feed

Function admin_logs_feed 

Source
pub fn admin_logs_feed(
    session: Option<AdminSession>,
    pool: &State<DbPool>,
) -> Result<Json<LiveActivityDto>, Status>
Expand description

GET /admin/logs.json — the live-activity panel’s poll feed: the LiveActivityDto as JSON. Cookie-gated (a signed-in AdminSession); an expired session returns 401 so the page keeps its last-good values. The agent twin is api_logs (GET /api/logs).