Commit graph

2 commits

Author SHA1 Message Date
Mish
a1f3ebfaf6
Add a tickets API (#156)
* Add a tickets API

* Add more fields to JSON response for /api/ticket and /api/tickets

* Prevent returning a massive number of tickets by default

* Add an order to the query

* Document /api/tickets
2026-02-05 02:53:13 +00:00
Mish
311c7341a1
Add a stats v2 endpoint (#154)
* Add a stats v2 endpoint

* Make helpers_leaderboard json-friendly

* Improve naming of hang time stats

* Make new_tickets_now_closed do what it says for ranges in the past

* Add some docs!

* Split all-time hang time into unresolved/all

* Add a statistic for oldest question waiting for a helper response (#152)

* Silence type error (that was annoying me)

* Add new metric: oldest_unanswered_ticket_age_minutes

* Fix datetime subtraction exception

* Add oldest unanswered ticket info to stats v2
2026-02-03 00:53:50 +00:00