morz-infoboard/server/backend/internal/httpapi/meta.go
Jesko Anschütz f8a57b3e6b Bereinige signalstarke Linter-Funde
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-03-22 17:56:56 +01:00

21 lines
465 B
Go

package httpapi
import "net/http"
func handleMeta(w http.ResponseWriter, _ *http.Request) {
writeJSON(w, http.StatusOK, map[string]any{
"service": "morz-infoboard-backend",
"version": "dev",
"api": map[string]any{
"base_path": "/api/v1",
"health": "/healthz",
"tools": []map[string]string{
{
"name": "message-wall-resolve",
"method": http.MethodPost,
"path": "/api/v1/tools/message-wall/resolve",
},
},
},
})
}