{"service":"Escore Auth Service","domain":"https:\/\/escore-auth.edcoding.lv","version":"1.0","endpoints":{"public":[{"method":"POST","path":"\/api\/register","description":"Register a new user","requires_auth":false},{"method":"POST","path":"\/api\/login","description":"Authenticate user and get token","requires_auth":false},{"method":"GET","path":"\/api\/health","description":"Service health check","requires_auth":false},{"method":"GET","path":"\/api\/public\/user\/{id}","description":"Get user information by ID","requires_auth":false},{"method":"POST","path":"\/api\/public\/verify-user-access","description":"Verify if user can access resources","requires_auth":false}],"authenticated":[{"method":"GET","path":"\/api\/user","description":"Get current authenticated user","requires_auth":true},{"method":"POST","path":"\/api\/logout","description":"Logout and revoke token","requires_auth":true},{"method":"POST","path":"\/api\/refresh","description":"Refresh access token","requires_auth":true},{"method":"GET","path":"\/api\/verify","description":"Verify token validity","requires_auth":true},{"method":"GET","path":"\/api\/profile","description":"Get user profile with relationships","requires_auth":true},{"method":"GET","path":"\/api\/children","description":"Get all child users","requires_auth":true},{"method":"POST","path":"\/api\/children","description":"Create a new child user","requires_auth":true},{"method":"PUT","path":"\/api\/children\/{id}\/assign-email","description":"Assign email to child user","requires_auth":true},{"method":"PUT","path":"\/api\/children\/{id}","description":"Update child user","requires_auth":true},{"method":"DELETE","path":"\/api\/children\/{id}","description":"Delete child user","requires_auth":true}],"oauth2":[{"method":"GET","path":"\/oauth\/authorize","description":"OAuth2 authorization endpoint","requires_auth":false},{"method":"POST","path":"\/oauth\/token","description":"OAuth2 token endpoint","requires_auth":false},{"method":"GET","path":"\/oauth\/tokens","description":"List user tokens","requires_auth":true},{"method":"DELETE","path":"\/oauth\/tokens\/{token-id}","description":"Revoke specific token","requires_auth":true}]}}