{"name":"Doctor Notes Staging","description":"REST and GraphQL API — auth, users and roles, media, audit, settings.","version":"0.1.0-SNAPSHOT","environment":"production","navigation":[{"label":"GraphQL schema","href":"/graphql/schema","description":"SDL","token":false,"browsable":true},{"label":"Health","href":"/actuator/health","description":"liveness and readiness","token":false,"browsable":true},{"label":"JSON","href":"/api/v1","description":"this page as data","token":false,"browsable":true}],"facts":[{"label":"Version","value":"0.1.0-SNAPSHOT"},{"label":"Languages","value":"English · မြန်မာ (Accept-Language: my)"}],"groups":[{"title":"Start here","description":"Every endpoint is in the API docs; these are the first calls a client makes.","links":[{"label":"Register","method":"POST","href":"/api/v1/auth/register","description":"email, name, password → tokens","token":false,"browsable":false},{"label":"Sign in","method":"POST","href":"/api/v1/auth/login","description":"→ access + refresh token","token":false,"browsable":false},{"label":"Current user","method":"GET","href":"/api/v1/auth/me","description":"roles, permissions, is_admin","token":true,"browsable":false},{"label":"Public settings","method":"GET","href":"/api/v1/settings","description":"branding and feature flags","token":false,"browsable":true},{"label":"Upload media","method":"POST","href":"/api/v1/media/upload","description":"multipart file + collection","token":true,"browsable":false},{"label":"GraphQL","method":"POST","href":"/graphql","description":"the same services as REST","token":false,"browsable":false}]},{"title":"AI assistant","description":"Default model: openrouter · openrouter/free (no platform key — users can bring their own). docs/ai in the repository.","links":[{"label":"Start a conversation","method":"POST","href":"/api/v1/ai/conversations","description":"then post messages to it","token":true,"browsable":false},{"label":"Stream a reply","method":"POST","href":"/api/v1/ai/conversations/{id}/messages/stream","description":"SSE: start, delta…, done","token":true,"browsable":false},{"label":"Models","method":"GET","href":"/api/v1/ai/models","description":"platform + bring-your-own-key","token":true,"browsable":false},{"label":"Usage","method":"GET","href":"/api/v1/ai/usage/summary","description":"tokens per model","token":true,"browsable":false}]}]}