general stats endpoint #56
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
priority:high
priority:low
priority:medium
question
status:blocked
status:doing
status:review_needed
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Blocks
#10 dashboard stats
lfk/frontend
Reference: lfk/backend#56
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
a general stats endpoint should be available
I built a basic stats endpoint with:
Of these numbers we still have to test the distance and donation related stats.
To provide auth for the stats we're going to implement a new entity that is used to authorize a stats client with a token (not JWT).
I implemented a new auth middleware+entities for the stats api.
Todo: Implement stats responses for a cleaner runner/team/org stats output.
TODO: Implement auth via jwt for the status endpoints.
Ist implementiert, aktuell braucht ein user die Berechtigungen für:
RUNNER:GET
TEAM:GET
ORGANISATION:GET
Um auf die Stats Endpoints zuzugriefen.
//Done