{"name":"TrainTrack API","version":"2.0.0","description":"User accounts, bookmarks, and notifications for TrainTrack","documentation":"/docs","versioning":{"latest":"v1","unversioned":"Defaults to latest; /v1/* and /* both supported"},"publicEndpoints":[{"method":"GET","path":"/v1/health","description":"API health check"},{"method":"GET","path":"/openapi.json","description":"OpenAPI 3.1 specification"},{"method":"GET","path":"/docs","description":"Swagger UI documentation"},{"method":"GET","path":"/.well-known/oauth-authorization-server","description":"OAuth 2.1 server metadata (RFC 8414)"},{"method":"GET","path":"/.well-known/oauth-protected-resource","description":"Protected resource metadata (RFC 9728)"}],"authenticatedEndpoints":[{"method":"GET","path":"/v1/me","description":"Get current user profile","scope":"profile:read"},{"method":"PATCH","path":"/v1/me","description":"Update user profile","scope":"profile:write"},{"method":"GET","path":"/v1/bookmarks","description":"List user bookmarks","scope":"bookmarks:read"},{"method":"POST","path":"/v1/bookmarks","description":"Add bookmark","scope":"bookmarks:write"},{"method":"DELETE","path":"/v1/bookmarks/:kind/:targetId","description":"Remove bookmark","scope":"bookmarks:write"},{"method":"GET","path":"/v1/notifications","description":"List notifications","scope":"notifications:read"}],"mcp":{"endpoint":"/mcp","protocol":"MCP 2025-11-25","transport":"Streamable HTTP","methods":["initialize","tools/list","tools/call","resources/list","resources/read"],"authentication":"OAuth 2.1 Bearer tokens"},"oauth":{"metadata":"/.well-known/oauth-authorization-server","authorize":"/v1/oauth/authorize","token":"/v1/oauth/token","register":"/v1/oauth/register","introspect":"/v1/oauth/introspect","revoke":"/v1/oauth/revoke"}}