{"openapi":"3.1.0","info":{"title":"Unit","description":"Account system for self-hosted services: users with profile picture, email, phone, username, name and password; email auth via SMTP; REST API, service API keys and OpenID Connect.","version":"1.0.0"},"paths":{"/api/auth/register":{"post":{"tags":["auth"],"summary":"Register","operationId":"register_api_auth_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/login":{"post":{"tags":["auth"],"summary":"Login","operationId":"login_api_auth_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/refresh":{"post":{"tags":["auth"],"summary":"Refresh","operationId":"refresh_api_auth_refresh_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefreshIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/logout":{"post":{"tags":["auth"],"summary":"Logout","operationId":"logout_api_auth_logout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefreshIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/session":{"get":{"tags":["auth"],"summary":"Session","operationId":"session_api_auth_session_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/auth/verify-email":{"post":{"tags":["auth"],"summary":"Verify Email","operationId":"verify_email_api_auth_verify_email_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__auth__VerifyIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/resend-verification":{"post":{"tags":["auth"],"summary":"Resend Verification","operationId":"resend_verification_api_auth_resend_verification_post","parameters":[{"name":"email","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/forgot-password":{"post":{"tags":["auth"],"summary":"Forgot Password","operationId":"forgot_password_api_auth_forgot_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForgotIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/reset-password":{"post":{"tags":["auth"],"summary":"Reset Password","operationId":"reset_password_api_auth_reset_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResetIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/change-password":{"post":{"tags":["auth"],"summary":"Change Password","operationId":"change_password_api_auth_change_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangePasswordIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/change-email":{"post":{"tags":["auth"],"summary":"Change Email","operationId":"change_email_api_auth_change_email_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeEmailIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/device-approve":{"post":{"tags":["auth"],"summary":"Device Approve","description":"Redeem the emailed approval link (or another admin's panel decision).","operationId":"device_approve_api_auth_device_approve_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__auth__TokenIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/recovery":{"post":{"tags":["auth"],"summary":"Recover With Code","description":"Set a new password with a one-time recovery code (no email needed).","operationId":"recover_with_code_api_auth_recovery_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__auth__RecoveryCodeIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/recovery/request":{"post":{"tags":["auth"],"summary":"Recovery Request","description":"Open a recovery request for an account (approved by its trusted contact).","operationId":"recovery_request_api_auth_recovery_request_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecoveryRequestIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/recovery/status":{"post":{"tags":["auth"],"summary":"Recovery Status","operationId":"recovery_status_api_auth_recovery_status_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecoveryStatusIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/recovery/redeem":{"post":{"tags":["auth"],"summary":"Recovery Redeem","description":"Approved request → set the password (then sign in normally).","operationId":"recovery_redeem_api_auth_recovery_redeem_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecoveryRedeemIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/passkey/options":{"post":{"tags":["auth"],"summary":"Passkey Options","description":"Start a passkey sign-in: assertion options + a single-use token.","operationId":"passkey_options_api_auth_passkey_options_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasskeyOptionsIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/passkey/verify":{"post":{"tags":["auth"],"summary":"Passkey Verify","description":"Finish a passkey sign-in: a verified assertion issues the session.\n\nThe passkey replaces both the password and any 2FA challenge — it is a\nmulti-factor authenticator — so one verified assertion completes the\nwhole sign-in (see app/passkeys.py).","operationId":"passkey_verify_api_auth_passkey_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasskeyVerifyIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/easy/users":{"post":{"tags":["easy"],"summary":"Easy Create User","description":"One-call signup: create the account and get tokens back immediately.","operationId":"easy_create_user_api_easy_users_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EasyUserIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/easy/users/me":{"get":{"tags":["easy"],"summary":"Easy Profile","description":"Fetch the caller's own profile (minimal public fields).","operationId":"easy_profile_api_easy_users_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/easy/tokens/verify":{"post":{"tags":["easy"],"summary":"Easy Token Verify","description":"Verify a personal access token or a session access token in one call.","operationId":"easy_token_verify_api_easy_tokens_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EasyTokenVerifyIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/users/me":{"get":{"tags":["users"],"summary":"Me","operationId":"me_api_users_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"patch":{"tags":["users"],"summary":"Update Me","operationId":"update_me_api_users_me_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/users/me/avatar":{"post":{"tags":["users"],"summary":"Upload Avatar","operationId":"upload_avatar_api_users_me_avatar_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_avatar_api_users_me_avatar_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["users"],"summary":"Remove Avatar","operationId":"remove_avatar_api_users_me_avatar_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/users/search":{"get":{"tags":["users"],"summary":"Search Users","description":"User directory search (signed-in users only).\n\nMatches username, display name and real name case-insensitively and returns\nthe same public shape as `public_profile` — never email or phone. An empty\n`q` lists the newest active accounts.","operationId":"search_users_api_users_search_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/users/{username}":{"get":{"tags":["users"],"summary":"Public Profile","operationId":"public_profile_api_users__username__get","parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string","title":"Username"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/files":{"get":{"tags":["files"],"summary":"List Files","description":"List the caller's stored files and quota usage.","operationId":"list_files_api_files_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["files"],"summary":"Upload File","operationId":"upload_file_api_files_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_file_api_files_post"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/files/{file_id}":{"get":{"tags":["files"],"summary":"Download File","operationId":"download_file_api_files__file_id__get","parameters":[{"name":"file_id","in":"path","required":true,"schema":{"type":"integer","title":"File Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["files"],"summary":"Remove File","operationId":"remove_file_api_files__file_id__delete","parameters":[{"name":"file_id","in":"path","required":true,"schema":{"type":"integer","title":"File Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/notifications":{"get":{"tags":["files"],"summary":"List Notifications","operationId":"list_notifications_api_notifications_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/notifications/read-all":{"post":{"tags":["files"],"summary":"Read All Notifications","operationId":"read_all_notifications_api_notifications_read_all_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/notifications/{notification_id}/read":{"post":{"tags":["files"],"summary":"Read One Notification","operationId":"read_one_notification_api_notifications__notification_id__read_post","parameters":[{"name":"notification_id","in":"path","required":true,"schema":{"type":"integer","title":"Notification Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/users/me/export":{"get":{"tags":["files"],"summary":"Export My Account","description":"Self-serve JSON export of the caller's own account data.","operationId":"export_my_account_api_users_me_export_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/users/me/delete":{"post":{"tags":["files"],"summary":"Delete My Account","description":"Self-serve account deletion.\n\nWhile the account has 2FA on, a current second-factor code is mandatory —\nthe password alone must not destroy the account. Without 2FA the password\nconfirms the action.","operationId":"delete_my_account_api_users_me_delete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountDeleteIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/games/steam":{"get":{"tags":["games"],"summary":"Steam Library","description":"The caller's stored Steam library, including locked achievements.","operationId":"steam_library_api_games_steam_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/games/steam/sync":{"post":{"tags":["games"],"summary":"Steam Sync","operationId":"steam_sync_api_games_steam_sync_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/games/gog":{"get":{"tags":["games"],"summary":"Gog Library","operationId":"gog_library_api_games_gog_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/games/gog/sync":{"post":{"tags":["games"],"summary":"Gog Sync","operationId":"gog_sync_api_games_gog_sync_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/games/epic":{"get":{"tags":["games"],"summary":"Epic Library","operationId":"epic_library_api_games_epic_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/games/epic/sync":{"post":{"tags":["games"],"summary":"Epic Sync","operationId":"epic_sync_api_games_epic_sync_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/games/{username}":{"get":{"tags":["games"],"summary":"Public Library","description":"Public showcase: game titles, playtime and earned achievements only.","operationId":"public_library_api_games__username__get","parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string","title":"Username"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/clients":{"get":{"tags":["clients"],"summary":"List Clients","operationId":"list_clients_api_clients_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["clients"],"summary":"Create Client","operationId":"create_client_api_clients_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/clients/{client_id}":{"patch":{"tags":["clients"],"summary":"Update Client","operationId":"update_client_api_clients__client_id__patch","parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"string","title":"Client Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["clients"],"summary":"Delete Client","operationId":"delete_client_api_clients__client_id__delete","parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"string","title":"Client Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/clients/{client_id}/rotate-secret":{"post":{"tags":["clients"],"summary":"Rotate Secret","operationId":"rotate_secret_api_clients__client_id__rotate_secret_post","parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"string","title":"Client Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/service/me":{"get":{"tags":["service"],"summary":"Key Info","operationId":"key_info_api_service_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/service/users/{user_id}":{"get":{"tags":["service"],"summary":"Get User By Id","description":"user_id accepts the integer id or the public uid UUID.","operationId":"get_user_by_id_api_service_users__user_id__get","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/service/users":{"get":{"tags":["service"],"summary":"Find User","description":"Look a user up by username or email (query parameters).","operationId":"find_user_api_service_users_get","parameters":[{"name":"username","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username"}},{"name":"email","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["service"],"summary":"Service Create User","description":"Create an account server-to-server — no browser form involved.\n\nThe API key must belong to an admin account. Omit `password` to create the\naccount without one; the owner then sets it through the reset flow.","operationId":"service_create_user_api_service_users_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUserIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/service/tokens/verify":{"post":{"tags":["service"],"summary":"Verify Token","description":"Validate an access token issued by Unit (for APIs, webhooks, gateways).","operationId":"verify_token_api_service_tokens_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__service__VerifyIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/users":{"get":{"tags":["admin"],"summary":"List Users","operationId":"list_users_api_admin_users_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"per_page","in":"query","required":false,"schema":{"type":"integer","default":25,"title":"Per Page"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/users/{user_id}":{"get":{"tags":["admin"],"summary":"Get User","description":"user_id accepts the integer id, the public uid, or the username.","operationId":"get_user_api_admin_users__user_id__get","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["admin"],"summary":"Patch User","description":"user_id accepts the integer id or the public uid UUID.","operationId":"patch_user_api_admin_users__user_id__patch","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/audit":{"get":{"tags":["admin"],"summary":"Audit Log","description":"Admin mutation history: action, actor, before/after (newest first).","operationId":"audit_log_api_admin_audit_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"per_page","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Per Page"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/tx":{"post":{"tags":["admin"],"summary":"Run Tx","description":"Run several whitelisted admin operations in **one** transaction.\n\nAll of them apply or none of them do — the console's `commit` is this\ncall, so a half-finished batch can never be left behind. Each op is a\nfunction from `app.ops`; unknown ops and bad fields are 422 before\nanything is written.","operationId":"run_tx_api_admin_tx_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TxIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/maintenance":{"get":{"tags":["admin"],"summary":"Get Maintenance","operationId":"get_maintenance_api_admin_maintenance_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["admin"],"summary":"Set Maintenance","operationId":"set_maintenance_api_admin_maintenance_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaintenanceIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/invites":{"get":{"tags":["admin"],"summary":"List Invites","operationId":"list_invites_api_admin_invites_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["admin"],"summary":"Create Invite","operationId":"create_invite_api_admin_invites_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/invites/{invite_id}":{"delete":{"tags":["admin"],"summary":"Revoke Invite","operationId":"revoke_invite_api_admin_invites__invite_id__delete","parameters":[{"name":"invite_id","in":"path","required":true,"schema":{"type":"integer","title":"Invite Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/invite-only":{"get":{"tags":["admin"],"summary":"Get Invite Only","operationId":"get_invite_only_api_admin_invite_only_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["admin"],"summary":"Set Invite Only","operationId":"set_invite_only_api_admin_invite_only_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteOnlyIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/webhooks":{"get":{"tags":["admin"],"summary":"List Webhooks","operationId":"list_webhooks_api_admin_webhooks_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["admin"],"summary":"Create Webhook","operationId":"create_webhook_api_admin_webhooks_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/webhooks/{webhook_id}":{"delete":{"tags":["admin"],"summary":"Delete Webhook","operationId":"delete_webhook_api_admin_webhooks__webhook_id__delete","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"integer","title":"Webhook Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/webhooks/{webhook_id}/deliveries":{"get":{"tags":["admin"],"summary":"Webhook Deliveries","operationId":"webhook_deliveries_api_admin_webhooks__webhook_id__deliveries_get","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"integer","title":"Webhook Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/email-footer":{"get":{"tags":["admin"],"summary":"Get Email Footer","operationId":"get_email_footer_api_admin_email_footer_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["admin"],"summary":"Set Email Footer","operationId":"set_email_footer_api_admin_email_footer_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailFooterIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/users/create":{"post":{"tags":["admin"],"summary":"Admin Create User","operationId":"admin_create_user_api_admin_users_create_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminCreateUserIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/users/import":{"post":{"tags":["admin"],"summary":"Admin Import Users","description":"Bulk-create accounts from JSON {\"csv\": \"<text>\"} (see import_users_csv).","operationId":"admin_import_users_api_admin_users_import_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CsvImportIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/users/{user_id}/reset-password":{"post":{"tags":["admin"],"summary":"Admin Reset Password","operationId":"admin_reset_password_api_admin_users__user_id__reset_password_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminResetPasswordIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/users/{user_id}/tokens":{"get":{"tags":["admin"],"summary":"Admin List Tokens","operationId":"admin_list_tokens_api_admin_users__user_id__tokens_get","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/security-digest":{"post":{"tags":["admin"],"summary":"Send Security Digest","operationId":"send_security_digest_api_admin_security_digest_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/blacklist":{"get":{"tags":["admin"],"summary":"List Blacklist","description":"IPs and CIDR blocks refused before authentication.","operationId":"list_blacklist_api_admin_blacklist_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["admin"],"summary":"Add Blacklist","operationId":"add_blacklist_api_admin_blacklist_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlacklistIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/blacklist/{entry_id}":{"delete":{"tags":["admin"],"summary":"Delete Blacklist","operationId":"delete_blacklist_api_admin_blacklist__entry_id__delete","parameters":[{"name":"entry_id","in":"path","required":true,"schema":{"type":"integer","title":"Entry Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/settings":{"get":{"tags":["admin"],"summary":"Get Settings","description":"Runtime toggles: registration, invites, docs, maintenance, background, face policy, quotas, Turnstile, terms.","operationId":"get_settings_api_admin_settings_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["admin"],"summary":"Set Settings","operationId":"set_settings_api_admin_settings_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingsIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/users/{user_id}/unlock":{"post":{"tags":["admin"],"summary":"Admin Unlock User","description":"Clear login lockout and rate-limit state for one user.","operationId":"admin_unlock_user_api_admin_users__user_id__unlock_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/users/{user_id}/quota":{"post":{"tags":["admin"],"summary":"Admin Set User Quota","operationId":"admin_set_user_quota_api_admin_users__user_id__quota_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserQuotaIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/health":{"get":{"tags":["admin"],"summary":"Admin Health Detail","operationId":"admin_health_detail_api_admin_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/disk-usage":{"get":{"tags":["admin"],"summary":"Admin Disk Usage","operationId":"admin_disk_usage_api_admin_disk_usage_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/usage-stats":{"get":{"tags":["admin"],"summary":"Admin Usage Stats","operationId":"admin_usage_stats_api_admin_usage_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/setup-wizard":{"get":{"tags":["admin"],"summary":"Admin Setup Wizard","operationId":"admin_setup_wizard_api_admin_setup_wizard_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/test-email":{"post":{"tags":["admin"],"summary":"Admin Test Email","operationId":"admin_test_email_api_admin_test_email_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestEmailIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/face-policy/scan":{"post":{"tags":["admin"],"summary":"Admin Face Policy Scan","operationId":"admin_face_policy_scan_api_admin_face_policy_scan_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/face-policy/violations":{"get":{"tags":["admin"],"summary":"Admin Face Policy Violations","operationId":"admin_face_policy_violations_api_admin_face_policy_violations_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/vault":{"get":{"tags":["admin"],"summary":"Admin Vault Status","operationId":"admin_vault_status_api_admin_vault_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/vault/generate":{"post":{"tags":["admin"],"summary":"Admin Vault Generate","operationId":"admin_vault_generate_api_admin_vault_generate_post","responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/vault/download/{token}":{"get":{"tags":["admin"],"summary":"Admin Vault Download","operationId":"admin_vault_download_api_admin_vault_download__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/vault/unlock":{"post":{"tags":["admin"],"summary":"Admin Vault Unlock","operationId":"admin_vault_unlock_api_admin_vault_unlock_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VaultVerifyIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/roles":{"get":{"tags":["admin"],"summary":"List Roles","description":"Permission catalog plus every role (built-in and custom).","operationId":"list_roles_api_admin_roles_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["admin"],"summary":"Create Role","description":"Create a custom role carrying any subset of the permission catalog.","operationId":"create_role_api_admin_roles_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/roles/{role_id}":{"patch":{"tags":["admin"],"summary":"Update Role","operationId":"update_role_api_admin_roles__role_id__patch","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"integer","title":"Role Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RolePatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["admin"],"summary":"Delete Role","operationId":"delete_role_api_admin_roles__role_id__delete","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"integer","title":"Role Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/users/{user_id}/roles":{"get":{"tags":["admin"],"summary":"User Roles","operationId":"user_roles_api_admin_users__user_id__roles_get","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["admin"],"summary":"Set User Roles","description":"Replace a user's role set (empty list removes every role).","operationId":"set_user_roles_api_admin_users__user_id__roles_put","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRolesIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/orgs":{"get":{"tags":["admin"],"summary":"Admin List Orgs","description":"Every organization with its member count (admin listing).","operationId":"admin_list_orgs_api_admin_orgs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/device-approvals":{"get":{"tags":["admin"],"summary":"Device Approval List","operationId":"device_approval_list_api_admin_device_approvals_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/device-approvals/{approval_id}":{"post":{"tags":["admin"],"summary":"Device Approval Decide","operationId":"device_approval_decide_api_admin_device_approvals__approval_id__post","parameters":[{"name":"approval_id","in":"path","required":true,"schema":{"type":"integer","title":"Approval Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/recovery-requests":{"get":{"tags":["admin"],"summary":"Recovery Request List","operationId":"recovery_request_list_api_admin_recovery_requests_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/recovery-requests/{request_id}":{"post":{"tags":["admin"],"summary":"Recovery Request Decide","operationId":"recovery_request_decide_api_admin_recovery_requests__request_id__post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"integer","title":"Request Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/audit/export":{"get":{"tags":["admin"],"summary":"Audit Export","description":"Signed export of the audit log: RS256 over the exact body bytes.\n\n`?format=json|csv`; the signature travels in `X-Unit-Export-Signature`\n(base64url) with `X-Unit-Export-Kid`. Verify with\n`python -m app.cli audit verify <file>`.","operationId":"audit_export_api_admin_audit_export_get","parameters":[{"name":"format","in":"query","required":false,"schema":{"type":"string","default":"json","title":"Format"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/webhooks/{webhook_id}/rotate":{"post":{"tags":["admin"],"summary":"Webhook Rotate","description":"Issue a fresh HMAC signing secret; returned exactly once.","operationId":"webhook_rotate_api_admin_webhooks__webhook_id__rotate_post","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"integer","title":"Webhook Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/webhooks/{webhook_id}/replay/{delivery_id}":{"post":{"tags":["admin"],"summary":"Webhook Replay","description":"Re-deliver one recorded delivery to its webhook.","operationId":"webhook_replay_api_admin_webhooks__webhook_id__replay__delivery_id__post","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"integer","title":"Webhook Id"}},{"name":"delivery_id","in":"path","required":true,"schema":{"type":"integer","title":"Delivery Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/agreement":{"get":{"tags":["agreement"],"summary":"Get Agreement","operationId":"get_agreement_api_agreement_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/agreement/accept":{"post":{"tags":["agreement"],"summary":"Accept Agreement","operationId":"accept_agreement_api_agreement_accept_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcceptIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/agreement":{"get":{"tags":["agreement"],"summary":"Admin Get Agreement","operationId":"admin_get_agreement_api_admin_agreement_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["agreement"],"summary":"Admin Save Agreement","operationId":"admin_save_agreement_api_admin_agreement_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/.well-known/openid-configuration":{"get":{"summary":"Discovery","operationId":"discovery__well_known_openid_configuration_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/.well-known/jwks.json":{"get":{"summary":"Jwks","operationId":"jwks__well_known_jwks_json_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/authorize":{"get":{"summary":"Authorize","operationId":"authorize_authorize_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/authorize/consent":{"post":{"summary":"Authorize Consent","operationId":"authorize_consent_authorize_consent_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/token":{"post":{"summary":"Token","operationId":"token_token_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/oauth/introspect":{"post":{"summary":"Introspect","description":"RFC 7662 token introspection (client-authenticated).","operationId":"introspect_oauth_introspect_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/introspect":{"post":{"summary":"Introspect","description":"RFC 7662 token introspection (client-authenticated).","operationId":"introspect_introspect_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/oauth/revoke":{"post":{"summary":"Revoke","description":"RFC 7009 token revocation (client-authenticated).\n\nRefresh tokens are revoked family-wide (the whole session dies). Personal\naccess tokens are revoked directly. Access tokens cannot be recalled\nbefore expiry, so they are revoked indirectly: their session's refresh\nfamily is killed. Always answers 200 per spec.","operationId":"revoke_oauth_revoke_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/revoke":{"post":{"summary":"Revoke","description":"RFC 7009 token revocation (client-authenticated).\n\nRefresh tokens are revoked family-wide (the whole session dies). Personal\naccess tokens are revoked directly. Access tokens cannot be recalled\nbefore expiry, so they are revoked indirectly: their session's refresh\nfamily is killed. Always answers 200 per spec.","operationId":"revoke_revoke_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/userinfo":{"get":{"summary":"Userinfo","operationId":"userinfo_userinfo_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/auth/{provider}/start":{"get":{"summary":"Start","operationId":"start_auth__provider__start_get","parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string","title":"Provider"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/{provider}/callback":{"get":{"summary":"Callback Get","operationId":"callback_get_auth__provider__callback_get","parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string","title":"Provider"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Callback Post","operationId":"callback_post_auth__provider__callback_post","parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string","title":"Provider"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/{provider}/disconnect":{"post":{"summary":"Disconnect","operationId":"disconnect_auth__provider__disconnect_post","parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string","title":"Provider"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tokens":{"get":{"tags":["tokens"],"summary":"List Tokens","operationId":"list_tokens_api_tokens_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["tokens"],"summary":"Create","operationId":"create_api_tokens_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__tokens__TokenIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tokens/{token_id}":{"delete":{"tags":["tokens"],"summary":"Revoke","operationId":"revoke_api_tokens__token_id__delete","parameters":[{"name":"token_id","in":"path","required":true,"schema":{"type":"integer","title":"Token Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/2fa":{"get":{"tags":["2fa"],"summary":"Twofa Status","operationId":"twofa_status_api_2fa_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/2fa/setup":{"post":{"tags":["2fa"],"summary":"Setup","operationId":"setup_api_2fa_setup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetupIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/2fa/enable":{"post":{"tags":["2fa"],"summary":"Enable","operationId":"enable_api_2fa_enable_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnableIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/2fa/regenerate":{"post":{"tags":["2fa"],"summary":"Regenerate","operationId":"regenerate_api_2fa_regenerate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StepUpIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/2fa/disable":{"post":{"tags":["2fa"],"summary":"Disable","operationId":"disable_api_2fa_disable_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StepUpIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/2fa/webauthn/register/options":{"post":{"tags":["2fa"],"summary":"Webauthn Register Options","operationId":"webauthn_register_options_api_2fa_webauthn_register_options_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/2fa/webauthn/register/verify":{"post":{"tags":["2fa"],"summary":"Webauthn Register Verify","operationId":"webauthn_register_verify_api_2fa_webauthn_register_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebAuthnVerifyIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/2fa/webauthn/{credential_id}":{"delete":{"tags":["2fa"],"summary":"Webauthn Delete","operationId":"webauthn_delete_api_2fa_webauthn__credential_id__delete","parameters":[{"name":"credential_id","in":"path","required":true,"schema":{"type":"string","title":"Credential Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StepUpIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/2fa/challenge":{"post":{"tags":["2fa"],"summary":"Challenge Start","operationId":"challenge_start_api_2fa_challenge_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChallengeIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/2fa/challenge/email":{"post":{"tags":["2fa"],"summary":"Challenge Email","operationId":"challenge_email_api_2fa_challenge_email_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChallengeIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/2fa/challenge/verify":{"post":{"tags":["2fa"],"summary":"Challenge Verify","operationId":"challenge_verify_api_2fa_challenge_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChallengeVerifyIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/2fa/challenge/webauthn/options":{"post":{"tags":["2fa"],"summary":"Challenge Webauthn Options","operationId":"challenge_webauthn_options_api_2fa_challenge_webauthn_options_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChallengeIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/2fa/challenge/webauthn/verify":{"post":{"tags":["2fa"],"summary":"Challenge Webauthn Verify","operationId":"challenge_webauthn_verify_api_2fa_challenge_webauthn_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChallengeWebAuthnIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/saml/metadata":{"get":{"tags":["saml"],"summary":"Metadata","description":"SP metadata — served even while SAML sign-in is switched off.","operationId":"metadata_saml_metadata_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/saml/login":{"get":{"tags":["saml"],"summary":"Login","operationId":"login_saml_login_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/saml/acs":{"post":{"tags":["saml"],"summary":"Acs","operationId":"acs_saml_acs_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/me/legal":{"get":{"tags":["me"],"summary":"Legal Status","description":"Current terms/privacy versions and what this account accepted.","operationId":"legal_status_api_me_legal_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/me/consent":{"post":{"tags":["me"],"summary":"Legal Consent","operationId":"legal_consent_api_me_consent_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsentIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/me/legal/accept":{"post":{"tags":["me"],"summary":"Legal Accept","description":"PLAN-named alias of POST /api/me/consent.","operationId":"legal_accept_api_me_legal_accept_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsentIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/me/consent/history":{"get":{"tags":["me"],"summary":"Consent History","operationId":"consent_history_api_me_consent_history_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/me/activity":{"get":{"tags":["me"],"summary":"Activity Log","operationId":"activity_log_api_me_activity_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/me/sessions":{"get":{"tags":["me"],"summary":"Session List","operationId":"session_list_api_me_sessions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/me/sessions/{session_id}/rename":{"post":{"tags":["me"],"summary":"Session Rename","operationId":"session_rename_api_me_sessions__session_id__rename_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"integer","title":"Session Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenameIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/me/sessions/{session_id}":{"patch":{"tags":["me"],"summary":"Session Patch","description":"PLAN-named alias of POST /api/me/sessions/{id}/rename.","operationId":"session_patch_api_me_sessions__session_id__patch","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"integer","title":"Session Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["me"],"summary":"Session Revoke","operationId":"session_revoke_api_me_sessions__session_id__delete","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"integer","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/me/sessions/revoke-others":{"post":{"tags":["me"],"summary":"Session Revoke Others","operationId":"session_revoke_others_api_me_sessions_revoke_others_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/me/aliases":{"get":{"tags":["me"],"summary":"Alias List","operationId":"alias_list_api_me_aliases_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["me"],"summary":"Alias Add","operationId":"alias_add_api_me_aliases_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AliasIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/me/aliases/{alias_id}":{"delete":{"tags":["me"],"summary":"Alias Remove","operationId":"alias_remove_api_me_aliases__alias_id__delete","parameters":[{"name":"alias_id","in":"path","required":true,"schema":{"type":"integer","title":"Alias Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/me/recovery-codes":{"get":{"tags":["me"],"summary":"Recovery Codes Status","operationId":"recovery_codes_status_api_me_recovery_codes_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["me"],"summary":"Recovery Codes Generate","operationId":"recovery_codes_generate_api_me_recovery_codes_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__me__RecoveryCodeIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["me"],"summary":"Recovery Codes Revoke","operationId":"recovery_codes_revoke_api_me_recovery_codes_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/me/trusted-contact":{"get":{"tags":["me"],"summary":"Trusted Contact Get","operationId":"trusted_contact_get_api_me_trusted_contact_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"put":{"tags":["me"],"summary":"Trusted Contact Set","operationId":"trusted_contact_set_api_me_trusted_contact_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrustedContactIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/me/recovery-requests":{"get":{"tags":["me"],"summary":"Recovery Requests","description":"Requests this user may decide (their contactees).","operationId":"recovery_requests_api_me_recovery_requests_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/me/recovery-requests/{request_id}":{"post":{"tags":["me"],"summary":"Recovery Decide","operationId":"recovery_decide_api_me_recovery_requests__request_id__post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"integer","title":"Request Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/me/lockdown":{"post":{"tags":["me"],"summary":"Lockdown","description":"Self-service compromise response: kill every session, block sign-in.","operationId":"lockdown_api_me_lockdown_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LockdownIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/me/reauth":{"post":{"tags":["me"],"summary":"Reauth","description":"Refresh the step-up window with a password or a live second factor.","operationId":"reauth_api_me_reauth_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReauthIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/me/notify-prefs":{"get":{"tags":["me"],"summary":"Notify Prefs Get","operationId":"notify_prefs_get_api_me_notify_prefs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"put":{"tags":["me"],"summary":"Notify Prefs Set","operationId":"notify_prefs_set_api_me_notify_prefs_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotifyPrefsIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/me/onboarding":{"get":{"tags":["me"],"summary":"Onboarding Status","operationId":"onboarding_status_api_me_onboarding_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/me/health-score":{"get":{"tags":["me"],"summary":"Health Score","operationId":"health_score_api_me_health_score_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/me/orgs":{"get":{"tags":["me"],"summary":"My Orgs","description":"Organizations this account belongs to.","operationId":"my_orgs_api_me_orgs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/orgs":{"get":{"tags":["orgs"],"summary":"List Orgs","description":"Organizations this user belongs to.","operationId":"list_orgs_api_orgs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["orgs"],"summary":"Create Org","operationId":"create_org_api_orgs_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrgIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/orgs/{org_id}":{"get":{"tags":["orgs"],"summary":"Get Org","operationId":"get_org_api_orgs__org_id__get","parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","title":"Org Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["orgs"],"summary":"Delete Org","description":"An owner can dissolve the organization.","operationId":"delete_org_api_orgs__org_id__delete","parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","title":"Org Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/orgs/{org_id}/members":{"get":{"tags":["orgs"],"summary":"List Members","operationId":"list_members_api_orgs__org_id__members_get","parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","title":"Org Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["orgs"],"summary":"Add Member","operationId":"add_member_api_orgs__org_id__members_post","parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","title":"Org Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/orgs/{org_id}/members/{member_id}":{"patch":{"tags":["orgs"],"summary":"Set Member Role","operationId":"set_member_role_api_orgs__org_id__members__member_id__patch","parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","title":"Org Id"}},{"name":"member_id","in":"path","required":true,"schema":{"type":"integer","title":"Member Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["orgs"],"summary":"Remove Member","operationId":"remove_member_api_orgs__org_id__members__member_id__delete","parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","title":"Org Id"}},{"name":"member_id","in":"path","required":true,"schema":{"type":"integer","title":"Member Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/lang/{code}":{"get":{"tags":["locale"],"summary":"Set Language","operationId":"set_language_lang__code__get","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","title":"Code"}},{"name":"next","in":"query","required":false,"schema":{"type":"string","default":"","title":"Next"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/me/locale":{"get":{"tags":["locale"],"summary":"Get Locale","description":"The account's stored language preference and the available choices.","operationId":"get_locale_api_me_locale_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"put":{"tags":["locale"],"summary":"Put Locale","description":"Store the account's language preference (\"\" clears it).","operationId":"put_locale_api_me_locale_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocaleIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/graphql":{"get":{"summary":"Handle Http Get","operationId":"handle_http_get_graphql_get","responses":{"200":{"description":"The GraphiQL integrated development environment.","content":{"application/json":{"schema":{}}}},"404":{"description":"Not found if GraphiQL or query via GET are not enabled."}}},"post":{"summary":"Handle Http Post","operationId":"handle_http_post_graphql_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/":{"get":{"summary":"Index","operationId":"index__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/login":{"get":{"summary":"Login Page","operationId":"login_page_login_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Login Submit","operationId":"login_submit_login_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/2fa":{"get":{"summary":"Twofa Page","operationId":"twofa_page_2fa_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Twofa Submit","operationId":"twofa_submit_2fa_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/2fa/send":{"post":{"summary":"Twofa Send","operationId":"twofa_send_2fa_send_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/2fa/webauthn/options":{"post":{"summary":"Twofa Webauthn Options","operationId":"twofa_webauthn_options_2fa_webauthn_options_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/2fa/webauthn":{"post":{"summary":"Twofa Webauthn Submit","operationId":"twofa_webauthn_submit_2fa_webauthn_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/auth/device-approve":{"get":{"summary":"Device Approve Page","description":"Redeem the emailed approval link: flip the row to approved, then let the\nwaiting device sign in again. No session is issued here — the link only\nproves the mailbox, the device still has to complete sign-in.","operationId":"device_approve_page_auth_device_approve_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/signup":{"get":{"summary":"Signup Page","operationId":"signup_page_signup_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Signup Submit","operationId":"signup_submit_signup_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/logout":{"get":{"summary":"Logout","operationId":"logout_logout_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/verify":{"get":{"summary":"Verify Page","operationId":"verify_page_verify_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Verify Submit","operationId":"verify_submit_verify_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/verify/resend":{"post":{"summary":"Verify Resend","operationId":"verify_resend_verify_resend_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/forgot":{"get":{"summary":"Forgot Page","operationId":"forgot_page_forgot_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Forgot Submit","operationId":"forgot_submit_forgot_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/reset":{"get":{"summary":"Reset Page","operationId":"reset_page_reset_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Reset Submit","operationId":"reset_submit_reset_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/profile":{"get":{"summary":"Profile Page","operationId":"profile_page_profile_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Profile Submit","operationId":"profile_submit_profile_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/profile/wipe":{"post":{"summary":"Profile Wipe","operationId":"profile_wipe_profile_wipe_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/profile/delete":{"post":{"summary":"Profile Delete Request","operationId":"profile_delete_request_profile_delete_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/profile/delete/cancel":{"post":{"summary":"Profile Delete Cancel","operationId":"profile_delete_cancel_profile_delete_cancel_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/profile/avatar":{"post":{"summary":"Profile Avatar","operationId":"profile_avatar_profile_avatar_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_profile_avatar_profile_avatar_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/profile/background":{"post":{"summary":"Profile Background","operationId":"profile_background_profile_background_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_profile_background_profile_background_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/profile/background/preset":{"post":{"summary":"Profile Background Preset","operationId":"profile_background_preset_profile_background_preset_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/profile/background/import":{"post":{"summary":"Profile Background Import","operationId":"profile_background_import_profile_background_import_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/profile/background/delete":{"post":{"summary":"Profile Background Delete","operationId":"profile_background_delete_profile_background_delete_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/profile/export":{"get":{"summary":"Profile Export Json","operationId":"profile_export_json_profile_export_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/profile/files":{"post":{"summary":"Profile File Upload","operationId":"profile_file_upload_profile_files_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_profile_file_upload_profile_files_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/profile/files/{file_id}":{"get":{"summary":"Profile File Download","operationId":"profile_file_download_profile_files__file_id__get","parameters":[{"name":"file_id","in":"path","required":true,"schema":{"type":"integer","title":"File Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/profile/files/{file_id}/delete":{"post":{"summary":"Profile File Delete","operationId":"profile_file_delete_profile_files__file_id__delete_post","parameters":[{"name":"file_id","in":"path","required":true,"schema":{"type":"integer","title":"File Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/profile/notifications/read":{"post":{"summary":"Profile Notifications Read","operationId":"profile_notifications_read_profile_notifications_read_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/profile/steam/sync":{"post":{"summary":"Profile Steam Sync","operationId":"profile_steam_sync_profile_steam_sync_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/profile/gog/sync":{"post":{"summary":"Profile Gog Sync","operationId":"profile_gog_sync_profile_gog_sync_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/profile/epic/sync":{"post":{"summary":"Profile Epic Sync","operationId":"profile_epic_sync_profile_epic_sync_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/profile/sessions/{session_id}/rename":{"post":{"summary":"Profile Session Rename","operationId":"profile_session_rename_profile_sessions__session_id__rename_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"integer","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/profile/aliases":{"post":{"summary":"Profile Alias Add","operationId":"profile_alias_add_profile_aliases_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/profile/aliases/{alias_id}/remove":{"post":{"summary":"Profile Alias Remove","operationId":"profile_alias_remove_profile_aliases__alias_id__remove_post","parameters":[{"name":"alias_id","in":"path","required":true,"schema":{"type":"integer","title":"Alias Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/profile/recovery-codes":{"post":{"summary":"Profile Recovery Codes","operationId":"profile_recovery_codes_profile_recovery_codes_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/profile/trusted-contact":{"post":{"summary":"Profile Trusted Contact","operationId":"profile_trusted_contact_profile_trusted_contact_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/profile/lockdown":{"post":{"summary":"Profile Lockdown","operationId":"profile_lockdown_profile_lockdown_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/profile/notify-prefs":{"post":{"summary":"Profile Notify Prefs","operationId":"profile_notify_prefs_profile_notify_prefs_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/profile/recovery-requests/{request_id}/decide":{"post":{"summary":"Profile Recovery Decide","operationId":"profile_recovery_decide_profile_recovery_requests__request_id__decide_post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"integer","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/profile/password":{"post":{"summary":"Profile Password","operationId":"profile_password_profile_password_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/profile/email":{"post":{"summary":"Profile Email","operationId":"profile_email_profile_email_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/profile/clients":{"post":{"summary":"Profile Client Create","operationId":"profile_client_create_profile_clients_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/profile/clients/{client_id}/delete":{"post":{"summary":"Profile Client Delete","operationId":"profile_client_delete_profile_clients__client_id__delete_post","parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"string","title":"Client Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/profile/tokens":{"post":{"summary":"Profile Token Create","operationId":"profile_token_create_profile_tokens_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/profile/tokens/{token_id}/revoke":{"post":{"summary":"Profile Token Revoke","operationId":"profile_token_revoke_profile_tokens__token_id__revoke_post","parameters":[{"name":"token_id","in":"path","required":true,"schema":{"type":"integer","title":"Token Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/profile/sessions/{session_id}/revoke":{"post":{"summary":"Profile Session Revoke","operationId":"profile_session_revoke_profile_sessions__session_id__revoke_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"integer","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/profile/2fa/setup":{"post":{"summary":"Profile Twofa Setup","operationId":"profile_twofa_setup_profile_2fa_setup_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/profile/2fa/enable":{"post":{"summary":"Profile Twofa Enable","operationId":"profile_twofa_enable_profile_2fa_enable_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/profile/2fa/regenerate":{"post":{"summary":"Profile Twofa Regenerate","operationId":"profile_twofa_regenerate_profile_2fa_regenerate_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/profile/2fa/webauthn/options":{"post":{"summary":"Profile Twofa Webauthn Options","operationId":"profile_twofa_webauthn_options_profile_2fa_webauthn_options_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/profile/2fa/webauthn/verify":{"post":{"summary":"Profile Twofa Webauthn Verify","operationId":"profile_twofa_webauthn_verify_profile_2fa_webauthn_verify_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/profile/2fa/webauthn/{credential_id}/delete":{"post":{"summary":"Profile Twofa Webauthn Delete","operationId":"profile_twofa_webauthn_delete_profile_2fa_webauthn__credential_id__delete_post","parameters":[{"name":"credential_id","in":"path","required":true,"schema":{"type":"string","title":"Credential Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/profile/2fa/disable":{"post":{"summary":"Profile Twofa Disable","operationId":"profile_twofa_disable_profile_2fa_disable_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/developers":{"get":{"summary":"Developers Page","operationId":"developers_page_developers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/directory":{"get":{"summary":"Directory Page","description":"User directory search (signed-in users only). Same rules as\nGET /api/users/search, queried straight from the DB for the page.","operationId":"directory_page_directory_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin":{"get":{"summary":"Admin Page","operationId":"admin_page_admin_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/user":{"post":{"summary":"Admin User Action","operationId":"admin_user_action_admin_user_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/roles":{"post":{"summary":"Admin Role Create","operationId":"admin_role_create_admin_roles_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/roles/{role_id}/delete":{"post":{"summary":"Admin Role Delete","operationId":"admin_role_delete_admin_roles__role_id__delete_post","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"integer","title":"Role Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/user-roles":{"post":{"summary":"Admin User Roles","operationId":"admin_user_roles_admin_user_roles_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/device-approvals/{approval_id}":{"post":{"summary":"Admin Device Approval","operationId":"admin_device_approval_admin_device_approvals__approval_id__post","parameters":[{"name":"approval_id","in":"path","required":true,"schema":{"type":"integer","title":"Approval Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/recovery-requests/{request_id}":{"post":{"summary":"Admin Recovery Request","operationId":"admin_recovery_request_admin_recovery_requests__request_id__post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"integer","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/blacklist":{"post":{"summary":"Admin Blacklist Add","operationId":"admin_blacklist_add_admin_blacklist_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/blacklist/{entry_id}/delete":{"post":{"summary":"Admin Blacklist Delete","operationId":"admin_blacklist_delete_admin_blacklist__entry_id__delete_post","parameters":[{"name":"entry_id","in":"path","required":true,"schema":{"type":"integer","title":"Entry Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/settings":{"post":{"summary":"Admin Settings Save","operationId":"admin_settings_save_admin_settings_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/settings/background":{"post":{"summary":"Admin Site Background","operationId":"admin_site_background_admin_settings_background_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_admin_site_background_admin_settings_background_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/settings/background/preset":{"post":{"summary":"Admin Site Background Preset","operationId":"admin_site_background_preset_admin_settings_background_preset_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/settings/background/import":{"post":{"summary":"Admin Site Background Import","operationId":"admin_site_background_import_admin_settings_background_import_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/settings/background/delete":{"post":{"summary":"Admin Site Background Delete","operationId":"admin_site_background_delete_admin_settings_background_delete_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/vault/generate":{"post":{"summary":"Admin Vault Generate Web","operationId":"admin_vault_generate_web_admin_vault_generate_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/vault/download/{token}":{"get":{"summary":"Admin Vault Download Web","operationId":"admin_vault_download_web_admin_vault_download__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/vault/unlock":{"post":{"summary":"Admin Vault Unlock Web","operationId":"admin_vault_unlock_web_admin_vault_unlock_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/vault/lock":{"post":{"summary":"Admin Vault Lock Web","operationId":"admin_vault_lock_web_admin_vault_lock_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/test-email":{"post":{"summary":"Admin Test Email Web","operationId":"admin_test_email_web_admin_test_email_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/face-policy/scan":{"post":{"summary":"Admin Face Policy Scan Web","operationId":"admin_face_policy_scan_web_admin_face_policy_scan_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/terms":{"get":{"summary":"Terms Page","operationId":"terms_page_terms_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/privacy":{"get":{"summary":"Privacy Page","operationId":"privacy_page_privacy_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/legal":{"get":{"summary":"Legal Page","description":"Combined legal page: terms, privacy, residency note, consent button.","operationId":"legal_page_legal_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/legal/accept":{"post":{"summary":"Legal Accept Form","description":"Browser form target for re-consent (JSON clients use /api/me/legal/accept).","operationId":"legal_accept_form_legal_accept_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/agreement":{"get":{"summary":"Agreement Page","operationId":"agreement_page_agreement_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/agreement/accept":{"post":{"summary":"Agreement Accept","operationId":"agreement_accept_agreement_accept_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/agreement":{"get":{"summary":"Admin Agreement Page","operationId":"admin_agreement_page_admin_agreement_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Admin Agreement Save","operationId":"admin_agreement_save_admin_agreement_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/maintenance":{"post":{"summary":"Admin Maintenance Save","operationId":"admin_maintenance_save_admin_maintenance_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/users/import":{"post":{"summary":"Admin Users Import","description":"Admin form target for CSV bulk import; same logic as the API endpoint.","operationId":"admin_users_import_admin_users_import_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/clients":{"get":{"summary":"Admin Clients Page","description":"Every OAuth client (integration) with its owner — admin management UI.\nUsers' own clients stay on /profile; actions here are audited.","operationId":"admin_clients_page_admin_clients_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/clients/{client_id}/rotate-secret":{"post":{"summary":"Admin Client Rotate Secret","operationId":"admin_client_rotate_secret_admin_clients__client_id__rotate_secret_post","parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"string","title":"Client Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/clients/{client_id}/delete":{"post":{"summary":"Admin Client Delete","operationId":"admin_client_delete_admin_clients__client_id__delete_post","parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"string","title":"Client Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/demo/sign-in":{"get":{"summary":"Demo Sign In","operationId":"demo_sign_in_demo_sign_in_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/demo/start":{"get":{"summary":"Demo Start","operationId":"demo_start_demo_start_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/demo/callback":{"get":{"summary":"Demo Callback","operationId":"demo_callback_demo_callback_get","parameters":[{"name":"code","in":"query","required":false,"schema":{"type":"string","default":"","title":"Code"}},{"name":"state","in":"query","required":false,"schema":{"type":"string","default":"","title":"State"}},{"name":"error","in":"query","required":false,"schema":{"type":"string","default":"","title":"Error"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/u/{username}":{"get":{"summary":"Public Page","operationId":"public_page_u__username__get","parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string","title":"Username"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/.well-known/security.txt":{"get":{"summary":"Security Txt","operationId":"security_txt__well_known_security_txt_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/health":{"get":{"tags":["meta"],"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"AcceptIn":{"properties":{"version":{"type":"integer","title":"Version"}},"additionalProperties":false,"type":"object","required":["version"],"title":"AcceptIn"},"AccountDeleteIn":{"properties":{"password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Password","default":""},"method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Method","default":""},"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code","default":""},"immediate":{"type":"boolean","title":"Immediate","default":true}},"additionalProperties":false,"type":"object","title":"AccountDeleteIn"},"AdminCreateUserIn":{"properties":{"username":{"type":"string","title":"Username"},"email":{"type":"string","title":"Email"},"name":{"type":"string","title":"Name"},"password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Password"},"phone":{"type":"string","title":"Phone","default":""},"email_verified":{"type":"boolean","title":"Email Verified","default":false}},"additionalProperties":false,"type":"object","required":["username","email","name"],"title":"AdminCreateUserIn"},"AdminResetPasswordIn":{"properties":{"password":{"type":"string","title":"Password"}},"additionalProperties":false,"type":"object","required":["password"],"title":"AdminResetPasswordIn"},"AliasIn":{"properties":{"email":{"type":"string","title":"Email"}},"additionalProperties":false,"type":"object","required":["email"],"title":"AliasIn"},"BlacklistIn":{"properties":{"cidr":{"type":"string","title":"Cidr"},"reason":{"type":"string","title":"Reason","default":""}},"additionalProperties":false,"type":"object","required":["cidr"],"title":"BlacklistIn"},"Body_admin_site_background_admin_settings_background_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_admin_site_background_admin_settings_background_post"},"Body_profile_avatar_profile_avatar_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_profile_avatar_profile_avatar_post"},"Body_profile_background_profile_background_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_profile_background_profile_background_post"},"Body_profile_file_upload_profile_files_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_profile_file_upload_profile_files_post"},"Body_upload_avatar_api_users_me_avatar_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_avatar_api_users_me_avatar_post"},"Body_upload_file_api_files_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},"type":"object","required":["file"],"title":"Body_upload_file_api_files_post"},"ChallengeIn":{"properties":{"ticket":{"type":"string","title":"Ticket"}},"additionalProperties":false,"type":"object","required":["ticket"],"title":"ChallengeIn"},"ChallengeVerifyIn":{"properties":{"ticket":{"type":"string","title":"Ticket"},"method":{"type":"string","title":"Method"},"code":{"type":"string","title":"Code","default":""}},"additionalProperties":false,"type":"object","required":["ticket","method"],"title":"ChallengeVerifyIn"},"ChallengeWebAuthnIn":{"properties":{"ticket":{"type":"string","title":"Ticket"},"credential":{"additionalProperties":true,"type":"object","title":"Credential"}},"additionalProperties":false,"type":"object","required":["ticket","credential"],"title":"ChallengeWebAuthnIn"},"ChangeEmailIn":{"properties":{"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"}},"additionalProperties":false,"type":"object","required":["email","password"],"title":"ChangeEmailIn"},"ChangePasswordIn":{"properties":{"old_password":{"type":"string","title":"Old Password"},"new_password":{"type":"string","title":"New Password"},"confirm":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Confirm"}},"additionalProperties":false,"type":"object","required":["old_password","new_password"],"title":"ChangePasswordIn"},"ClientIn":{"properties":{"name":{"type":"string","title":"Name"},"urls":{"items":{"type":"string"},"type":"array","title":"Urls","default":[]}},"additionalProperties":false,"type":"object","required":["name"],"title":"ClientIn"},"ClientPatch":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"urls":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Urls"}},"additionalProperties":false,"type":"object","title":"ClientPatch"},"ConsentIn":{"properties":{"accept":{"type":"boolean","title":"Accept","default":true}},"additionalProperties":false,"type":"object","title":"ConsentIn"},"CreateUserIn":{"properties":{"username":{"type":"string","title":"Username"},"email":{"type":"string","title":"Email"},"name":{"type":"string","title":"Name"},"password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Password"},"phone":{"type":"string","title":"Phone","default":""},"bio":{"type":"string","title":"Bio","default":""},"email_verified":{"type":"boolean","title":"Email Verified","default":false}},"additionalProperties":false,"type":"object","required":["username","email","name"],"title":"CreateUserIn"},"CsvImportIn":{"properties":{"csv":{"type":"string","title":"Csv"}},"additionalProperties":false,"type":"object","required":["csv"],"title":"CsvImportIn"},"DecisionIn":{"properties":{"approve":{"type":"boolean","title":"Approve"}},"additionalProperties":false,"type":"object","required":["approve"],"title":"DecisionIn"},"EasyTokenVerifyIn":{"properties":{"token":{"type":"string","title":"Token"}},"additionalProperties":false,"type":"object","required":["token"],"title":"EasyTokenVerifyIn"},"EasyUserIn":{"properties":{"username":{"type":"string","title":"Username"},"password":{"type":"string","title":"Password"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"birth_year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Birth Year"},"invite":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Invite"},"consent":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Consent"},"turnstile_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turnstile Token"}},"additionalProperties":false,"type":"object","required":["username","password"],"title":"EasyUserIn"},"EmailFooterIn":{"properties":{"footer":{"type":"string","title":"Footer","default":""}},"additionalProperties":false,"type":"object","title":"EmailFooterIn"},"EnableIn":{"properties":{"method":{"type":"string","title":"Method"},"code":{"type":"string","title":"Code","default":""}},"additionalProperties":false,"type":"object","required":["method"],"title":"EnableIn"},"ForgotIn":{"properties":{"email":{"type":"string","title":"Email"}},"additionalProperties":false,"type":"object","required":["email"],"title":"ForgotIn"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"InviteIn":{"properties":{"expires_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expires Days","default":7}},"additionalProperties":false,"type":"object","title":"InviteIn"},"InviteOnlyIn":{"properties":{"enabled":{"type":"boolean","title":"Enabled"}},"additionalProperties":false,"type":"object","required":["enabled"],"title":"InviteOnlyIn"},"LocaleIn":{"properties":{"locale":{"type":"string","title":"Locale"}},"additionalProperties":false,"type":"object","required":["locale"],"title":"LocaleIn"},"LockdownIn":{"properties":{"reason":{"type":"string","title":"Reason","default":""}},"additionalProperties":false,"type":"object","title":"LockdownIn"},"LoginIn":{"properties":{"username":{"type":"string","title":"Username"},"password":{"type":"string","title":"Password"},"turnstile_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turnstile Token"}},"additionalProperties":false,"type":"object","required":["username","password"],"title":"LoginIn"},"MaintenanceIn":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"additionalProperties":false,"type":"object","required":["enabled"],"title":"MaintenanceIn"},"MemberIn":{"properties":{"username":{"type":"string","title":"Username"},"role":{"type":"string","title":"Role","default":"member"}},"additionalProperties":false,"type":"object","required":["username"],"title":"MemberIn"},"MemberPatch":{"properties":{"role":{"type":"string","title":"Role"}},"additionalProperties":false,"type":"object","required":["role"],"title":"MemberPatch"},"NotifyPrefsIn":{"properties":{"prefs":{"additionalProperties":true,"type":"object","title":"Prefs","default":{}}},"additionalProperties":false,"type":"object","title":"NotifyPrefsIn"},"OrgIn":{"properties":{"name":{"type":"string","title":"Name"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"description":{"type":"string","title":"Description","default":""}},"additionalProperties":false,"type":"object","required":["name"],"title":"OrgIn"},"PasskeyOptionsIn":{"properties":{"username":{"type":"string","title":"Username"}},"additionalProperties":false,"type":"object","required":["username"],"title":"PasskeyOptionsIn"},"PasskeyVerifyIn":{"properties":{"token":{"type":"string","title":"Token"},"credential":{"additionalProperties":true,"type":"object","title":"Credential"}},"additionalProperties":false,"type":"object","required":["token","credential"],"title":"PasskeyVerifyIn"},"ProfileIn":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"bio":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bio"}},"additionalProperties":false,"type":"object","title":"ProfileIn"},"ReauthIn":{"properties":{"password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Password","default":""},"method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Method","default":""},"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code","default":""}},"additionalProperties":false,"type":"object","title":"ReauthIn"},"RecoveryRedeemIn":{"properties":{"id":{"type":"integer","title":"Id"},"secret":{"type":"string","title":"Secret"},"password":{"type":"string","title":"Password"}},"additionalProperties":false,"type":"object","required":["id","secret","password"],"title":"RecoveryRedeemIn"},"RecoveryRequestIn":{"properties":{"username":{"type":"string","title":"Username"}},"additionalProperties":false,"type":"object","required":["username"],"title":"RecoveryRequestIn"},"RecoveryStatusIn":{"properties":{"id":{"type":"integer","title":"Id"},"secret":{"type":"string","title":"Secret"}},"additionalProperties":false,"type":"object","required":["id","secret"],"title":"RecoveryStatusIn"},"RefreshIn":{"properties":{"refresh_token":{"type":"string","title":"Refresh Token"}},"additionalProperties":false,"type":"object","required":["refresh_token"],"title":"RefreshIn"},"RegisterIn":{"properties":{"username":{"type":"string","title":"Username"},"email":{"type":"string","title":"Email"},"name":{"type":"string","title":"Name"},"password":{"type":"string","title":"Password"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"birth_year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Birth Year"},"invite":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Invite"},"consent":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Consent"},"turnstile_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turnstile Token"}},"additionalProperties":false,"type":"object","required":["username","email","name","password"],"title":"RegisterIn"},"RenameIn":{"properties":{"label":{"type":"string","title":"Label"}},"additionalProperties":false,"type":"object","required":["label"],"title":"RenameIn"},"ResetIn":{"properties":{"password":{"type":"string","title":"Password"},"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"},"token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token"}},"additionalProperties":false,"type":"object","required":["password"],"title":"ResetIn"},"RoleIn":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description","default":""},"permissions":{"items":{"type":"string"},"type":"array","title":"Permissions","default":[]}},"additionalProperties":false,"type":"object","required":["name"],"title":"RoleIn"},"RolePatch":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"permissions":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Permissions"}},"additionalProperties":false,"type":"object","title":"RolePatch"},"SaveIn":{"properties":{"text":{"type":"string","title":"Text"},"enabled":{"type":"boolean","title":"Enabled","default":true},"bump":{"type":"boolean","title":"Bump","default":false}},"additionalProperties":false,"type":"object","required":["text"],"title":"SaveIn"},"SessionPatch":{"properties":{"label":{"type":"string","title":"Label"}},"additionalProperties":false,"type":"object","required":["label"],"title":"SessionPatch"},"SettingsIn":{"properties":{"registration_open":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Registration Open"},"docs_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Docs Enabled"},"invite_only":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Invite Only"},"maintenance":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Maintenance"},"maintenance_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Maintenance Message"},"email_footer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email Footer"},"face_policy":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Face Policy"},"file_quota":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"File Quota"},"turnstile_site_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turnstile Site Key"},"turnstile_secret_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turnstile Secret Key"},"terms_required":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Terms Required"},"terms_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Terms Text"},"privacy_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Privacy Text"},"backup_schedule":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Backup Schedule"},"terms_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Terms Version"},"privacy_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Privacy Version"},"data_residency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Residency"},"retention_inactive_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Retention Inactive Days"},"min_age_years":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Min Age Years"},"breach_threshold":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Breach Threshold"},"session_idle_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Session Idle Minutes"},"session_max_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Session Max Days"},"reauth_window_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Reauth Window Minutes"},"admin_device_approval":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Admin Device Approval"},"min_signin_methods":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Min Signin Methods"},"link_require_verified":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Link Require Verified"},"plus_tag_login":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Plus Tag Login"},"onboarding_reminder_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Onboarding Reminder Days"},"saml_entity_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Saml Entity Id"},"saml_acs_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Saml Acs Url"},"saml_idp_sso_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Saml Idp Sso Url"},"saml_idp_entity_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Saml Idp Entity Id"},"saml_idp_cert":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Saml Idp Cert"},"saml_jit":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Saml Jit"},"banner_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Banner Text"},"banner_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Banner Enabled"}},"additionalProperties":false,"type":"object","title":"SettingsIn"},"SetupIn":{"properties":{"method":{"type":"string","title":"Method"}},"additionalProperties":false,"type":"object","required":["method"],"title":"SetupIn"},"StepUpIn":{"properties":{"password":{"type":"string","title":"Password","default":""},"method":{"type":"string","title":"Method","default":""},"code":{"type":"string","title":"Code","default":""}},"additionalProperties":false,"type":"object","title":"StepUpIn"},"TestEmailIn":{"properties":{"to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"To"}},"additionalProperties":false,"type":"object","title":"TestEmailIn"},"TrustedContactIn":{"properties":{"username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username"}},"additionalProperties":false,"type":"object","title":"TrustedContactIn"},"TxIn":{"properties":{"ops":{"items":{"$ref":"#/components/schemas/TxOp"},"type":"array","title":"Ops"}},"additionalProperties":false,"type":"object","required":["ops"],"title":"TxIn"},"TxOp":{"properties":{"op":{"type":"string","title":"Op"},"args":{"additionalProperties":true,"type":"object","title":"Args","default":{}}},"additionalProperties":false,"type":"object","required":["op"],"title":"TxOp"},"UserPatch":{"properties":{"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"},"email_verified":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Email Verified"},"is_admin":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Admin"},"file_quota":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"File Quota"}},"additionalProperties":false,"type":"object","title":"UserPatch"},"UserQuotaIn":{"properties":{"file_quota":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"File Quota"}},"additionalProperties":false,"type":"object","title":"UserQuotaIn"},"UserRolesIn":{"properties":{"roles":{"items":{"type":"string"},"type":"array","title":"Roles","default":[]}},"additionalProperties":false,"type":"object","title":"UserRolesIn"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VaultVerifyIn":{"properties":{"password":{"type":"string","title":"Password"},"code":{"type":"string","title":"Code"}},"additionalProperties":false,"type":"object","required":["password","code"],"title":"VaultVerifyIn"},"WebAuthnVerifyIn":{"properties":{"credential":{"additionalProperties":true,"type":"object","title":"Credential"},"name":{"type":"string","title":"Name","default":""}},"additionalProperties":false,"type":"object","required":["credential"],"title":"WebAuthnVerifyIn"},"WebhookIn":{"properties":{"url":{"type":"string","title":"Url"},"events":{"items":{"type":"string"},"type":"array","title":"Events","default":["*"]},"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"}},"additionalProperties":false,"type":"object","required":["url"],"title":"WebhookIn"},"app__routers__auth__RecoveryCodeIn":{"properties":{"username":{"type":"string","title":"Username"},"code":{"type":"string","title":"Code"},"password":{"type":"string","title":"Password"}},"additionalProperties":false,"type":"object","required":["username","code","password"],"title":"RecoveryCodeIn"},"app__routers__auth__TokenIn":{"properties":{"token":{"type":"string","title":"Token"}},"additionalProperties":false,"type":"object","required":["token"],"title":"TokenIn"},"app__routers__auth__VerifyIn":{"properties":{"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"},"token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token"}},"additionalProperties":false,"type":"object","title":"VerifyIn"},"app__routers__me__RecoveryCodeIn":{"properties":{"password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Password","default":""},"method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Method","default":""},"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code","default":""}},"additionalProperties":false,"type":"object","title":"RecoveryCodeIn"},"app__routers__service__VerifyIn":{"properties":{"token":{"type":"string","title":"Token"}},"additionalProperties":false,"type":"object","required":["token"],"title":"VerifyIn"},"app__routers__tokens__TokenIn":{"properties":{"name":{"type":"string","title":"Name"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes","default":["read"]},"expires_in_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expires In Days"},"resource":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resource"}},"additionalProperties":false,"type":"object","required":["name"],"title":"TokenIn"}}}}