{"service":"xray-manager","version":"0.4.0","status":"running","documentation":{"swagger":"/docs","redoc":"/redoc","openapi":"/openapi.json"},"authentication":{"admin":"JWT token (HS256) - acquired via /auth/admin/login","api_key":"X-API-Key header - managed via /admin/api-keys","user":"JWT token (RS256) - from external auth service"},"api_structure":{"health":{"description":"Health check endpoints","base_path":"/health","auth_required":false},"auth":{"description":"Admin authentication endpoints","base_path":"/auth","auth_required":false},"admin":{"description":"Admin management endpoints","base_path":"/admin","auth_required":"Admin JWT"},"app":{"description":"Application integration endpoints","base_path":"/app","auth_required":"API Key"},"user":{"description":"End user endpoints","base_path":"/user","auth_required":"User JWT"}},"endpoints":{"health":["GET /health - Service health status","GET /health/live - Liveness probe","GET /health/ready - Readiness probe"],"auth":["POST /auth/admin/login - Admin login","POST /auth/admin/refresh - Refresh access token","GET /auth/admin/me - Get current admin info"],"admin":["GET /admin/servers - List servers","POST /admin/servers - Create server","GET /admin/servers/{id} - Get server","PATCH /admin/servers/{id} - Update server","DELETE /admin/servers/{id} - Delete server","GET /admin/countries - List countries","GET /admin/inbounds - List inbound configs","POST /admin/inbounds - Create inbound config","GET /admin/inbounds/{code} - Get inbound config","DELETE /admin/inbounds/{code} - Delete inbound config","GET /admin/users - List users","GET /admin/users/{id} - Get user","DELETE /admin/users/{id} - Delete user","GET /admin/api-keys - List API keys","POST /admin/api-keys - Create API key","DELETE /admin/api-keys/{id} - Delete API key","GET /admin/outbox/stats - Outbox statistics","GET /admin/outbox/failed - Failed events","POST /admin/outbox/{id}/retry - Retry failed event"],"app":["GET /app/servers - List servers","GET /app/servers/{id} - Get server","GET /app/inbounds - List inbound configs","GET /app/inbounds/{code} - Get inbound config","GET /app/countries - List countries","POST /app/users - Create user","GET /app/users - List users","GET /app/users/{id} - Get user","PATCH /app/users/{id} - Update user","GET /app/users/{id}/keys - Get user VLESS keys"],"user":["GET /user/profile - Get my profile","GET /user/keys - Get my VLESS keys"]}}