{"name":"TCM Exam Share Backend","endpoints":{"POST /api/shares":"Create a short code for an AI generated question payload. Body: { payload } or payload directly.","GET /api/shares/:code":"Read a stored share payload.","GET /api/qr/:code?size=260":"Return PNG QR code for the short URL.","GET /api/qr?data=<url>&size=260":"Return PNG QR code for arbitrary data.","GET /api/sync/:code":"Read synced state for a room code.","PUT /api/sync/:code":"Create or replace synced state for a room code.","POST /api/ai/chat":"Proxy DeepSeek chat completions from the backend.","GET /s/:code":"Redirect to the Firebase AI page with the share code.","GET /health":"Health check."}}