Add AI service dashboard endpoint
All checks were successful
CI / test (push) Successful in 16s
Build and Deploy / build-and-deploy (push) Successful in 22s

This commit is contained in:
Grendgi
2026-06-08 17:23:01 +03:00
parent a525d7a1c4
commit 3ecdcd395e
3 changed files with 97 additions and 5 deletions

View File

@@ -69,6 +69,8 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
s.handleProviderStatus(w, r)
case r.Method == http.MethodGet && path == "/api/v1/infra/status":
s.handleInfraStatus(w, r)
case r.Method == http.MethodGet && path == "/api/v1/dashboard":
s.handleDashboard(w, r)
default:
writeError(w, http.StatusNotFound, "not found")
}