feat(api): add events history endpoint

Expose events via REST and websocket streaming, update
swagger docs, and emit config reload/error events
This commit is contained in:
yusing
2026-02-10 18:03:30 +08:00
parent 31a7827fab
commit 3b7a6226ad
5 changed files with 194 additions and 4 deletions

View File

@@ -78,6 +78,7 @@ func NewHandler(requireAuth bool) *gin.Engine {
v1.GET("/health", apiV1.Health)
v1.GET("/icons", apiV1.Icons)
v1.GET("/stats", apiV1.Stats)
v1.GET("/events", apiV1.Events)
route := v1.Group("/route")
{