{"openapi": "3.1.0", "info": {"title": "RemnaBot", "description": "A Unified Accounting System for Remnawave", "version": "8.6.3"}, "paths": {"/api/auth/telegram-login": {"post": {"tags": ["auth"], "summary": "Auth Telegram Login", "description": "Authenticate desktop user with Telegram Login Widget payload.", "operationId": "auth_telegram_login_api_auth_telegram_login_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/auth/challenge/create": {"post": {"tags": ["auth"], "summary": "Auth Challenge Create", "description": "Create a browser auth challenge to approve in the Telegram bot chat.", "operationId": "auth_challenge_create_api_auth_challenge_create_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/auth/challenge/approve": {"post": {"tags": ["auth"], "summary": "Auth Challenge Approve", "description": "Approve a legacy/scanned browser auth challenge from Mini App context.", "operationId": "auth_challenge_approve_api_auth_challenge_approve_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/auth/challenge/handoff": {"post": {"tags": ["auth"], "summary": "Auth Challenge Handoff", "description": "Redeem a one-time handoff token minted when Telegram approved on this device.", "operationId": "auth_challenge_handoff_api_auth_challenge_handoff_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/auth/challenge/status/{challenge_id}": {"get": {"tags": ["auth"], "summary": "Auth Challenge Status", "description": "Check desktop auth challenge status.", "operationId": "auth_challenge_status_api_auth_challenge_status__challenge_id__get", "parameters": [{"name": "challenge_id", "in": "path", "required": true, "schema": {"type": "string", "title": "Challenge Id"}}], "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": "Auth Session", "description": "Validate current web session token.", "operationId": "auth_session_api_auth_session_get", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/auth/password": {"post": {"tags": ["auth"], "summary": "Auth Password Login", "description": "Password login for sudo / web dashboard accounts.", "operationId": "auth_password_login_api_auth_password_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/auth/password/set": {"post": {"tags": ["auth"], "summary": "Auth Set Password", "description": "Set or rotate the sudo web password (requires an existing session).", "operationId": "auth_set_password_api_auth_password_set_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/auth/sessions": {"get": {"tags": ["auth"], "summary": "Auth List Sessions", "operationId": "auth_list_sessions_api_auth_sessions_get", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/auth/logout": {"post": {"tags": ["auth"], "summary": "Auth Logout", "description": "Revoke the current web session token when present.", "operationId": "auth_logout_api_auth_logout_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/auth/email/register": {"post": {"tags": ["web-account"], "summary": "Email Register", "description": "Create a storefront account and send its verification link.", "operationId": "email_register_api_auth_email_register_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/auth/email/verify": {"post": {"tags": ["web-account"], "summary": "Email Verify", "description": "Redeem a verification link and sign the visitor in.", "operationId": "email_verify_api_auth_email_verify_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/auth/email/resend": {"post": {"tags": ["web-account"], "summary": "Email Resend", "description": "Re-send the verification link for an unverified address.", "operationId": "email_resend_api_auth_email_resend_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/auth/email/login": {"post": {"tags": ["web-account"], "summary": "Email Login", "description": "Exchange email and password for a web session token.", "operationId": "email_login_api_auth_email_login_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/auth/password/forgot": {"post": {"tags": ["web-account"], "summary": "Password Forgot", "description": "Send a password-reset link if the address has an account.", "operationId": "password_forgot_api_auth_password_forgot_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/auth/password/reset": {"post": {"tags": ["web-account"], "summary": "Password Reset", "description": "Redeem a reset link, set the new password, and end every session.", "operationId": "password_reset_api_auth_password_reset_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/auth/email/confirm-change": {"post": {"tags": ["web-account"], "summary": "Email Confirm Change", "description": "Redeem the link sent to a new address and move the account onto it.", "operationId": "email_confirm_change_api_auth_email_confirm_change_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/auth/merge/describe": {"post": {"tags": ["web-account"], "summary": "Merge Describe", "description": "Describe the two accounts a claim link would merge, without spending it.", "operationId": "merge_describe_api_auth_merge_describe_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/auth/merge/confirm": {"post": {"tags": ["web-account"], "summary": "Merge Confirm", "description": "Redeem a claim link and merge the web account into the Telegram one.", "operationId": "merge_confirm_api_auth_merge_confirm_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/account/identity": {"get": {"tags": ["web-account"], "summary": "Account Identity", "description": "Describe the signed-in account's credentials and Telegram link.", "operationId": "account_identity_api_account_identity_get", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/account/password/set": {"post": {"tags": ["web-account"], "summary": "Account Set Password", "description": "Set a first password, or rotate an existing one.", "operationId": "account_set_password_api_account_password_set_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/account/email/attach": {"post": {"tags": ["web-account"], "summary": "Account Attach Email", "description": "Add an email login to this account, or start changing the address.", "operationId": "account_attach_email_api_account_email_attach_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/account/sessions": {"get": {"tags": ["web-account"], "summary": "Account Sessions", "description": "List this account's web sessions.", "operationId": "account_sessions_api_account_sessions_get", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/account/sessions/revoke": {"post": {"tags": ["web-account"], "summary": "Account Revoke Sessions", "description": "Sign this account out everywhere.", "operationId": "account_revoke_sessions_api_account_sessions_revoke_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/account/telegram/link/start": {"post": {"tags": ["web-account"], "summary": "Telegram Link Start", "description": "Open a Telegram link challenge for the signed-in web account.", "operationId": "telegram_link_start_api_account_telegram_link_start_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/account/telegram/login": {"post": {"tags": ["web-account"], "summary": "Account Telegram Login", "description": "Turn Telegram sign-in on or off for the signed-in account.", "operationId": "account_telegram_login_api_account_telegram_login_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/account/telegram/link/describe/{challenge_id}": {"get": {"tags": ["web-account"], "summary": "Telegram Link Describe", "description": "Name the web account a pending challenge would merge, before approving.", "operationId": "telegram_link_describe_api_account_telegram_link_describe__challenge_id__get", "parameters": [{"name": "challenge_id", "in": "path", "required": true, "schema": {"type": "string", "title": "Challenge Id"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/api/account/telegram/link/approve": {"post": {"tags": ["web-account"], "summary": "Telegram Link Approve", "description": "Approve a link challenge from inside the Telegram Mini App.", "operationId": "telegram_link_approve_api_account_telegram_link_approve_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/account/telegram/link/status/{challenge_id}": {"get": {"tags": ["web-account"], "summary": "Telegram Link Status", "description": "Poll a link challenge; on approval this merges and re-issues the session.", "operationId": "telegram_link_status_api_account_telegram_link_status__challenge_id__get", "parameters": [{"name": "challenge_id", "in": "path", "required": true, "schema": {"type": "string", "title": "Challenge Id"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/api/public/storefront": {"get": {"tags": ["public"], "summary": "Get Public Storefront", "description": "The catalogue, brand and copy behind the public marketing pages.", "operationId": "get_public_storefront_api_public_storefront_get", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/service-status": {"post": {"tags": ["service-status"], "summary": "Miniapp Service Status", "description": "Status of the nodes backing this bot's catalogue (Mini App session).", "operationId": "miniapp_service_status_api_miniapp_service_status_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/public/service-status": {"get": {"tags": ["service-status"], "summary": "Public Service Status", "description": "The same board for the anonymous storefront.", "operationId": "public_service_status_api_public_service_status_get", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/sub/{key}": {"get": {"tags": ["subscription"], "summary": "Get Subscription Data", "description": "Get subscription data for a user.", "operationId": "get_subscription_data_api_sub__key__get", "parameters": [{"name": "key", "in": "path", "required": true, "schema": {"type": "string", "title": "Key"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/api/sub/{public_id}/{secret}": {"get": {"tags": ["subscription"], "summary": "Get Subscription Data Secure", "description": "Get subscription data using secure public_id/secret URL.", "operationId": "get_subscription_data_secure_api_sub__public_id___secret__get", "parameters": [{"name": "public_id", "in": "path", "required": true, "schema": {"type": "string", "title": "Public Id"}}, {"name": "secret", "in": "path", "required": true, "schema": {"type": "string", "title": "Secret"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/api/sub/{key}/emergency": {"post": {"tags": ["subscription"], "summary": "Call Emergency Service", "description": "Call emergency service for a user.", "operationId": "call_emergency_service_api_sub__key__emergency_post", "parameters": [{"name": "key", "in": "path", "required": true, "schema": {"type": "string", "title": "Key"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/api/sub/{public_id}/{secret}/emergency": {"post": {"tags": ["subscription"], "summary": "Call Emergency Service Secure", "description": "Call emergency service using secure public_id/secret URL.", "operationId": "call_emergency_service_secure_api_sub__public_id___secret__emergency_post", "parameters": [{"name": "public_id", "in": "path", "required": true, "schema": {"type": "string", "title": "Public Id"}}, {"name": "secret", "in": "path", "required": true, "schema": {"type": "string", "title": "Secret"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/sub/{key}": {"get": {"tags": ["subscription"], "summary": "Subscription", "description": "Client subscription endpoint (plain key).", "operationId": "subscription_sub__key__get", "parameters": [{"name": "key", "in": "path", "required": true, "schema": {"type": "string", "title": "Key"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/sub/{public_id}/{secret}": {"get": {"tags": ["subscription"], "summary": "Subscription Secure", "description": "Client subscription endpoint (secure public_id/secret).", "operationId": "subscription_secure_sub__public_id___secret__get", "parameters": [{"name": "public_id", "in": "path", "required": true, "schema": {"type": "string", "title": "Public Id"}}, {"name": "secret", "in": "path", "required": true, "schema": {"type": "string", "title": "Secret"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/sub/{key}/emergency": {"post": {"tags": ["subscription"], "summary": "Emergency Subscription", "description": "Emergency subscription (plain key).", "operationId": "emergency_subscription_sub__key__emergency_post", "parameters": [{"name": "key", "in": "path", "required": true, "schema": {"type": "string", "title": "Key"}}], "responses": {"200": {"description": "Successful Response", "content": {"text/html": {"schema": {"type": "string"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/sub/{public_id}/{secret}/emergency": {"post": {"tags": ["subscription"], "summary": "Emergency Subscription Secure", "description": "Emergency subscription (secure).", "operationId": "emergency_subscription_secure_sub__public_id___secret__emergency_post", "parameters": [{"name": "public_id", "in": "path", "required": true, "schema": {"type": "string", "title": "Public Id"}}, {"name": "secret", "in": "path", "required": true, "schema": {"type": "string", "title": "Secret"}}], "responses": {"200": {"description": "Successful Response", "content": {"text/html": {"schema": {"type": "string"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/sub/{key}/import/{app}": {"get": {"tags": ["subscription"], "summary": "Import Subscription", "description": "Import subscription to client app (plain key).", "operationId": "import_subscription_sub__key__import__app__get", "parameters": [{"name": "key", "in": "path", "required": true, "schema": {"type": "string", "title": "Key"}}, {"name": "app", "in": "path", "required": true, "schema": {"type": "string", "title": "App"}}], "responses": {"200": {"description": "Successful Response", "content": {"text/html": {"schema": {"type": "string"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/sub/{public_id}/{secret}/import/{app}": {"get": {"tags": ["subscription"], "summary": "Import Subscription Secure", "description": "Import subscription to client app (secure).", "operationId": "import_subscription_secure_sub__public_id___secret__import__app__get", "parameters": [{"name": "public_id", "in": "path", "required": true, "schema": {"type": "string", "title": "Public Id"}}, {"name": "secret", "in": "path", "required": true, "schema": {"type": "string", "title": "Secret"}}, {"name": "app", "in": "path", "required": true, "schema": {"type": "string", "title": "App"}}], "responses": {"200": {"description": "Successful Response", "content": {"text/html": {"schema": {"type": "string"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/api/tronado_payment": {"post": {"tags": ["payment"], "summary": "Tronado Payment", "description": "Handle Tronado payment callback.", "operationId": "tronado_payment_api_tronado_payment_post", "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/PaymentCallback"}}}, "required": true}, "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/api/shahanpay_payment": {"get": {"tags": ["payment"], "summary": "Shahanpay Payment Return", "description": "ShahanPay returns the payer's browser here after checkout.", "operationId": "shahanpay_payment_return_api_shahanpay_payment_get", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}, "post": {"tags": ["payment"], "summary": "Shahanpay Payment Callback", "description": "ShahanPay's server-to-server callback for the same invoice.", "operationId": "shahanpay_payment_callback_api_shahanpay_payment_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/xrocket_payment": {"post": {"tags": ["payment"], "summary": "Xrocket Payment", "description": "xRocket Pay webhook: ``invoicePay`` / ``PayInvoiceDto`` (see API Callbacks on ``/tg-invoices``).\n\nSet the app webhook URL in xRocket (Rocket Pay \u2192 app) to ``https://<api-host>/api/xrocket_payment``.", "operationId": "xrocket_payment_api_xrocket_payment_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/share": {"get": {"tags": ["share"], "summary": "Share Entry Page", "description": "Render share-link entry page (user types in a share code).", "operationId": "share_entry_page_share_get", "responses": {"200": {"description": "Successful Response", "content": {"text/html": {"schema": {"type": "string"}}}}}}}, "/share/submit": {"post": {"tags": ["share"], "summary": "Submit Share Code Form", "description": "Handle share code form submission and redirect to access page.", "operationId": "submit_share_code_form_share_submit_post", "responses": {"200": {"description": "Successful Response", "content": {"text/html": {"schema": {"type": "string"}}}}}}}, "/share/access/{ticket}": {"get": {"tags": ["share"], "summary": "Share Access Page", "description": "Render the share-access page for a validated ticket.", "operationId": "share_access_page_share_access__ticket__get", "parameters": [{"name": "ticket", "in": "path", "required": true, "schema": {"type": "string", "title": "Ticket"}}], "responses": {"200": {"description": "Successful Response", "content": {"text/html": {"schema": {"type": "string"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/share/access/{ticket}/sub": {"get": {"tags": ["share"], "summary": "Share Access Subscription", "description": "Return the subscription payload for a share-access ticket.", "operationId": "share_access_subscription_share_access__ticket__sub_get", "parameters": [{"name": "ticket", "in": "path", "required": true, "schema": {"type": "string", "title": "Ticket"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/share/access/{ticket}/import/{app}": {"get": {"tags": ["share"], "summary": "Share Access Import", "description": "Import subscription via share-access ticket into a client app.", "operationId": "share_access_import_share_access__ticket__import__app__get", "parameters": [{"name": "ticket", "in": "path", "required": true, "schema": {"type": "string", "title": "Ticket"}}, {"name": "app", "in": "path", "required": true, "schema": {"type": "string", "title": "App"}}], "responses": {"200": {"description": "Successful Response", "content": {"text/html": {"schema": {"type": "string"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/api/guide/{token}": {"get": {"tags": ["share"], "summary": "Guide Share", "description": "Public install-guide share used by guest checkout success.", "operationId": "guide_share_api_guide__token__get", "parameters": [{"name": "token", "in": "path", "required": true, "schema": {"type": "string", "title": "Token"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"type": "object", "additionalProperties": true, "title": "Response Guide Share Api Guide  Token  Get"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/s/{token}": {"get": {"tags": ["share"], "summary": "Guide Share Page", "description": "SPA entry for /s/<token> \u2014 same document as the rest of the Mini App.", "operationId": "guide_share_page_s__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/share/code/submit": {"post": {"tags": ["share"], "summary": "Api Submit Share Code", "description": "Submit a share code via API (JSON response).", "operationId": "api_submit_share_code_api_share_code_submit_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/share/access/{ticket}": {"get": {"tags": ["share"], "summary": "Api Share Access Data", "description": "Get share-access data for a ticket (JSON).", "operationId": "api_share_access_data_api_share_access__ticket__get", "parameters": [{"name": "ticket", "in": "path", "required": true, "schema": {"type": "string", "title": "Ticket"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/api/share/access/{ticket}/emergency": {"post": {"tags": ["share"], "summary": "Api Share Access Emergency", "description": "Call emergency service on a share-access ticket.", "operationId": "api_share_access_emergency_api_share_access__ticket__emergency_post", "parameters": [{"name": "ticket", "in": "path", "required": true, "schema": {"type": "string", "title": "Ticket"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/api/miniapp/sudo/loyalty/catalog": {"post": {"tags": ["loyalty"], "summary": "Admin Catalog", "operationId": "admin_catalog_api_miniapp_sudo_loyalty_catalog_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/loyalty/catalog/create": {"post": {"tags": ["loyalty"], "summary": "Create Catalog Item", "operationId": "create_catalog_item_api_miniapp_sudo_loyalty_catalog_create_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/loyalty/summary": {"post": {"tags": ["loyalty"], "summary": "Loyalty Summary", "operationId": "loyalty_summary_api_miniapp_loyalty_summary_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/loyalty/catalog": {"post": {"tags": ["loyalty"], "summary": "Loyalty Catalog", "operationId": "loyalty_catalog_api_miniapp_loyalty_catalog_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/loyalty/redeem": {"post": {"tags": ["loyalty"], "summary": "Redeem Loyalty", "operationId": "redeem_loyalty_api_miniapp_loyalty_redeem_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/marketing/campaigns": {"post": {"tags": ["marketing"], "summary": "List Campaigns", "operationId": "list_campaigns_api_miniapp_sudo_marketing_campaigns_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/marketing/campaign/create": {"post": {"tags": ["marketing"], "summary": "Create Campaign", "operationId": "create_campaign_api_miniapp_sudo_marketing_campaign_create_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/marketing/campaign/{campaign_id}/config": {"post": {"tags": ["marketing"], "summary": "Update Campaign", "operationId": "update_campaign_api_miniapp_sudo_marketing_campaign__campaign_id__config_post", "parameters": [{"name": "campaign_id", "in": "path", "required": true, "schema": {"type": "string", "title": "Campaign Id"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/api/miniapp/sudo/marketing/campaign/{campaign_id}/status": {"post": {"tags": ["marketing"], "summary": "Change Campaign Status", "operationId": "change_campaign_status_api_miniapp_sudo_marketing_campaign__campaign_id__status_post", "parameters": [{"name": "campaign_id", "in": "path", "required": true, "schema": {"type": "string", "title": "Campaign Id"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/api/miniapp/sudo/marketing/campaign/{campaign_id}/report": {"post": {"tags": ["marketing"], "summary": "Campaign Report", "operationId": "campaign_report_api_miniapp_sudo_marketing_campaign__campaign_id__report_post", "parameters": [{"name": "campaign_id", "in": "path", "required": true, "schema": {"type": "string", "title": "Campaign Id"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/api/miniapp/sudo/marketing/campaign/{campaign_id}/link": {"post": {"tags": ["marketing"], "summary": "Campaign Links", "operationId": "campaign_links_api_miniapp_sudo_marketing_campaign__campaign_id__link_post", "parameters": [{"name": "campaign_id", "in": "path", "required": true, "schema": {"type": "string", "title": "Campaign Id"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/api/miniapp/sudo/marketing/audiences": {"post": {"tags": ["marketing"], "summary": "Marketing Audiences", "operationId": "marketing_audiences_api_miniapp_sudo_marketing_audiences_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/auth": {"post": {"tags": ["miniapp"], "summary": "Miniapp Auth", "description": "Authenticate Telegram mini app user and return user data.", "operationId": "miniapp_auth_api_miniapp_auth_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/dev/miniapp-session": {"post": {"tags": ["miniapp"], "summary": "Dev Miniapp Session", "description": "Create a local-development Telegram miniapp session for a Telegram ID.", "operationId": "dev_miniapp_session_api_dev_miniapp_session_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/user": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp User", "description": "Get user profile data for mini app.", "operationId": "get_miniapp_user_api_miniapp_user_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/user/preferences": {"post": {"tags": ["miniapp"], "summary": "Update Miniapp User Preferences", "description": "Update persisted mini app user preferences.", "operationId": "update_miniapp_user_preferences_api_miniapp_user_preferences_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/accounts": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Accounts", "description": "Get user accounts for mini app.", "operationId": "get_miniapp_accounts_api_miniapp_accounts_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/accounts/resolve-subscription": {"post": {"tags": ["miniapp"], "summary": "Resolve Miniapp Account Subscription", "description": "Resolve a pasted subscription URL to the current user's account id and labels.", "operationId": "resolve_miniapp_account_subscription_api_miniapp_accounts_resolve_subscription_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/network-debug/status": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Network Debug Status", "description": "Premium-only: remaining daily network-debug quota for an owned account.", "operationId": "get_miniapp_network_debug_status_api_miniapp_network_debug_status_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/network-debug/run": {"post": {"tags": ["miniapp"], "summary": "Run Miniapp Network Debug", "description": "Premium-only: consume a daily slot and return the client probe targets.", "operationId": "run_miniapp_network_debug_api_miniapp_network_debug_run_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/network-debug/report": {"post": {"tags": ["miniapp"], "summary": "Report Miniapp Network Debug", "description": "Premium-only: receive client results; forward a sudo log on problems.", "operationId": "report_miniapp_network_debug_api_miniapp_network_debug_report_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/wallet": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Wallet", "description": "Get user wallet information for mini app.", "operationId": "get_miniapp_wallet_api_miniapp_wallet_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/wallet/statement": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Wallet Statement", "description": "Paginated wallet statement (double-entry ledger) for the user.", "operationId": "get_miniapp_wallet_statement_api_miniapp_wallet_statement_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/wallet/summary": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Wallet Summary", "description": "Income/expense summary for the user's wallet over a window.", "operationId": "get_miniapp_wallet_summary_api_miniapp_wallet_summary_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/wallet/statement/export": {"post": {"tags": ["miniapp"], "summary": "Export Miniapp Wallet Statement", "description": "Download the user's wallet statement as CSV.", "operationId": "export_miniapp_wallet_statement_api_miniapp_wallet_statement_export_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/accounting/overview": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Sudo Accounting Overview", "description": "P&L + reconciliation overview (sudo only).", "operationId": "get_miniapp_sudo_accounting_overview_api_miniapp_sudo_accounting_overview_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/accounting/trial-balance": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Sudo Accounting Trial Balance", "description": "Full trial balance (sudo only).", "operationId": "get_miniapp_sudo_accounting_trial_balance_api_miniapp_sudo_accounting_trial_balance_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/accounting/reconciliation": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Sudo Accounting Reconciliation", "description": "Wallet-vs-ledger reconciliation health (sudo only).", "operationId": "get_miniapp_sudo_accounting_reconciliation_api_miniapp_sudo_accounting_reconciliation_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/reseller/settings": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Reseller Settings", "operationId": "get_miniapp_reseller_settings_api_miniapp_reseller_settings_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/reseller/profile": {"post": {"tags": ["miniapp"], "summary": "Update Miniapp Reseller Profile", "operationId": "update_miniapp_reseller_profile_api_miniapp_reseller_profile_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/reseller/host": {"post": {"tags": ["miniapp"], "summary": "Update Miniapp Reseller Host", "operationId": "update_miniapp_reseller_host_api_miniapp_reseller_host_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/reseller/plan": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Reseller Plan", "operationId": "get_miniapp_reseller_plan_api_miniapp_reseller_plan_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/reseller/plan/checkout": {"post": {"tags": ["miniapp"], "summary": "Create Miniapp Reseller Plan Invoice", "operationId": "create_miniapp_reseller_plan_invoice_api_miniapp_reseller_plan_checkout_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/scores": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Scores", "description": "Get user scores for mini app.", "operationId": "get_miniapp_scores_api_miniapp_scores_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/notifications/feed": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Notifications Feed", "description": "Paginated notification feed for the authenticated user.", "operationId": "get_miniapp_notifications_feed_api_miniapp_notifications_feed_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/notifications/unread-count": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Notifications Unread Count", "description": "Lightweight unread-count for the notification badge (polled).", "operationId": "get_miniapp_notifications_unread_count_api_miniapp_notifications_unread_count_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/notifications/seen": {"post": {"tags": ["miniapp"], "summary": "Mark Miniapp Notifications Seen", "description": "Mark notification(s) as seen (bulk on feed open).", "operationId": "mark_miniapp_notifications_seen_api_miniapp_notifications_seen_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/notifications/read": {"post": {"tags": ["miniapp"], "summary": "Mark Miniapp Notifications Read", "description": "Mark notification(s) \u2014 or all \u2014 as read.", "operationId": "mark_miniapp_notifications_read_api_miniapp_notifications_read_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/notifications/dismiss": {"post": {"tags": ["miniapp"], "summary": "Dismiss Miniapp Notification", "description": "Dismiss (archive) a notification.", "operationId": "dismiss_miniapp_notification_api_miniapp_notifications_dismiss_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/menu": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Menu", "description": "Get shortcut menu data.", "operationId": "get_miniapp_menu_api_miniapp_menu_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/store": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Store", "description": "Get products and categories.", "operationId": "get_miniapp_store_api_miniapp_store_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/analytics": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Sudo Analytics", "description": "Get sudo dashboard analytics history for miniapp charts.", "operationId": "get_miniapp_sudo_analytics_api_miniapp_sudo_analytics_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/reports": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Sudo Reports", "description": "Get sudo sales & product management report KPIs (rolling windows).", "operationId": "get_miniapp_sudo_reports_api_miniapp_sudo_reports_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/analytics/timeseries": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Sudo Analytics Timeseries", "description": "Get unified sudo analytics dashboard payload.", "operationId": "get_miniapp_sudo_analytics_timeseries_api_miniapp_sudo_analytics_timeseries_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/analytics/filters": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Sudo Analytics Filters", "description": "Get selectable filters for the unified sudo analytics dashboard.", "operationId": "get_miniapp_sudo_analytics_filters_api_miniapp_sudo_analytics_filters_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/products": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Sudo Products", "description": "Get categories/products for sudo miniapp manage-products page.", "operationId": "get_miniapp_sudo_products_api_miniapp_sudo_products_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/category/create": {"post": {"tags": ["miniapp"], "summary": "Create Miniapp Sudo Category", "operationId": "create_miniapp_sudo_category_api_miniapp_sudo_category_create_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/category/update": {"post": {"tags": ["miniapp"], "summary": "Update Miniapp Sudo Category", "operationId": "update_miniapp_sudo_category_api_miniapp_sudo_category_update_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/category/toggle_status": {"post": {"tags": ["miniapp"], "summary": "Toggle Miniapp Sudo Category Status", "operationId": "toggle_miniapp_sudo_category_status_api_miniapp_sudo_category_toggle_status_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/category/delete": {"post": {"tags": ["miniapp"], "summary": "Delete Miniapp Sudo Category", "operationId": "delete_miniapp_sudo_category_api_miniapp_sudo_category_delete_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/product/squads": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Sudo Product Squads", "operationId": "get_miniapp_sudo_product_squads_api_miniapp_sudo_product_squads_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/account/squads": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Sudo Account Squads", "operationId": "get_miniapp_sudo_account_squads_api_miniapp_sudo_account_squads_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/product/create": {"post": {"tags": ["miniapp"], "summary": "Create Miniapp Sudo Product", "operationId": "create_miniapp_sudo_product_api_miniapp_sudo_product_create_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/product/update": {"post": {"tags": ["miniapp"], "summary": "Update Miniapp Sudo Product", "operationId": "update_miniapp_sudo_product_api_miniapp_sudo_product_update_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/product/toggle_status": {"post": {"tags": ["miniapp"], "summary": "Toggle Miniapp Sudo Product Status", "operationId": "toggle_miniapp_sudo_product_status_api_miniapp_sudo_product_toggle_status_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/product/delete": {"post": {"tags": ["miniapp"], "summary": "Delete Miniapp Sudo Product", "operationId": "delete_miniapp_sudo_product_api_miniapp_sudo_product_delete_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/accounts": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Sudo Accounts", "description": "Get accounts list for sudo miniapp.", "operationId": "get_miniapp_sudo_accounts_api_miniapp_sudo_accounts_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/account/details": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Sudo Account Details", "operationId": "get_miniapp_sudo_account_details_api_miniapp_sudo_account_details_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/account/buy": {"post": {"tags": ["miniapp"], "summary": "Create Miniapp Sudo Account", "operationId": "create_miniapp_sudo_account_api_miniapp_sudo_account_buy_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/account/renew": {"post": {"tags": ["miniapp"], "summary": "Renew Miniapp Sudo Account", "operationId": "renew_miniapp_sudo_account_api_miniapp_sudo_account_renew_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/account/nickname": {"post": {"tags": ["miniapp"], "summary": "Update Miniapp Sudo Account Nickname", "operationId": "update_miniapp_sudo_account_nickname_api_miniapp_sudo_account_nickname_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/account/delete": {"post": {"tags": ["miniapp"], "summary": "Delete Miniapp Sudo Account", "operationId": "delete_miniapp_sudo_account_api_miniapp_sudo_account_delete_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/account/change_key": {"post": {"tags": ["miniapp"], "summary": "Change Miniapp Sudo Account Key", "operationId": "change_miniapp_sudo_account_key_api_miniapp_sudo_account_change_key_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/account/toggle_status": {"post": {"tags": ["miniapp"], "summary": "Toggle Miniapp Sudo Account Status", "operationId": "toggle_miniapp_sudo_account_status_api_miniapp_sudo_account_toggle_status_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/account/transfer": {"post": {"tags": ["miniapp"], "summary": "Transfer Miniapp Sudo Account", "operationId": "transfer_miniapp_sudo_account_api_miniapp_sudo_account_transfer_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/account/edit": {"post": {"tags": ["miniapp"], "summary": "Update Miniapp Sudo Account Parameter", "operationId": "update_miniapp_sudo_account_parameter_api_miniapp_sudo_account_edit_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/users": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Sudo Users", "operationId": "get_miniapp_sudo_users_api_miniapp_sudo_users_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/user/details": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Sudo User Details", "operationId": "get_miniapp_sudo_user_details_api_miniapp_sudo_user_details_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/user/toggle_status": {"post": {"tags": ["miniapp"], "summary": "Toggle Miniapp Sudo User Status", "operationId": "toggle_miniapp_sudo_user_status_api_miniapp_sudo_user_toggle_status_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/user/toggle_access_override": {"post": {"tags": ["miniapp"], "summary": "Toggle Miniapp Sudo User Access Override", "operationId": "toggle_miniapp_sudo_user_access_override_api_miniapp_sudo_user_toggle_access_override_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/user/wallet": {"post": {"tags": ["miniapp"], "summary": "Charge Miniapp Sudo User Wallet", "operationId": "charge_miniapp_sudo_user_wallet_api_miniapp_sudo_user_wallet_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/user/transfer_accounts": {"post": {"tags": ["miniapp"], "summary": "Transfer Miniapp Sudo User Accounts", "operationId": "transfer_miniapp_sudo_user_accounts_api_miniapp_sudo_user_transfer_accounts_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/user/send_message": {"post": {"tags": ["miniapp"], "summary": "Send Message Miniapp Sudo User", "operationId": "send_message_miniapp_sudo_user_api_miniapp_sudo_user_send_message_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/user/toggle_agent": {"post": {"tags": ["miniapp"], "summary": "Toggle Miniapp Sudo User Agent", "operationId": "toggle_miniapp_sudo_user_agent_api_miniapp_sudo_user_toggle_agent_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/user/agent_discount": {"post": {"tags": ["miniapp"], "summary": "Update Miniapp Sudo User Agent Discount", "operationId": "update_miniapp_sudo_user_agent_discount_api_miniapp_sudo_user_agent_discount_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/user/reseller": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Sudo User Reseller", "operationId": "get_miniapp_sudo_user_reseller_api_miniapp_sudo_user_reseller_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/user/reseller/profile": {"post": {"tags": ["miniapp"], "summary": "Update Miniapp Sudo User Reseller Profile", "operationId": "update_miniapp_sudo_user_reseller_profile_api_miniapp_sudo_user_reseller_profile_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/user/reseller/host": {"post": {"tags": ["miniapp"], "summary": "Update Miniapp Sudo User Reseller Host", "operationId": "update_miniapp_sudo_user_reseller_host_api_miniapp_sudo_user_reseller_host_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/user/reseller/overrides": {"post": {"tags": ["miniapp"], "summary": "Update Miniapp Sudo User Reseller Overrides", "operationId": "update_miniapp_sudo_user_reseller_overrides_api_miniapp_sudo_user_reseller_overrides_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/reseller-plans": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Sudo Reseller Plans", "operationId": "get_miniapp_sudo_reseller_plans_api_miniapp_sudo_reseller_plans_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/reseller-plan/create": {"post": {"tags": ["miniapp"], "summary": "Create Miniapp Sudo Reseller Plan", "operationId": "create_miniapp_sudo_reseller_plan_api_miniapp_sudo_reseller_plan_create_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/reseller-plan/update": {"post": {"tags": ["miniapp"], "summary": "Update Miniapp Sudo Reseller Plan", "operationId": "update_miniapp_sudo_reseller_plan_api_miniapp_sudo_reseller_plan_update_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/reseller-plan/delete": {"post": {"tags": ["miniapp"], "summary": "Delete Miniapp Sudo Reseller Plan", "operationId": "delete_miniapp_sudo_reseller_plan_api_miniapp_sudo_reseller_plan_delete_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/user/product_wallet": {"post": {"tags": ["miniapp"], "summary": "Upsert Miniapp Sudo User Product Wallet", "operationId": "upsert_miniapp_sudo_user_product_wallet_api_miniapp_sudo_user_product_wallet_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/invoices": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Sudo Invoices", "operationId": "get_miniapp_sudo_invoices_api_miniapp_sudo_invoices_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/invoice/details": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Sudo Invoice Details", "operationId": "get_miniapp_sudo_invoice_details_api_miniapp_sudo_invoice_details_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/invoice/accept": {"post": {"tags": ["miniapp"], "summary": "Accept Miniapp Sudo Invoice", "operationId": "accept_miniapp_sudo_invoice_api_miniapp_sudo_invoice_accept_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/invoice/reject": {"post": {"tags": ["miniapp"], "summary": "Reject Miniapp Sudo Invoice", "operationId": "reject_miniapp_sudo_invoice_api_miniapp_sudo_invoice_reject_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/gateways": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Sudo Gateways", "operationId": "get_miniapp_sudo_gateways_api_miniapp_sudo_gateways_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/gateway/create": {"post": {"tags": ["miniapp"], "summary": "Create Miniapp Sudo Gateway", "operationId": "create_miniapp_sudo_gateway_api_miniapp_sudo_gateway_create_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/gateway/update": {"post": {"tags": ["miniapp"], "summary": "Update Miniapp Sudo Gateway", "operationId": "update_miniapp_sudo_gateway_api_miniapp_sudo_gateway_update_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/gateway/toggle_status": {"post": {"tags": ["miniapp"], "summary": "Toggle Miniapp Sudo Gateway Status", "operationId": "toggle_miniapp_sudo_gateway_status_api_miniapp_sudo_gateway_toggle_status_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/gateway/delete": {"post": {"tags": ["miniapp"], "summary": "Delete Miniapp Sudo Gateway", "operationId": "delete_miniapp_sudo_gateway_api_miniapp_sudo_gateway_delete_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/gateway/instance/create": {"post": {"tags": ["miniapp"], "summary": "Create Miniapp Sudo Gateway Instance", "operationId": "create_miniapp_sudo_gateway_instance_api_miniapp_sudo_gateway_instance_create_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/gateway/instance/update": {"post": {"tags": ["miniapp"], "summary": "Update Miniapp Sudo Gateway Instance", "operationId": "update_miniapp_sudo_gateway_instance_api_miniapp_sudo_gateway_instance_update_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/gateway/instance/toggle_status": {"post": {"tags": ["miniapp"], "summary": "Toggle Miniapp Sudo Gateway Instance", "operationId": "toggle_miniapp_sudo_gateway_instance_api_miniapp_sudo_gateway_instance_toggle_status_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/gateway/instance/delete": {"post": {"tags": ["miniapp"], "summary": "Delete Miniapp Sudo Gateway Instance", "operationId": "delete_miniapp_sudo_gateway_instance_api_miniapp_sudo_gateway_instance_delete_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/hosts": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Sudo Hosts", "operationId": "get_miniapp_sudo_hosts_api_miniapp_sudo_hosts_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/host/update": {"post": {"tags": ["miniapp"], "summary": "Update Miniapp Sudo Host", "operationId": "update_miniapp_sudo_host_api_miniapp_sudo_host_update_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/host/toggle_status": {"post": {"tags": ["miniapp"], "summary": "Toggle Miniapp Sudo Host Status", "operationId": "toggle_miniapp_sudo_host_status_api_miniapp_sudo_host_toggle_status_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/nodes": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Sudo Nodes", "operationId": "get_miniapp_sudo_nodes_api_miniapp_sudo_nodes_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/nodes/detail": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Sudo Node Detail", "operationId": "get_miniapp_sudo_node_detail_api_miniapp_sudo_nodes_detail_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/nodes/action": {"post": {"tags": ["miniapp"], "summary": "Run Miniapp Sudo Node Action", "operationId": "run_miniapp_sudo_node_action_api_miniapp_sudo_nodes_action_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/nodes/install-options": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Sudo Node Install Options", "operationId": "get_miniapp_sudo_node_install_options_api_miniapp_sudo_nodes_install_options_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/nodes/install": {"post": {"tags": ["miniapp"], "summary": "Install Miniapp Sudo Node", "operationId": "install_miniapp_sudo_node_api_miniapp_sudo_nodes_install_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/subscription-settings": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Sudo Subscription Settings", "operationId": "get_miniapp_sudo_subscription_settings_api_miniapp_sudo_subscription_settings_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/subscription-settings/remark-template": {"post": {"tags": ["miniapp"], "summary": "Update Miniapp Sudo Subscription Remark Template", "operationId": "update_miniapp_sudo_subscription_remark_template_api_miniapp_sudo_subscription_settings_remark_template_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/agents": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Sudo Agents", "operationId": "get_miniapp_sudo_agents_api_miniapp_sudo_agents_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/agent/squad_wallets": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Sudo Agent Squad Wallets", "operationId": "get_miniapp_sudo_agent_squad_wallets_api_miniapp_sudo_agent_squad_wallets_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/agent/squad_wallet/upsert": {"post": {"tags": ["miniapp"], "summary": "Upsert Miniapp Sudo Agent Squad Wallet", "operationId": "upsert_miniapp_sudo_agent_squad_wallet_api_miniapp_sudo_agent_squad_wallet_upsert_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/agent/squad_wallet/delete": {"post": {"tags": ["miniapp"], "summary": "Disable Miniapp Sudo Agent Squad Wallet", "operationId": "disable_miniapp_sudo_agent_squad_wallet_api_miniapp_sudo_agent_squad_wallet_delete_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/agent/update": {"post": {"tags": ["miniapp"], "summary": "Update Miniapp Sudo Agent", "operationId": "update_miniapp_sudo_agent_api_miniapp_sudo_agent_update_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/agent/toggle_status": {"post": {"tags": ["miniapp"], "summary": "Toggle Miniapp Sudo Agent Status", "operationId": "toggle_miniapp_sudo_agent_status_api_miniapp_sudo_agent_toggle_status_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/agent/delete": {"post": {"tags": ["miniapp"], "summary": "Delete Miniapp Sudo Agent", "operationId": "delete_miniapp_sudo_agent_api_miniapp_sudo_agent_delete_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/discounts": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Sudo Discounts", "operationId": "get_miniapp_sudo_discounts_api_miniapp_sudo_discounts_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/discount/create": {"post": {"tags": ["miniapp"], "summary": "Create Miniapp Sudo Discount", "operationId": "create_miniapp_sudo_discount_api_miniapp_sudo_discount_create_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/discount/update": {"post": {"tags": ["miniapp"], "summary": "Update Miniapp Sudo Discount", "operationId": "update_miniapp_sudo_discount_api_miniapp_sudo_discount_update_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/discount/toggle_status": {"post": {"tags": ["miniapp"], "summary": "Toggle Miniapp Sudo Discount Status", "operationId": "toggle_miniapp_sudo_discount_status_api_miniapp_sudo_discount_toggle_status_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/discount/delete": {"post": {"tags": ["miniapp"], "summary": "Delete Miniapp Sudo Discount", "operationId": "delete_miniapp_sudo_discount_api_miniapp_sudo_discount_delete_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/statistics": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Sudo Statistics", "operationId": "get_miniapp_sudo_statistics_api_miniapp_sudo_statistics_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/bulk/options": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Sudo Bulk Options", "operationId": "get_miniapp_sudo_bulk_options_api_miniapp_sudo_bulk_options_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/bulk/sync_squads": {"post": {"tags": ["miniapp"], "summary": "Sync Squads Miniapp Sudo Bulk", "operationId": "sync_squads_miniapp_sudo_bulk_api_miniapp_sudo_bulk_sync_squads_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/bulk/add_squads_to_agents": {"post": {"tags": ["miniapp"], "summary": "Add Squads To Agents Miniapp Sudo Bulk", "operationId": "add_squads_to_agents_miniapp_sudo_bulk_api_miniapp_sudo_bulk_add_squads_to_agents_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/bulk/remove_squads_from_agents": {"post": {"tags": ["miniapp"], "summary": "Remove Squads From Agents Miniapp Sudo Bulk", "operationId": "remove_squads_from_agents_miniapp_sudo_bulk_api_miniapp_sudo_bulk_remove_squads_from_agents_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/bulk/send_message": {"post": {"tags": ["miniapp"], "summary": "Send Message Miniapp Sudo Bulk", "operationId": "send_message_miniapp_sudo_bulk_api_miniapp_sudo_bulk_send_message_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/message_queues": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Sudo Message Queues", "operationId": "get_miniapp_sudo_message_queues_api_miniapp_sudo_message_queues_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/message_queue/action": {"post": {"tags": ["miniapp"], "summary": "Miniapp Sudo Message Queue Action", "operationId": "miniapp_sudo_message_queue_action_api_miniapp_sudo_message_queue_action_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/message_queue/details": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Sudo Message Queue Detail", "operationId": "get_miniapp_sudo_message_queue_detail_api_miniapp_sudo_message_queue_details_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/message_queue/export": {"post": {"tags": ["miniapp"], "summary": "Miniapp Sudo Message Queue Export", "operationId": "miniapp_sudo_message_queue_export_api_miniapp_sudo_message_queue_export_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/overview": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Sudo Overview", "operationId": "get_miniapp_sudo_overview_api_miniapp_sudo_overview_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/taskq/lanes": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Sudo Taskq", "operationId": "get_miniapp_sudo_taskq_api_miniapp_sudo_taskq_lanes_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/taskq/dlq": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Sudo Taskq Dlq", "operationId": "get_miniapp_sudo_taskq_dlq_api_miniapp_sudo_taskq_dlq_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/taskq/action": {"post": {"tags": ["miniapp"], "summary": "Miniapp Sudo Taskq Action", "operationId": "miniapp_sudo_taskq_action_api_miniapp_sudo_taskq_action_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/settings": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Sudo Settings", "operationId": "get_miniapp_sudo_settings_api_miniapp_sudo_settings_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/settings/update": {"post": {"tags": ["miniapp"], "summary": "Update Miniapp Sudo Setting", "operationId": "update_miniapp_sudo_setting_api_miniapp_sudo_settings_update_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/apps": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Sudo Apps", "operationId": "get_miniapp_sudo_apps_api_miniapp_sudo_apps_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/apps/upsert": {"post": {"tags": ["miniapp"], "summary": "Upsert Miniapp Sudo App", "operationId": "upsert_miniapp_sudo_app_api_miniapp_sudo_apps_upsert_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/apps/delete": {"post": {"tags": ["miniapp"], "summary": "Delete Miniapp Sudo App", "operationId": "delete_miniapp_sudo_app_api_miniapp_sudo_apps_delete_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/apps/tutorial/step": {"post": {"tags": ["miniapp"], "summary": "Add Miniapp Sudo App Tutorial Step", "operationId": "add_miniapp_sudo_app_tutorial_step_api_miniapp_sudo_apps_tutorial_step_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/apps/tutorial/upload": {"post": {"tags": ["miniapp"], "summary": "Upload Miniapp Sudo App Tutorial Media", "operationId": "upload_miniapp_sudo_app_tutorial_media_api_miniapp_sudo_apps_tutorial_upload_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/apps/image/upload": {"post": {"tags": ["miniapp"], "summary": "Upload Miniapp Sudo App Image", "operationId": "upload_miniapp_sudo_app_image_api_miniapp_sudo_apps_image_upload_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/apps/image/delete": {"post": {"tags": ["miniapp"], "summary": "Delete Miniapp Sudo App Image", "operationId": "delete_miniapp_sudo_app_image_api_miniapp_sudo_apps_image_delete_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/apps/tutorial/delete_step": {"post": {"tags": ["miniapp"], "summary": "Delete Miniapp Sudo App Tutorial Step", "operationId": "delete_miniapp_sudo_app_tutorial_step_api_miniapp_sudo_apps_tutorial_delete_step_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/crypto_price": {"post": {"tags": ["miniapp"], "summary": "Get Miniapp Sudo Crypto Price", "operationId": "get_miniapp_sudo_crypto_price_api_miniapp_sudo_crypto_price_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/crypto_price/update": {"post": {"tags": ["miniapp"], "summary": "Update Miniapp Sudo Crypto Price", "operationId": "update_miniapp_sudo_crypto_price_api_miniapp_sudo_crypto_price_update_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/account/details": {"post": {"tags": ["miniapp"], "summary": "Get Account Details", "operationId": "get_account_details_api_miniapp_account_details_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/account/usage-history": {"post": {"tags": ["miniapp"], "summary": "Get Account Usage History", "description": "Per-day usage series and depletion forecast.", "operationId": "get_account_usage_history_api_miniapp_account_usage_history_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/account/add-data/quote": {"post": {"tags": ["miniapp"], "summary": "Quote Account Data Addon", "description": "Premium-only: operator bounds and the price for a requested volume.", "operationId": "quote_account_data_addon_api_miniapp_account_add_data_quote_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/account/add-data": {"post": {"tags": ["miniapp"], "summary": "Add Account Data", "description": "Premium-only: buy extra volume mid-cycle without changing the expiry.", "operationId": "add_account_data_api_miniapp_account_add_data_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/account/plan-change/options": {"post": {"tags": ["miniapp"], "summary": "Get Account Plan Change Options", "description": "Premium-only: plans a still-new service may switch to, with the payable difference.", "operationId": "get_account_plan_change_options_api_miniapp_account_plan_change_options_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/account/plan-change": {"post": {"tags": ["miniapp"], "summary": "Apply Account Plan Change", "description": "Premium-only: move a service to another plan mid-period, paying the difference.", "operationId": "apply_account_plan_change_api_miniapp_account_plan_change_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/account/auto-renew": {"post": {"tags": ["miniapp"], "summary": "Set Account Auto Renew", "description": "Premium-only: opt in/out of wallet auto-renew for one account.", "operationId": "set_account_auto_renew_api_miniapp_account_auto_renew_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/account/nickname": {"post": {"tags": ["miniapp"], "summary": "Update Account Nickname", "operationId": "update_account_nickname_api_miniapp_account_nickname_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/account/share-code": {"post": {"tags": ["miniapp"], "summary": "Create Account Share Code", "description": "Mint a one-time code that lends this subscription to another device.", "operationId": "create_account_share_code_api_miniapp_account_share_code_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/account/change_link": {"post": {"tags": ["miniapp"], "summary": "Change Account Link", "operationId": "change_account_link_api_miniapp_account_change_link_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/account/delete": {"post": {"tags": ["miniapp"], "summary": "Delete Account", "operationId": "delete_account_api_miniapp_account_delete_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/account/validate_username": {"post": {"tags": ["miniapp"], "summary": "Validate Username", "description": "Validate username and return suggestions if invalid or already taken.", "operationId": "validate_username_api_miniapp_account_validate_username_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/discount/validate": {"post": {"tags": ["miniapp"], "summary": "Validate Discount", "description": "Validate discount code and return discount percentage.", "operationId": "validate_discount_api_miniapp_discount_validate_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/account/generate_username": {"post": {"tags": ["miniapp"], "summary": "Generate Username", "description": "Generate a random username.", "operationId": "generate_username_api_miniapp_account_generate_username_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/account/purchase": {"post": {"tags": ["miniapp"], "summary": "Create Purchase Invoice", "operationId": "create_purchase_invoice_api_miniapp_account_purchase_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/account/renew": {"post": {"tags": ["miniapp"], "summary": "Create Renew Invoice", "operationId": "create_renew_invoice_api_miniapp_account_renew_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/account/renew/carryover-preview": {"post": {"tags": ["miniapp"], "summary": "Get Renew Carryover Preview", "operationId": "get_renew_carryover_preview_api_miniapp_account_renew_carryover_preview_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/account/test": {"post": {"tags": ["miniapp"], "summary": "Request Test Account", "operationId": "request_test_account_api_miniapp_account_test_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/wallet/invoice": {"post": {"tags": ["miniapp"], "summary": "Create Wallet Invoice", "operationId": "create_wallet_invoice_api_miniapp_wallet_invoice_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/scores/convert": {"post": {"tags": ["miniapp"], "summary": "Convert Scores", "operationId": "convert_scores_api_miniapp_scores_convert_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/invoices": {"post": {"tags": ["miniapp"], "summary": "List Invoices", "operationId": "list_invoices_api_miniapp_invoices_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/invoices/get": {"post": {"tags": ["miniapp"], "summary": "Get Invoice", "operationId": "get_invoice_api_miniapp_invoices_get_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/invoices/cancel": {"post": {"tags": ["miniapp"], "summary": "Cancel Invoice", "operationId": "cancel_invoice_api_miniapp_invoices_cancel_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/invoices/pay": {"post": {"tags": ["miniapp"], "summary": "Pay Invoice", "operationId": "pay_invoice_api_miniapp_invoices_pay_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/invoices/verify-shahanpay": {"post": {"tags": ["miniapp"], "summary": "Verify Shahanpay Invoice", "operationId": "verify_shahanpay_invoice_api_miniapp_invoices_verify_shahanpay_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/invoices/card/upload": {"post": {"tags": ["miniapp"], "summary": "Upload Card Receipt", "operationId": "upload_card_receipt_api_miniapp_invoices_card_upload_post", "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/Body_upload_card_receipt_api_miniapp_invoices_card_upload_post"}}}, "required": true}, "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/api/miniapp/sudo/identity/user": {"post": {"tags": ["sudo-identity"], "summary": "Sudo Identity User", "description": "The web login attached to one customer, for the user detail screen.", "operationId": "sudo_identity_user_api_miniapp_sudo_identity_user_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/identity/sessions/revoke": {"post": {"tags": ["sudo-identity"], "summary": "Sudo Identity Revoke Sessions", "description": "End every web session for one customer.", "operationId": "sudo_identity_revoke_sessions_api_miniapp_sudo_identity_sessions_revoke_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/identity/merges": {"post": {"tags": ["sudo-identity"], "summary": "Sudo Identity Merges", "description": "Merges that were refused and have not since been carried out.", "operationId": "sudo_identity_merges_api_miniapp_sudo_identity_merges_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/identity/merge": {"post": {"tags": ["sudo-identity"], "summary": "Sudo Identity Merge", "description": "Carry out a merge a sudo has reviewed.\n\n``force`` is passed straight through: the whole reason this endpoint exists\nis that the automatic path refused, and refusing again here would leave the\nqueue permanently full.", "operationId": "sudo_identity_merge_api_miniapp_sudo_identity_merge_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/advisories": {"post": {"tags": ["advisories"], "summary": "List Advisories", "description": "Open advisories for this agent, plus the main agent's fleet roll-up.\n\nReturns 200 with ``premium_mode: false`` and no payload rather than 403, so\nthe page can render its \"premium required\" panel instead of an error state.", "operationId": "list_advisories_api_miniapp_sudo_advisories_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/advisories/{advisory_id}/resolve": {"post": {"tags": ["advisories"], "summary": "Resolve Advisory", "operationId": "resolve_advisory_api_miniapp_sudo_advisories__advisory_id__resolve_post", "parameters": [{"name": "advisory_id", "in": "path", "required": true, "schema": {"type": "integer", "title": "Advisory Id"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/api/miniapp/sudo/advisories/read-all": {"post": {"tags": ["advisories"], "summary": "Read All Advisories", "description": "Clear every one-time heads-up at once. Predicate items are left alone.", "operationId": "read_all_advisories_api_miniapp_sudo_advisories_read_all_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/games/summary": {"post": {"tags": ["games"], "summary": "Games Summary", "operationId": "games_summary_api_miniapp_games_summary_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/games/spin": {"post": {"tags": ["games"], "summary": "Games Spin", "operationId": "games_spin_api_miniapp_games_spin_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/games/checkin": {"post": {"tags": ["games"], "summary": "Games Checkin", "operationId": "games_checkin_api_miniapp_games_checkin_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/games/trivia": {"post": {"tags": ["games"], "summary": "Games Trivia", "operationId": "games_trivia_api_miniapp_games_trivia_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/games/trivia/answer": {"post": {"tags": ["games"], "summary": "Games Trivia Answer", "operationId": "games_trivia_answer_api_miniapp_games_trivia_answer_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/games/reaction/start": {"post": {"tags": ["games"], "summary": "Games Reaction Start", "operationId": "games_reaction_start_api_miniapp_games_reaction_start_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/games/reaction/submit": {"post": {"tags": ["games"], "summary": "Games Reaction Submit", "operationId": "games_reaction_submit_api_miniapp_games_reaction_submit_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/games/leaderboard": {"post": {"tags": ["games"], "summary": "Games Leaderboard", "operationId": "games_leaderboard_api_miniapp_games_leaderboard_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/games/egg/claim": {"post": {"tags": ["games"], "summary": "Games Claim Egg", "operationId": "games_claim_egg_api_miniapp_games_egg_claim_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/theme-packs": {"get": {"tags": ["theme-packs"], "summary": "List Theme Packs", "operationId": "list_theme_packs_api_theme_packs_get", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ThemePackListResponse"}}}}}}}, "/api/theme-packs/resolved": {"get": {"tags": ["theme-packs"], "summary": "Resolve Theme Pack", "operationId": "resolve_theme_pack_api_theme_packs_resolved_get", "parameters": [{"name": "preview", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Preview"}}, {"name": "pack", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Pack"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ThemePackPayload"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/api/theme-packs/{key}/style.css": {"get": {"tags": ["theme-packs"], "summary": "Theme Pack Css", "operationId": "theme_pack_css_api_theme_packs__key__style_css_get", "parameters": [{"name": "key", "in": "path", "required": true, "schema": {"type": "string", "title": "Key"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/api/landing/{slug}": {"get": {"tags": ["parity"], "summary": "Public Landing", "operationId": "public_landing_api_landing__slug__get", "parameters": [{"name": "slug", "in": "path", "required": true, "schema": {"type": "string", "title": "Slug"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/api/landing/{slug}/checkout": {"post": {"tags": ["parity"], "summary": "Public Guest Checkout", "operationId": "public_guest_checkout_api_landing__slug__checkout_post", "parameters": [{"name": "slug", "in": "path", "required": true, "schema": {"type": "string", "title": "Slug"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/api/miniapp/commerce/status": {"post": {"tags": ["parity"], "summary": "Commerce Status", "operationId": "commerce_status_api_miniapp_commerce_status_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/gifts": {"post": {"tags": ["parity"], "summary": "List Gifts", "operationId": "list_gifts_api_miniapp_sudo_gifts_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/grace": {"post": {"tags": ["parity"], "summary": "List Grace", "operationId": "list_grace_api_miniapp_sudo_grace_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/dns": {"post": {"tags": ["parity"], "summary": "List Dns", "operationId": "list_dns_api_miniapp_sudo_dns_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/promo-groups": {"post": {"tags": ["parity"], "summary": "List Promo Groups", "operationId": "list_promo_groups_api_miniapp_sudo_promo_groups_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/offers": {"post": {"tags": ["parity"], "summary": "List Offers", "operationId": "list_offers_api_miniapp_sudo_offers_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/partners": {"post": {"tags": ["parity"], "summary": "Partners", "operationId": "partners_api_miniapp_sudo_partners_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/partners/me": {"post": {"tags": ["parity"], "summary": "Partner Me", "operationId": "partner_me_api_miniapp_partners_me_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/partners/recon": {"post": {"tags": ["parity"], "summary": "Partner Recon", "operationId": "partner_recon_api_miniapp_sudo_partners_recon_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/landings": {"post": {"tags": ["parity"], "summary": "List Landings", "operationId": "list_landings_api_miniapp_sudo_landings_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/contests": {"post": {"tags": ["parity"], "summary": "List Contests", "operationId": "list_contests_api_miniapp_sudo_contests_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/contests/{contest_id}/board": {"post": {"tags": ["parity"], "summary": "Contest Board", "operationId": "contest_board_api_miniapp_sudo_contests__contest_id__board_post", "parameters": [{"name": "contest_id", "in": "path", "required": true, "schema": {"type": "integer", "title": "Contest Id"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/api/miniapp/contests": {"post": {"tags": ["parity"], "summary": "Customer Contests", "operationId": "customer_contests_api_miniapp_contests_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/polls": {"post": {"tags": ["parity"], "summary": "List Polls", "operationId": "list_polls_api_miniapp_sudo_polls_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/polls/{poll_id}/results": {"post": {"tags": ["parity"], "summary": "Poll Results", "operationId": "poll_results_api_miniapp_sudo_polls__poll_id__results_post", "parameters": [{"name": "poll_id", "in": "path", "required": true, "schema": {"type": "integer", "title": "Poll Id"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/api/miniapp/polls": {"post": {"tags": ["parity"], "summary": "Customer Polls", "operationId": "customer_polls_api_miniapp_polls_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/cms": {"post": {"tags": ["parity"], "summary": "List Cms", "operationId": "list_cms_api_miniapp_sudo_cms_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/cms": {"post": {"tags": ["parity"], "summary": "Customer Cms", "operationId": "customer_cms_api_miniapp_cms_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/appearance": {"post": {"tags": ["parity"], "summary": "Appearance", "operationId": "appearance_api_miniapp_sudo_appearance_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/appearance": {"post": {"tags": ["parity"], "summary": "Customer Appearance", "operationId": "customer_appearance_api_miniapp_appearance_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/i18n-overrides": {"post": {"tags": ["parity"], "summary": "List Overrides", "operationId": "list_overrides_api_miniapp_sudo_i18n_overrides_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/i18n-overrides": {"post": {"tags": ["parity"], "summary": "Public Overrides", "operationId": "public_overrides_api_miniapp_i18n_overrides_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/payment-search": {"post": {"tags": ["parity"], "summary": "Payment Search", "operationId": "payment_search_api_miniapp_sudo_payment_search_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/payment-search/export": {"post": {"tags": ["parity"], "summary": "Payment Search Export", "operationId": "payment_search_export_api_miniapp_sudo_payment_search_export_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/command-palette": {"post": {"tags": ["parity"], "summary": "Command Palette", "description": "Resolve the same actions as the inline sudo search.", "operationId": "command_palette_api_miniapp_sudo_command_palette_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/saved-filters": {"post": {"tags": ["parity"], "summary": "List Saved Filters", "operationId": "list_saved_filters_api_miniapp_sudo_saved_filters_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/violations": {"post": {"tags": ["parity"], "summary": "List Violations", "operationId": "list_violations_api_miniapp_sudo_violations_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/automations": {"post": {"tags": ["parity"], "summary": "List Automations", "operationId": "list_automations_api_miniapp_sudo_automations_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/automations/timeline": {"post": {"tags": ["parity"], "summary": "Automation Timeline", "operationId": "automation_timeline_api_miniapp_sudo_automations_timeline_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/alerts": {"post": {"tags": ["parity"], "summary": "List Alerts", "operationId": "list_alerts_api_miniapp_sudo_alerts_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/node-agent": {"post": {"tags": ["parity"], "summary": "List Node Agents", "operationId": "list_node_agents_api_miniapp_sudo_node_agent_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/geo-analytics": {"post": {"tags": ["parity"], "summary": "Geo Analytics", "operationId": "geo_analytics_api_miniapp_sudo_geo_analytics_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/promo-groups/create": {"post": {"summary": "Create Promo Group", "operationId": "create_promo_group_api_miniapp_sudo_promo_groups_create_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/promo-groups/member": {"post": {"summary": "Add Promo Member", "operationId": "add_promo_member_api_miniapp_sudo_promo_groups_member_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/offers/create": {"post": {"summary": "Create Offer", "operationId": "create_offer_api_miniapp_sudo_offers_create_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/offers/retire": {"post": {"summary": "Retire Offer", "operationId": "retire_offer_api_miniapp_sudo_offers_retire_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/gifts/batch": {"post": {"summary": "Gift Batch", "operationId": "gift_batch_api_miniapp_sudo_gifts_batch_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/gifts/redeem": {"post": {"summary": "Redeem Gift", "operationId": "redeem_gift_api_miniapp_gifts_redeem_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/partners/apply": {"post": {"summary": "Partner Apply", "operationId": "partner_apply_api_miniapp_partners_apply_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/partners/payout": {"post": {"summary": "Partner Payout", "operationId": "partner_payout_api_miniapp_partners_payout_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/partners/status": {"post": {"summary": "Partner Status", "operationId": "partner_status_api_miniapp_sudo_partners_status_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/partners/recon/accept": {"post": {"summary": "Partner Recon Accept", "operationId": "partner_recon_accept_api_miniapp_sudo_partners_recon_accept_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/feature-flags/set": {"post": {"summary": "Set Feature Flag", "operationId": "set_feature_flag_api_miniapp_sudo_feature_flags_set_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/guide/issue": {"post": {"summary": "Issue Guide", "operationId": "issue_guide_api_miniapp_guide_issue_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/landings/create": {"post": {"summary": "Create Landing", "operationId": "create_landing_api_miniapp_sudo_landings_create_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/landings/enable": {"post": {"summary": "Enable Landing", "operationId": "enable_landing_api_miniapp_sudo_landings_enable_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/grace/open": {"post": {"summary": "Open Grace", "operationId": "open_grace_api_miniapp_sudo_grace_open_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/contests/create": {"post": {"summary": "Create Contest", "operationId": "create_contest_api_miniapp_sudo_contests_create_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/contests/{contest_id}/enter": {"post": {"summary": "Enter Contest", "operationId": "enter_contest_api_miniapp_contests__contest_id__enter_post", "parameters": [{"name": "contest_id", "in": "path", "required": true, "schema": {"type": "integer", "title": "Contest Id"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/api/miniapp/sudo/polls/create": {"post": {"summary": "Create Poll", "operationId": "create_poll_api_miniapp_sudo_polls_create_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/polls/{poll_id}/deliver": {"post": {"summary": "Deliver Poll", "operationId": "deliver_poll_api_miniapp_sudo_polls__poll_id__deliver_post", "parameters": [{"name": "poll_id", "in": "path", "required": true, "schema": {"type": "integer", "title": "Poll Id"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/api/miniapp/polls/{poll_id}/vote": {"post": {"summary": "Vote Poll", "operationId": "vote_poll_api_miniapp_polls__poll_id__vote_post", "parameters": [{"name": "poll_id", "in": "path", "required": true, "schema": {"type": "integer", "title": "Poll Id"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/api/miniapp/sudo/cms/upsert": {"post": {"summary": "Upsert Cms", "operationId": "upsert_cms_api_miniapp_sudo_cms_upsert_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/appearance/save": {"post": {"summary": "Save Appearance", "operationId": "save_appearance_api_miniapp_sudo_appearance_save_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/i18n-overrides/set": {"post": {"summary": "Set Override", "operationId": "set_override_api_miniapp_sudo_i18n_overrides_set_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/broadcasts/create": {"post": {"summary": "Create Broadcast", "operationId": "create_broadcast_api_miniapp_sudo_broadcasts_create_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/saved-filters/save": {"post": {"summary": "Save Filter", "operationId": "save_filter_api_miniapp_sudo_saved_filters_save_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/violations/action": {"post": {"summary": "Violation Action", "operationId": "violation_action_api_miniapp_sudo_violations_action_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/automations/upsert": {"post": {"summary": "Upsert Automation", "operationId": "upsert_automation_api_miniapp_sudo_automations_upsert_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/automations/run": {"post": {"summary": "Run Automation", "operationId": "run_automation_api_miniapp_sudo_automations_run_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/alerts/upsert": {"post": {"summary": "Upsert Alert", "operationId": "upsert_alert_api_miniapp_sudo_alerts_upsert_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/node-agent/issue": {"post": {"summary": "Issue Node Agent", "operationId": "issue_node_agent_api_miniapp_sudo_node_agent_issue_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/node-agent/exec": {"post": {"summary": "Exec Node Command", "operationId": "exec_node_command_api_miniapp_sudo_node_agent_exec_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/miniapp/sudo/dns/lookup": {"post": {"summary": "Dns Lookup", "operationId": "dns_lookup_api_miniapp_sudo_dns_lookup_post", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/version": {"get": {"tags": ["system"], "summary": "Get Version", "description": "Get application version.", "operationId": "get_version_api_version_get", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/agent": {"get": {"tags": ["system"], "summary": "Get Agent Info", "description": "Get agent information for the landing page.", "operationId": "get_agent_info_api_agent_get", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/api/webapp/accounts": {"get": {"tags": ["system"], "summary": "Get User Accounts", "description": "Get user accounts with authentication.", "operationId": "get_user_accounts_api_webapp_accounts_get", "parameters": [{"name": "auth", "in": "query", "required": true, "schema": {"type": "string", "title": "Auth"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/": {"get": {"tags": ["system"], "summary": "Read Root", "description": "Serve React app root (or public home page).", "operationId": "read_root__get", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}, "head": {"tags": ["system"], "summary": "Read Root Head", "description": "Allow health checks and crawlers to probe the public home page.", "operationId": "read_root_head__head", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/{full_path}": {"get": {"tags": ["system"], "summary": "Catch All", "description": "SPA catch-all for React Router routes.\nMust be the LAST route registered in the application.", "operationId": "catch_all__full_path__get", "parameters": [{"name": "full_path", "in": "path", "required": true, "schema": {"type": "string", "title": "Full Path"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}}, "components": {"schemas": {"Body_upload_card_receipt_api_miniapp_invoices_card_upload_post": {"properties": {"initData": {"type": "string", "title": "Initdata"}, "invoice_id": {"type": "string", "title": "Invoice Id"}, "gateway_id": {"type": "string", "title": "Gateway Id"}, "file": {"anyOf": [{"type": "string", "contentMediaType": "application/octet-stream"}, {"type": "null"}], "title": "File"}, "receipt": {"anyOf": [{"type": "string", "contentMediaType": "application/octet-stream"}, {"type": "null"}], "title": "Receipt"}}, "type": "object", "required": ["initData", "invoice_id", "gateway_id"], "title": "Body_upload_card_receipt_api_miniapp_invoices_card_upload_post"}, "HTTPValidationError": {"properties": {"detail": {"items": {"$ref": "#/components/schemas/ValidationError"}, "type": "array", "title": "Detail"}}, "type": "object", "title": "HTTPValidationError"}, "PaymentCallback": {"properties": {"UniqueCode": {"type": "string", "title": "Uniquecode", "description": "Unique code for each payment"}, "PaymentID": {"type": "string", "title": "Paymentid", "description": "Payment ID from your application"}, "UserTelegramId": {"type": "integer", "title": "Usertelegramid", "description": "Telegram user ID of the payer"}, "Wallet": {"type": "string", "title": "Wallet", "description": "Wallet address that received the payment"}, "Hash": {"type": "string", "title": "Hash", "description": "Transaction hash for verification"}, "TronAmount": {"type": "number", "title": "Tronamount", "description": "TRON actually delivered to us (post-wage, post-adjustment)"}, "ActualTronAmount": {"anyOf": [{"type": "number"}, {"type": "null"}], "title": "Actualtronamount", "description": "TRON the order was originally opened for, before any adjustment"}, "TomanAmountWithoutWage": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Tomanamountwithoutwage", "description": "Toman value of the TRON delivered to us, excluding the wage (v5)"}, "UserPaidTomanAmount": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Userpaidtomanamount", "description": "Toman the customer actually paid, including the wage (v5)"}, "OrderStatusID": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Orderstatusid", "description": "Numeric order status (30 = accepted)"}, "OrderStatusTitle": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Orderstatustitle", "description": "Persian status title; display only"}, "IsPaid": {"type": "boolean", "title": "Ispaid", "description": "Payment status"}, "PaymentDate": {"type": "string", "format": "date-time", "title": "Paymentdate", "description": "Payment timestamp"}}, "type": "object", "required": ["UniqueCode", "PaymentID", "UserTelegramId", "Wallet", "Hash", "TronAmount", "IsPaid", "PaymentDate"], "title": "PaymentCallback", "description": "Callback model for payment notifications.\n\nTronado sends one callback per order *status change*, not only on success \u2014\nso ``IsPaid``/``OrderStatusID`` decide whether there is anything to do, and\nanything well-formed must still be acknowledged with a 2xx or it is retried."}, "ThemePackListResponse": {"properties": {"premium_mode": {"type": "boolean", "title": "Premium Mode"}, "packs": {"items": {"$ref": "#/components/schemas/ThemePackPayload"}, "type": "array", "title": "Packs"}}, "additionalProperties": false, "type": "object", "required": ["premium_mode", "packs"], "title": "ThemePackListResponse", "description": "Catalogue listing. Non-premium bots only see the built-in dark pack."}, "ThemePackPayload": {"properties": {"key": {"type": "string", "title": "Key"}, "names": {"additionalProperties": {"type": "string"}, "type": "object", "title": "Names"}, "enabled": {"type": "boolean", "title": "Enabled"}, "default": {"type": "boolean", "title": "Default"}, "use_primary_accent": {"type": "boolean", "title": "Use Primary Accent"}, "use_in_admin": {"type": "boolean", "title": "Use In Admin"}, "tokens": {"additionalProperties": {"type": "string"}, "type": "object", "title": "Tokens"}, "has_style": {"type": "boolean", "title": "Has Style"}, "premium_mode": {"type": "boolean", "title": "Premium Mode"}}, "additionalProperties": false, "type": "object", "required": ["key", "enabled", "default", "use_primary_accent", "use_in_admin", "has_style", "premium_mode"], "title": "ThemePackPayload", "description": "One sanitised pack as the client receives it."}, "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"}}}}