Skip to main content

api_sessions

Function api_sessions 

Source
pub fn api_sessions(
    _caller: Actor,
    pool: &State<DbPool>,
) -> Result<Json<Vec<SessionDto>>, Status>
Expand description

The active sessions (agent twin of the /admin/sessions screen): who is currently signed in. Token-gated (the active-identity list is sensitive). 503 if the pool is exhausted.