API reference
A concise reference to the JSON endpoints currently implemented by the ClashCloud application.
Health check
GET /api/health returns a small JSON response that confirms the web process is answering.
{"ok": true, "service": "collective", "time": "…"}Component status
GET /api/status returns the current request-time status of the web service and database. It is not historical uptime monitoring.
Cached GitHub repositories
GET /api/github/projects returns public repository metadata from the server-side cache. Configure GITHUB_OWNER to connect an owner; the cache refresh interval is controlled by GITHUB_SYNC_SECONDS.
Telegram webhook
POST /api/telegram/webhook is optional. Requests require a matching X-Telegram-Bot-Api-Secret-Token. The current handler supports /help and /status.