You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returns extended stats when request is made by admin (A) or user (U) as opposed to visitor (V)
response model in new module tekst/models/stats.py
things that could be in scope for the endpoint:
number of registered users (V)
number of users with an active session (A)
number of users that logged in within the last week (needs last_login field on user doc, exclude from read model!) (U)
number of users that logged in within the last month (see above) (U)
number of users that logged in within the last year (see above) (U)
current number of outdated user messages (A)
current number of outdated access tokens (A)
total number of requested PW resets (happens on auth hooks; needs a stats collection for counting or a "stats" object in the state collection – which should be renamed to platform... and could the IDs just be "state" and "stats"??) (A)
/api/platform/stats
tekst/models/stats.py
last_login
field on user doc, exclude from read model!) (U)stats
collection for counting or a "stats" object in thestate
collection – which should be renamed toplatform
... and could the IDs just be"state"
and"stats"
??) (A)The data should be served something like this:
The text was updated successfully, but these errors were encountered: