1Panel Documentation

1Panel is a modern, open-source Linux server management panel and a lightweight AI management platform.

RAW Doc

Docker & Self-Hosted Deployment Verified OCI

Deploy 1Panel on any server, homelab, or cloud container platform.

1-Click Terminal Command
bash (docker run)
docker run -d --name 1panel --restart always supercorp/supergateway:latest
Configured Services & Ports
⚙️ mcp-server
image: supercorp/supergateway:latest
🔌 Ports: ${HOST_IP}:${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}
docker-compose.yml
yaml (docker-compose.yml)
services:
  mcp-server:
    image: supercorp/supergateway:latest
    container_name: ${CONTAINER_NAME}
    restart: unless-stopped
    ports:
      - "${HOST_IP}:${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}"
    command: [
      "--stdio", "${COMMAND}",
      "--outputTransport","${OUTPUT_TRANSPORT}",
      "--port", "${PANEL_APP_PORT_HTTP}",
      "--baseUrl", "${BASE_URL}",
      "--ssePath", "${SSE_PATH}",
      "--streamableHttpPath", "${STREAMABLE_HTTP_PATH}",
      "--messagePath", "${SSE_PATH}/messages"
    ]
    networks:
      - 1panel-network
networks:
  1panel-network:
    external: true

Technical Documentation: 1Panel-dev/1Panel

ℹ️ Provenance: Multi-Tier Ingestion · CodeWiki Reference

Overview (`README.md`)


What is 1Panel?

1Panel is a modern, open-source Linux server management panel and a lightweight AI management platform. Through an intuitive web interface, it provides users with comprehensive, one-stop server management capabilities:

  • AI Management: Offers a unified management platform from bare metal to agents (Metal-to-Agent). It integrates an AI gateway, and Skills Hub, while supporting centralized management of agents and models.
  • Efficient Visual Operations: Easily manage Linux servers through a web-based GUI, streamlining tasks such as host monitoring, file management, database management, and container management.
  • Rapid Website Deployment: Deeply integrates with popular website builders like WordPress and Halo. It enables one-click domain binding and SSL certificate configuration, significantly lowering the barrier to website creation.
  • Curated App Store: Features a built-in store of high-quality open-source applications, providing one-click installation and upgrade services to effortlessly extend server capabilities.
  • Enterprise-Grade Security: Deploys applications based on container technology to effectively minimize vulnerability exposure. It also provides security features such as WAF and log auditing to ensure comprehensive server protection.
  • One-Click Data Backup: Supports one-click backup and restoration, and integrates with various cloud storage solutions to ensure data security and prevent loss.

Why 1Panel?

1Panel cPanel / Plesk aaPanel Webmin
Free & open source ✅ ❌ Partial ✅
AI management ✅ ❌ ❌ ❌
One-click app marketplace ✅ 165+ apps ❌ ✅ ❌
Modern UI (post-2020) ✅ ❌ Partial ❌
Docker / container management ✅ ❌ ❌ ❌
Active development ✅ ✅ ✅ Slow

Quick Start

Prepare your Linux server and run the following script:

bash
bash -c "$(curl -sSL https://resource.1panel.pro/v2/quick_start.sh)"

After installation, open http://<your-server-ip>:/<security-path> in your browser.
Run 1pctl user-info via SSH if you need to retrieve your access credentials.

Screenshot

Pro Edition

1Panel OSS is free forever. 1Panel Pro and Ent adds features built for teams and production workloads:

Feature OSS Pro Ent
One-click app installs ✅ ✅ ✅
AI agents (OpenClaw) 5 agent Unlimited ✅
WAF & advanced security Basic ✅ ✅
Website tamper protection ❌ ✅ ✅
Website uptime monitoring ❌ ✅ ✅
Multi-node management ❌ ✅ ✅
Custom logo & theme ❌ ✅ ✅
KVM Web UI ❌ ❌ ✅
AI Gateway ❌ ❌ ✅
Priority support ❌ ❌ ✅

Community & Support

Security

Found a vulnerability? Please read SECURITY.md before disclosing.

License

Licensed under the GNU General Public License v3.0.


Overview (`scripts/openresty-modules/README.md`)

OpenResty Dynamic Module Diagnostics

This script collects diagnostics from an installed 1Panel OpenResty instance.

Requirements

  • Bash 4.3 or newer
  • Docker Engine with the Compose v2 plugin
  • jq, python3, file, binutils, tar, and GNU coreutils

On Debian or Ubuntu:

bash
sudo apt-get update
sudo apt-get install -y jq python3 file binutils tar

Make the scripts executable:

bash
chmod +x scripts/openresty-modules/*.sh

Installed Instance Diagnostics

Find the OpenResty installation directory first. A common path is similar to:

text
/opt/1panel/apps/openresty/openresty

Run the diagnostic collector:

bash
./scripts/openresty-modules/diagnose-install.sh \
  /opt/1panel/apps/openresty/openresty

Override container discovery when needed:

bash
./scripts/openresty-modules/diagnose-install.sh \
  /opt/1panel/apps/openresty/openresty \
  --container 1Panel-openresty

The collector checks:

  • module.json artifact paths and SHA-256 checksums
  • managed load_module files and host/container path mapping
  • read-only Compose mounts
  • current container image ID versus enabled module target image IDs
  • container state, Nginx build options, nginx -t, loaded module directives,
    module checksums inside the container, ldd, and recent logs

The default report does not retain full nginx -T output. Use
--full-config only on a test host because the resulting archive may contain
credentials or private site configuration.

Module scripts are redacted from the copied state files by default. Container
logs and error strings can still contain site names, URLs, or command output;
review an archive before sharing it outside your team.

Do not edit generated module state or managed config files while a 1Panel app
task is running. Review the diagnostic archive before sharing it.


README.Ar (`docs/README.ar.md`)


1Panel هي لوحة تحكم وتشغيل وتصيان خادمات Linux من الجيل الجديد.

  • الإدارة الفعالة: من خلال واجهة رسومية ويب مستخدمة بسهولة، يتيح 1Panel للمستخدمين إدارة خادمات Linux الخاصة بهم بلا عناء. وتشمل الميزات الرئيسية مراقبة المضيفات، وإدارة الملفات، وإدارة قواعد البيانات، وإدارة الحاويات.
  • استعراض المواقع على الإنترنت بسرعة: بفضل التكامل العميق مع برنامج WordPress الشهير لبناء المواقع عبر الإنترنت المفتوح المصدر، يعمل 1Panel على تبسيط عملية ربطドومين (المجال) وتكوين شهادات SSL، وكل ذلك يمكن تحقيقه بضغطة زر واحدة.
  • مخزن التطبيقات: يقوم 1Panel بترتيب مجموعة واسعة من الأدوات والتطبيقات المفتوحة المصدر عالية الجودة، مما يسهل عملية التثبيت والتحديثات لاستخدميه.
  • الأمن والاستقرار: من خلال الاستفادة من الحاويات وممارسات استقرارية لتوزيع التطبيقات الآمنة، يعمل 1Panel على تقليل تغيرات الحساسية. كما يعزز الأمن بشكل أكبر من خلال إمكانيات إدارة الحماية الحائط والتدقيق في السجلات.
  • نسخ واحتياطي و استعادة بضغطة زر واحدة: حماية البيانات أصبحت بسيطة بفضل وظيفة النسخ واحتياطي واستعادة بضغطة زر واحدة في 1Panel، والتي تدعم حلول تخزين سحابية مختلفة لضمان سلامة البيانات وسهولة الوصول إليها.

بداية سريعة

أعد تشغيل البرنامج النصي أدناه واتبع التعليمات التي تظهر لتثبيت 1Panel:

bash
curl -sSL https://resource.1panel.pro/quick_start.sh -o quick_start.sh && bash quick_start.sh

يرجى الرجوع إلى مستنداتنا هنا لمزيد من التفاصيل.

مقاطع شاشة

تاريخ النجوم

معلومات أمنية

إذا اكتشفت أي مشاكل أمنية، يرجى الاتصال بنا عبر: [email protected].

رخصة

مخول بموجب الرخصة العامة العامة لغنو GPLv3 (الرخصة العامة العامة لغنو GPLv3) (هذه "الرخصة")؛ لن تتمكن من استخدام هذا الملف إلا إذا اتبعت الرخصة. يمكنك الحصول على نسخة من الرخصة من
https://www.gnu.org/licenses/gpl-3.0.html

ما لم يكن ذلك مطلوبًا بموجب القانون المعمول به أو لم يتم الاتفاق عليه كتابيًا، يتم توزيع البرنامج الموزع بموجب الرخصة على أساس "كما هو"، بلا أي نوع من الضمانات أو الشروط، سواء كانت صريحة أو ضمنية. راجع الرخصة للحصول على اللغة المحددة التي تحكم الصلاحيات والقيود بموجب الرخصة.


README.De (`docs/README.de.md`)


1Panel ist ein modernes und quelloffenes Web-basiertes Steuerungsfeld zur Verwaltung von Linux-Servern.

  • Effiziente Verwaltung: Über eine benutzerfreundliche grafische Web-Schnittstelle ermöglicht 1Panel es Benutzern, ihre Linux-Server mühelos zu verwalten. Zu seinen Hauptfunktionen gehören die Überwachung des Hosts, die Dateiverwaltung, die Datenbankadministration und die Containerverwaltung.
  • Schnelle Website-Bereitstellung: Durch die tiefe Integration des beliebten quelloffenen Website-Erstellungstools WordPress vereinfacht 1Panel den Prozess der Domainbindung und der SSL-Zertifikatskonfiguration, und alles kann mit nur einem Klick erreicht werden.
  • App-Store: 1Panel bietet eine Vielzahl hochwertiger quelloffener Tools und Anwendungen an und erleichtert die Installation und Aktualisierung für seine Benutzer.
  • Sicherheit und Zuverlässigkeit: Durch die Nutzung von Containerisierungstechnologie und sicheren Anwendungsbereitstellungspraktiken minimiert 1Panel die Angriffsfläche für Schwachstellen. Die Sicherheit wird durch integriertes Firewall-Management und Audit-Log-Funktionen weiter erhöht.
  • Ein-Klick-Sicherung und -Wiederherstellung: Der Datenschutz wird durch die Ein-Klick-Sicherungs- und -Wiederherstellungsfunktionen von 1Panel vereinfacht und unterstützt verschiedene Cloud-Speicherlösungen, um die Integrität und Verfügbarkeit der Daten zu gewährleisten.

Schneller Startleitfaden

Führen Sie das folgende Skript aus und befolgen Sie die Anweisungen, um 1Panel zu installieren:

bash
curl -sSL https://resource.1panel.pro/quick_start.sh -o quick_start.sh && bash quick_start.sh

Bitte verweisen Sie auf unsere Dokumentation für weitere Informationen.

Bildschirmfoto

Sternverlauf

Sicherheitsinformationen

Wenn Sie irgendwelche Sicherheitsprobleme entdecken, kontaktieren Sie uns bitte über: [email protected].

Lizenz

Lizenziert unter der GNU General Public License Version 3 (GPLv3) (die „Lizenz“); Sie dürfen diese Datei nur in Übereinstimmung mit der Lizenz verwenden. Sie können eine Kopie der Lizenz unter

https://www.gnu.org/licenses/gpl-3.0.html erhalten.

Sofern nicht durch anwendbares Recht vorgeschrieben oder schriftlich vereinbart, wird die unter der Lizenz verbreitete Software „AS IS“ ohne jegliche Arten von Garantien oder Bedingungen verteilt, sei es ausdrücklich oder stillschweigend. Siehe die Lizenz für die spezifische Sprache, die die Rechte und Einschränkungen unter der Lizenz regelt.


README.Es Es (`docs/README.es-es.md`)


1Panel es un panel de control moderno y de código abierto basado en web para la gestión de servidores Linux.

  • Gestión eficiente: los usuarios pueden gestionar fácilmente servidores Linux a través de una interfaz web, como monitorización de hosts, gestión de archivos, gestión de bases de datos, gestión de contenedores, entre otros;
  • Creación rápida de sitios web: integración profunda con el software de creación de sitios web de código abierto WordPress y Halo, operaciones como vinculación de dominios y configuración de certificados SSL se realizan con un solo clic;
  • Tienda de aplicaciones: selección de diversas herramientas y software de código abierto de alta calidad, ayudando a los usuarios a instalar y actualizar fácilmente;
  • Seguro y confiable: basado en la gestión de contenedores y el despliegue de aplicaciones, se logra la mínima exposición a vulnerabilidades, al tiempo que se ofrecen funciones como protección contra virus, cortafuegos y auditoría de registros;
  • Copia de seguridad con un clic: soporta copias de seguridad y restauraciones con un clic, los usuarios pueden respaldar datos en diversos medios de almacenamiento en la nube, asegurando que nunca se pierdan.

Inicio Rápido

Ejecute el siguiente script y siga las indicaciones para instalar 1Panel:

bash
curl -sSL https://resource.1panel.pro/quick_start.sh -o quick_start.sh && bash quick_start.sh

Por favor, consulte nuestra documentación para más detalles.

Captura de Pantalla

Historial de Estrellas

Información de Seguridad

Si descubre algún problema de seguridad, contáctenos a través de: [email protected].

Licencia

Licenciado bajo la Licencia Pública General GNU versión 3 (GPLv3) (la "Licencia"); no puede usar este archivo excepto en cumplimiento con la Licencia. Puede obtener una copia de la Licencia en

https://www.gnu.org/licenses/gpl-3.0.html

A menos que lo exija la ley aplicable o se acuerde por escrito, el software distribuido bajo la Licencia se distribuye en una BASE "TAL CUAL", SIN GARANTÍAS O CONDICIONES DE NINGÚN TIPO, ya sean expresas o implícitas. Consulte la Licencia para el lenguaje específico que rige los permisos y limitaciones bajo la Licencia.


README.Fa (`docs/README.fa.md`)

پنل کنترل سرور مجازی متن‌باز با پشتیبانی بومی از عامل‌های هوش مصنوعی


1Panel چیست؟

1Panel یک پنل کنترل سرور مجازی مدرن و متن‌باز است — و تنها پنلی که پشتیبانی بومی از عامل‌های هوش مصنوعی دارد. مدل‌های Ollama را اجرا کنید، عامل‌های شخصی OpenClaw را مستقر کنید و کل مجموعه سرور خود را از یک رابط وب تمیز مدیریت کنید. بدون نیاز به حفظ کردن دستورات CLI.

👉 ویدیوی معرفی ۲ دقیقه‌ای را تماشا کنید

چرا 1Panel؟

1Panel cPanel / Plesk aaPanel Webmin
رایگان و متن‌باز ✅ ❌ جزئی ✅
محیط اجرای بومی عامل هوش مصنوعی ✅ ❌ ❌ ❌
بازارچه برنامه‌های یک‌کلیکی ✅ ۱۶۵+ برنامه ❌ ✅ ❌
رابط کاربری مدرن (پس از ۲۰۲۰) ✅ ❌ جزئی ❌
مدیریت Docker / کانتینر ✅ ❌ ❌ ❌
توسعه فعال ✅ ✅ ✅ کند

ویژگی‌های کلیدی

  • محیط اجرای عامل هوش مصنوعی: مدل‌های LLM Ollama را مستقر کنید، عامل‌های شخصی OpenClaw را راه‌اندازی کنید و مصرف GPU را نظارت کنید — همه از داخل داشبورد. بدون نیاز به مدیریت پشته هوش مصنوعی جداگانه.
  • استقرار یک‌کلیکی وب‌سایت: وب‌سایت‌های آماده تولید را با اتصال خودکار دامنه، تأمین گواهی SSL و پیکربندی Nginx راه‌اندازی کنید — بدون تنظیمات دستی.
  • بازارچه برنامه: ۱۶۵+ برنامه متن‌باز معتبر (Nextcloud، Bitwarden، Umami، NocoBase و موارد دیگر) که با یک کلیک نصب و به‌روزرسانی می‌شوند.
  • مدیریت Docker و کانتینر: کانتینرها، تصاویر، شبکه‌ها و حجم‌ها را از طریق رابط کاربری بصری ایجاد، شروع، متوقف و بررسی کنید — بدون نیاز به کار با CLI.
  • امنیت از ابتدا: قوانین دیواره آتش، fail2ban، ایزوله‌سازی کانتینر، WAF و لاگ‌های حسابرسی — از روز اول پیکربندی و فعال هستند.
  • پشتیبان‌گیری و بازیابی: پشتیبان‌گیری خودکار را به AWS S3، Cloudflare R2 یا ذخیره‌سازی محلی زمان‌بندی کنید. هر تصویر لحظه‌ای را با یک کلیک بازیابی کنید.

شروع سریع

نیازمندی‌ها: سرور مجازی لینوکس (Debian / Ubuntu / CentOS / Rocky)، ۱ گیگابایت رم، دسترسی به اینترنت.
حدود ۶۰ ثانیه زمان می‌برد.

bash
bash -c "$(curl -sSL https://resource.1panel.pro/v2/quick_start.sh)"

پس از نصب، http://<your-server-ip>:/<security-path> را در مرورگر خود باز کنید.
در صورت نیاز به دریافت اطلاعات ورود، دستور 1pctl user-info را از طریق SSH اجرا کنید.

تصویر صفحه

نسخه حرفه‌ای

1Panel OSS برای همیشه رایگان است. نسخه Pro ویژگی‌هایی را اضافه می‌کند که برای تیم‌ها و بارهای تولیدی طراحی شده‌اند:

ویژگی OSS Pro
نصب یک‌کلیکی برنامه ✅ ✅
عامل‌های هوش مصنوعی (OpenClaw) ۱ عامل نامحدود
WAF و امنیت پیشرفته پایه ✅
محافظت در برابر دستکاری وب‌سایت ❌ ✅
نظارت بر در دسترس بودن وب‌سایت ❌ ✅
مدیریت چند گره ❌ ✅
لوگو و تم سفارشی ❌ ✅
پشتیبانی اولویت‌دار ❌ ✅

از ۸۰ دلار در سال. مقایسه طرح‌ها و شروع دوره آزمایشی ۳۰ روزه رایگان →

تاریخچه ستاره

انجمن و پشتیبانی

امنیت

آسیب‌پذیری پیدا کردید؟ لطفاً قبل از افشا، SECURITY.md را مطالعه کنید.

مجوز

تحت مجوز GNU General Public License v3.0 مجوز دارد.


README.Fr (`docs/README.fr.md`)


1Panel est un panneau de contrôle basé sur le web, moderne et open source, destiné à la gestion de serveurs Linux.

  • Gestion efficace: Grâce à une interface graphique web conviviale, 1Panel permet aux utilisateurs de gérer facilement leurs serveurs Linux. Ses principales fonctionnalités comprennent la surveillance des hôtes, la gestion des fichiers, l'administration des bases de données et la gestion des conteneurs.
  • Déploiement rapide de sites web: Avec une intégration approfondie du logiciel de création de sites Web open-source populaire WordPress, 1Panel simplifie le processus de liaison de domaine et de configuration du certificat SSL, tout cela pouvant être réalisé en un seul clic.
  • Boutique d'applications: 1Panel propose une variété d'outils et d'applications open-source de haute qualité, facilitant l'installation et la mise à jour pour les utilisateurs.
  • Sécurité et fiabilité: En tirant parti de la technologie de conteneurisation et des pratiques de déploiement d'applications sécurisées, 1Panel minimise l'exposition aux vulnérabilités. La sécurité est davantage renforcée via la gestion du pare-feu intégré et la capacité d'audit des journaux.
  • Sauvegarde et restauration en un clic: La protection des données est simplifiée grâce à la fonction de sauvegarde et de restauration en un clic de 1Panel, qui prend en charge diverses solutions de stockage cloud pour garantir l'intégrité et la disponibilité des données.

Guide de démarrage rapide

Exécutez le script ci-dessous et suivez les instructions pour installer 1Panel :

bash
curl -sSL https://resource.1panel.pro/quick_start.sh -o quick_start.sh && bash quick_start.sh

Veuillez vous référer à notre documentation pour plus d'informations.

Capture d'écran

Histoire des étoiles

Informations de sécurité

Si vous découvrez un quelconque problème de sécurité, veuillez nous contacter via : [email protected].

Licence

Ce logiciel est sous licence GNU General Public License version 3 (GPLv3) (la « Licence ») ; vous ne pouvez utiliser ce fichier que conformément à la Licence. Vous pouvez obtenir une copie de la Licence à l'adresse suivante :

https://www.gnu.org/licenses/gpl-3.0.html

Sauf si exigé par la loi en vigueur ou convenu par écrit, le logiciel distribué sous la Licence est distribué « tel quel », SANS GARANTIE D'AUCUNE SORTE, expresse ou implicite, et sans aucune condition. Consultez la Licence pour les termes spécifiques régissant les autorisations et les limitations prévues par la Licence.


README.Id (`docs/README.id.md`)


1Panel adalah panel kontrol berbasis web yang modern dan open-source untuk manajemen server Linux.

  • Manajemen Efisien: Melalui antarmuka grafis web yang ramah pengguna, 1Panel memungkinkan pengguna mengelola server Linux mereka dengan mudah. Fitur utamanya mencakup pemantauan host, manajemen file, administrasi database, dan manajemen kontainer.
  • Penyebaran Situs Web Cepat: Dengan integrasi mendalam perangkat lunak pembuatan situs web open-source populer WordPress, 1Panel menyederhanakan proses pengikatan domain dan konfigurasi sertifikat SSL, semuanya dapat dicapai hanya dengan satu klik.
  • Toko Aplikasi: 1Panel menyediakan berbagai macam alat dan aplikasi open-source berkualitas tinggi, memudahkan instalasi dan pembaruan bagi penggunanya.
  • Keamanan dan Keandalan: Dengan memanfaatkan teknologi kontainerisasi dan praktik penyebaran aplikasi aman, 1Panel meminimalkan paparan kerentanan. Keamanan lebih ditingkatkan melalui manajemen firewall terintegrasi dan kemampuan audit log.
  • Cadangan & Pulih Satu Klik: Perlindungan data menjadi sederhana dengan fungsi cadangan dan pulih satu klik dari 1Panel, mendukung berbagai solusi penyimpanan cloud untuk memastikan integritas dan ketersediaan data.

Panduan Cepat Memulai

Jalankan skrip di bawah ini dan ikuti petunjuk untuk menginstal 1Panel:

bash
curl -sSL https://resource.1panel.pro/quick_start.sh -o quick_start.sh && bash quick_start.sh

Silakan merujuk ke dokumentasi kami untuk informasi lebih lanjut.

Tangkapan Layar

Star History

Informasi Keamanan

Jika Anda menemukan masalah keamanan apa pun, silakan hubungi kami melalui: [email protected].

License

Dilindungi di bawah Lisensi GNU General Public License versi 3 (GPLv3) (selanjutnya disebut “Lisensi”); Anda tidak diperbolehkan menggunakan file ini kecuali sesuai dengan ketentuan Lisensi. Anda dapat memperoleh salinan Lisensi di

https://www.gnu.org/licenses/gpl-3.0.html

Kecuali diwajibkan oleh hukum yang berlaku atau disetujui secara tertulis, perangkat lunak yang didistribusikan berdasarkan Lisensi ini disediakan “APA ADANYA” TANPA JAMINAN APAPUN, baik tersurat maupun tersirat. Lihat Lisensi untuk informasi lebih lanjut mengenai hak dan batasan dalam Lisensi ini.


README.Ja (`docs/README.ja.md`)


1Panel はモダンでオープンソースの Linux サーバー操作と管理パネルです:

  • 効率的管理:ユーザーは、Web グラフィカルインターフェースを使用して、Linux サーバーを簡単に管理し、ホストの監視、ファイル管理、データベース管理、コンテナ管理などの機能を実現できます。
  • 迅速なウェブサイト構築:オープンソースのウェブサイト構築ソフトウェアであるWordPressとHaloを深く統合し、ドメインのバインディング、SSL 証明書の設定などをワンクリックで完了します。
  • アプリストア:さまざまな高品質のオープンソースツールやアプリケーションソフトウェアを厳選して提供し、ユーザーが簡単にインストールおよびアップグレードできるよう支援します。
  • 安全性と信頼性:コンテナの管理とアプリケーションのデプロイに基づいて、最小限の脆弱性露出面を実現し、同時にファイアウォールやログ監査などの機能を提供します。
  • ワンクリックバックアップ:ワンクリックでバックアップと復元をサポートし、ユーザーはデータをさまざまなクラウドストレージメディアにバックアップし、永久に失うことはありません。

クイックスタート

ワンクリックで 1Panel をインストールするには、次のコマンドを実行します:

sh
curl -sSL https://resource.1panel.pro/quick_start.sh -o quick_start.sh && bash quick_start.sh

UI ディスプレイ

Star History

セキュリティ情報

セキュリティの問題を発見した場合は、以下の方法でご連絡ください:[email protected]。

License

このファイルは、GNU General Public License バージョン 3 (GPLv3)(以下「ライセンス」)の下でライセンスされています。ライセンスに従わない限り、このファイルを使用することはできません。ライセンスのコピーは以下で取得できます。

https://www.gnu.org/licenses/gpl-3.0.html

適用法により要求される場合、または書面で同意される場合を除き、ライセンスの下で配布されるソフトウェアは「現状のまま(AS IS)」で提供され、いかなる種類の保証もありません。ライセンスにおける特定の権利および制限については、ライセンスを参照してください。


README.Ko (`docs/README.ko.md`)


1Panel은 리눅스 서버 관리를 위한 오픈 소스 현대 웹 기반 제어판입니다.

  • 효율적인 관리: 사용자 친화적인 웹 그래픽 인터페이스를 통해 1Panel은 사용자가 리눅스 서버를 손쉽게 관리할 수 있도록 합니다. 주요 기능으로는 호스트 모니터링, 파일 관리, 데이터베이스 관리 및 컨테이너 관리가 포함됩니다.
  • 신속한 웹사이트 배포: 인기 있는 오픈 소스 웹사이트 빌딩 소프트웨어인 WordPress와의 깊은 통합을 통해 1Panel은 도메인 바인딩 및 SSL 인증서 구성을 단 한 번의 클릭으로 간소화합니다.
  • 애플리케이션 스토어: 1Panel은 다양한 고품질 오픈 소스 도구 및 애플리케이션을 선별하여 사용자가 쉽게 설치하고 업데이트할 수 있도록 합니다.
  • 보안 및 신뢰성: 컨테이너화 및 안전한 애플리케이션 배포 관행을 활용하여 1Panel은 취약점 노출을 최소화합니다. 또한 통합 방화벽 관리 및 로그 감사 기능을 통해 보안을 강화합니다.
  • 원클릭 백업 및 복원: 1Panel의 원클릭 백업 및 복원 기능을 통해 데이터 보호가 간편해지며, 다양한 클라우드 스토리지 솔루션을 지원하여 데이터 무결성과 가용성을 보장합니다.

빠른 시작

아래 스크립트를 실행하고 프롬프트에 따라 1Panel을 설치하세요:

bash
curl -sSL https://resource.1panel.pro/quick_start.sh -o quick_start.sh && bash quick_start.sh

자세한 내용은 문서를 참조하세요.

스크린샷

스타 히스토리

보안 정보

보안 문제를 발견하신 경우, 다음을 통해 저희에게 연락해 주시기 바랍니다: [email protected].

라이센스

GNU 일반 공공 라이센스 버전 3(GPLv3) (이하 "라이센스")에 따라 이 파일을 사용할 수 있으며, 라이센스를 준수하지 않는 한 이 파일을 사용할 수 없습니다. 라이센스의 사본은 다음에서 얻을 수 있습니다.

https://www.gnu.org/licenses/gpl-3.0.html

적용 가능한 법률에 따라 요구되거나 서면으로 동의하지 않는 한, 라이센스에 따라 배포된 소프트웨어는 "있는 그대로" 제공되며, 명시적이거나 묵시적인 보증이나 조건이 없습니다. 라이센스에 따라 권한 및 제한 사항을 규정하는 특정 언어를 참조하십시오.


README.Lo (`docs/README.lo.md`)

ແຜງຄວບຄຸມ VPS ແບບໂອເພນຊອດ ພ້ອມການຮອງຮັບເອເຈນ AI ໃນຕົວ


1Panel ແມ່ນຫຍັງ?

1Panel ແມ່ນແຜງຄວບຄຸມ VPS ທີ່ທັນສະໄໝ ແລະ ເປັນໂອເພນຊອດ — ພ້ອມທັງເປັນແຜງດຽວທີ່ມີ ການຮອງຮັບເອເຈນ AI ໃນຕົວ. ທ່ານສາມາດໃຊ້ງານໂມເດວ Ollama, ນຳໃຊ້ເອເຈນສ່ວນຕົວ OpenClaw ແລະ ຈັດການລະບົບເຊີບເວີທັງໝົດຜ່ານໜ້າເວັບທີ່ສະອາດຕາ. ບໍ່ຕ້ອງຈື່ຄຳສັ່ງ CLI.

👉 ເບິ່ງ ວິດີໂອແນະນຳ 2 ນາທີ

ເປັນຫຍັງຕ້ອງເລືອກ 1Panel?

1Panel cPanel / Plesk aaPanel Webmin
ຟຣີ ແລະ ເປັນໂອເພນຊອດ ✅ ❌ ບາງສ່ວນ ✅
ຮັນໄທມ໌ເອເຈນ AI ໃນຕົວ ✅ ❌ ❌ ❌
ຕະຫຼາດແອັບແບບຄລິກດຽວ ✅ 165+ ແອັບ ❌ ✅ ❌
UI ທັນສະໄໝ (ຫຼັງປີ 2020) ✅ ❌ ບາງສ່ວນ ❌
ການຈັດການ Docker / ຄອນເທນເນີ ✅ ❌ ❌ ❌
ພັດທະນາຢ່າງຕໍ່ເນື່ອງ ✅ ✅ ✅ ຊ້າ

ຄຸນສົມບັດຫຼັກ

  • ຮັນໄທມ໌ເອເຈນ AI: ນຳໃຊ້ໂມເດວ LLM ຂອງ Ollama, ເປີດໃຊ້ເອເຈນສ່ວນຕົວ OpenClaw ແລະ ຕິດຕາມການໃຊ້ GPU — ທັງໝົດເຮັດໄດ້ຈາກແດຊບອດ. ບໍ່ຕ້ອງຈັດການສະແຕັກ AI ແຍກຕ່າງຫາກ.
  • ນຳໃຊ້ເວັບໄຊດ້ວຍຄລິກດຽວ: ເປີດໃຊ້ເວັບໄຊທີ່ພ້ອມສຳລັບການຜະລິດ ພ້ອມການຜູກໂດເມນອັດຕະໂນມັດ, ການອອກໃບຮັບຮອງ SSL ແລະ ການຕັ້ງຄ່າ Nginx — ບໍ່ຕ້ອງຕັ້ງຄ່າດ້ວຍຕົນເອງ.
  • ຕະຫຼາດແອັບ: ມີແອັບໂອເພນຊອດທີ່ໜ້າເຊື່ອຖືຫຼາຍກວ່າ 165 ແອັບ (Nextcloud, Bitwarden, Umami, NocoBase ແລະ ອື່ນໆ) ທີ່ສາມາດຕິດຕັ້ງ ແລະ ອັບເດດໄດ້ດ້ວຍຄລິກດຽວ.
  • ການຈັດການ Docker ແລະ ຄອນເທນເນີ: ສ້າງ, ເລີ່ມ, ຢຸດ ແລະ ກວດສອບຄອນເທນເນີ, ອິມເມຈ, ເຄືອຂ່າຍ ແລະ ໂວລຸມ ຜ່ານ UI ແບບກຣາຟິກ — ບໍ່ຕ້ອງສະຫຼັບໄປມາໃນ CLI.
  • ຄວາມປອດໄພພ້ອມໃຊ້ງານ: ກົດໄຟຣ໌ວໍ, fail2ban, ການແຍກຄອນເທນເນີ, WAF ແລະ ບັນທຶກການກວດສອບ — ທຸກຢ່າງຖືກຕັ້ງຄ່າ ແລະ ເຮັດວຽກຕັ້ງແຕ່ມື້ທຳອິດ.
  • ສຳຮອງ ແລະ ກູ້ຄືນ: ກຳນົດເວລາສຳຮອງອັດຕະໂນມັດໄປຫາ AWS S3, Cloudflare R2 ຫຼື ບ່ອນຈັດເກັບພາຍໃນເຄື່ອງ. ກູ້ຄືນສະແນັບຊັອດໃດກໍໄດ້ດ້ວຍຄລິກດຽວ.

ເລີ່ມຕົ້ນຢ່າງໄວ

ຄວາມຕ້ອງການ: Linux VPS (Debian / Ubuntu / CentOS / Rocky), RAM 1 GB ແລະ ການເຊື່ອມຕໍ່ອິນເຕີເນັດ.
ໃຊ້ເວລາປະມານ 60 ວິນາທີ.

bash
bash -c "$(curl -sSL https://resource.1panel.pro/v2/quick_start.sh)"

ຫຼັງຈາກຕິດຕັ້ງແລ້ວ, ເປີດ http://<your-server-ip>:/<security-path> ໃນເບຣົາເຊີ.
ໃຊ້ຄຳສັ່ງ 1pctl user-info ຜ່ານ SSH ຫາກຕ້ອງການເບິ່ງຂໍ້ມູນສຳລັບເຂົ້າລະບົບ.

ພາບໜ້າຈໍ

ຮຸ່ນ Pro

1Panel OSS ໃຊ້ງານໄດ້ຟຣີຕະຫຼອດໄປ. ຮຸ່ນ Pro ເພີ່ມຄຸນສົມບັດທີ່ອອກແບບສຳລັບທີມ ແລະ ວຽກລະດັບການຜະລິດ:

ຄຸນສົມບັດ OSS Pro
ຕິດຕັ້ງແອັບດ້ວຍຄລິກດຽວ ✅ ✅
ເອເຈນ AI (OpenClaw) 1 ເອເຈນ ບໍ່ຈຳກັດ
WAF ແລະ ຄວາມປອດໄພຂັ້ນສູງ ພື້ນຖານ ✅
ປ້ອງກັນການດັດແປງເວັບໄຊ ❌ ✅
ຕິດຕາມເວລາພ້ອມໃຊ້ງານຂອງເວັບໄຊ ❌ ✅
ການຈັດການຫຼາຍໂນດ ❌ ✅
ໂລໂກ້ ແລະ ຮູບແບບການສະແດງຜົນກຳນົດເອງ ❌ ✅
ການຊ່ວຍເຫຼືອລຳດັບຕົ້ນ ❌ ✅

ເລີ່ມຕົ້ນທີ່ $80/ປີ. ປຽບທຽບແຜນ ແລະ ເລີ່ມທົດລອງຟຣີ 30 ມື້ →

ປະຫວັດດາວ

ຊຸມຊົນ ແລະ ການຊ່ວຍເຫຼືອ

ຄວາມປອດໄພ

ພົບຊ່ອງໂຫວ່ບໍ? ກະລຸນາອ່ານ SECURITY.md ກ່ອນເຜີຍແຜ່ຂໍ້ມູນ.

ໃບອະນຸຍາດ

ໂຄງການນີ້ໃຊ້ GNU General Public License v3.0.


README.Ms (`docs/README.ms.md`)


1Panel ialah panel kawalan moden sumber terbuka berasaskan web untuk pengurusan pelayan Linux.

  • Pengurusan yang Cekap: Melalui antara muka grafik web yang mesra pengguna, 1Panel membolehkan pengguna menguruskan pelayan Linux mereka dengan mudah. Ciri utama termasuk pemantauan hos, pengurusan fail, pentadbiran pangkalan data, dan pengurusan kontena.
  • Penggunaan Laman Web yang Pantas: Dengan integrasi mendalam perisian pembinaan laman web sumber terbuka popular seperti WordPress, 1Panel mempermudah proses pengikatan domain dan konfigurasi sijil SSL, semuanya boleh dicapai dengan hanya satu klik.
  • Gedung Aplikasi: 1Panel menyediakan pelbagai alat dan aplikasi sumber terbuka berkualiti tinggi, memudahkan pemasangan dan kemas kini untuk penggunanya.
  • Keselamatan dan Kebolehpercayaan: Dengan memanfaatkan penggunaan kontena dan amalan penyebaran aplikasi yang selamat, 1Panel meminimumkan pendedahan terhadap kerentanan. Ia turut meningkatkan keselamatan melalui pengurusan firewall yang terintegrasi dan keupayaan pengauditan log.
  • Sandaran & Pemulihan Satu Klik: Perlindungan data menjadi mudah dengan fungsi sandaran dan pemulihan satu klik 1Panel, yang menyokong pelbagai penyelesaian storan awan untuk memastikan integriti dan ketersediaan data.

Permulaan Pantas

Jalankan skrip di bawah dan ikuti arahan untuk memasang 1Panel:

bash
curl -sSL https://resource.1panel.pro/quick_start.sh -o quick_start.sh && bash quick_start.sh

Sila rujuk dokumentasi untuk maklumat lanjut.

Tangkap Layar

Sejarah Bintang

Maklumat Keselamatan

Jika anda menemui sebarang isu keselamatan, sila hubungi kami melalui: [email protected].

Lesen

Dilesenkan di bawah Lesen Awam Am GNU versi 3 (GPLv3) (selepas ini disebut sebagai "Lesen"); anda tidak boleh menggunakan fail ini kecuali mematuhi terma-terma Lesen. Anda boleh mendapatkan salinan Lesen di:

https://www.gnu.org/licenses/gpl-3.0.html

Kecuali dikehendaki oleh undang-undang yang berkuat kuasa atau dipersetujui secara bertulis, perisian yang diedarkan di bawah Lesen ini diedarkan "SEBAGAIMANA ADANYA", TANPA SEBARANG JAMINAN ATAU SYARAT, sama ada tersurat atau tersirat. Sila rujuk Lesen untuk bahasa khusus yang mengawal hak dan batasan di bawah Lesen ini.


README.Pt Br (`docs/README.pt-br.md`)


1Panel é um painel de controle open-source, moderno e baseado na web para gerenciamento de servidores Linux.

  • Gerenciamento Eficiente: Por meio de uma interface gráfica web amigável, o 1Panel permite que os usuários gerenciem seus servidores Linux com facilidade. As principais funcionalidades incluem monitoramento de hosts, gerenciamento de arquivos, administração de bancos de dados e gerenciamento de containers.
  • Implantação Rápida de Sites: Com integração profunda com o popular software open-source WordPress, o 1Panel simplifica o processo de vinculação de domínios e configuração de certificados SSL, tudo realizável com um único clique.
  • Loja de Aplicativos: O 1Panel seleciona uma ampla gama de ferramentas e aplicativos open-source de alta qualidade, facilitando a instalação e atualização para seus usuários.
  • Segurança e Confiabilidade: Ao utilizar práticas de containerização e implantação segura de aplicativos, o 1Panel minimiza a exposição a vulnerabilidades. A segurança é ainda aprimorada por meio da gestão integrada de firewall e auditoria de logs.
  • Backup e Restauração com um Clique: A proteção de dados é simplificada com a funcionalidade de backup e restauração com um clique do 1Panel, que suporta várias soluções de armazenamento em nuvem para garantir a integridade e disponibilidade dos dados.

Início Rápido

Execute o script abaixo e siga as instruções para instalar o 1Panel:

bash
curl -sSL https://resource.1panel.pro/quick_start.sh -o quick_start.sh && bash quick_start.sh

Por favor, consulte nossa documentação para mais detalhes.

Captura de Tela

Histórico de Estrelas

Informações de Segurança

Se você descobrir algum problema de segurança, por favor, entre em contato conosco através do e-mail: [email protected].

Licença

Licenciado sob a Licença Pública Geral GNU versão 3 (GPLv3) (a "Licença"); você não pode usar este arquivo exceto em conformidade com a Licença. Você pode obter uma cópia da Licença em

https://www.gnu.org/licenses/gpl-3.0.html

Exceto quando exigido por lei aplicável ou acordado por escrito, o software distribuído sob a Licença é distribuído "COMO ESTÁ", SEM GARANTIAS OU CONDIÇÕES DE QUALQUER TIPO, expressas ou implícitas. Consulte a Licença para ver as permissões e limitações específicas sob a Licença.


README.Ru (`docs/README.ru.md`)


1Panel - это современная веб-панель управления Linux-серверами с открытым исходным кодом.

  • Эффективное управление: Благодаря удобному веб-интерфейсу, 1Panel позволяет пользователям легко управлять своими Linux-серверами. Основные функции включают мониторинг хоста, управление файлами, администрирование баз данных и управление контейнерами.
  • Быстрое развертывание сайтов: Благодаря глубокой интеграции с популярной системой создания сайтов WordPress, 1Panel упрощает процесс привязки домена и настройки SSL-сертификатов, все это достигается одним кликом.
  • Магазин приложений: 1Panel предлагает широкий выбор качественных инструментов и приложений с открытым исходным кодом, обеспечивая простую установку и обновление для пользователей.
  • Безопасность и надежность: Используя контейнеризацию и безопасные практики развертывания приложений, 1Panel минимизирует уязвимости. Безопасность дополнительно усиливается благодаря встроенному управлению межсетевым экраном и возможностям аудита логов.
  • Резервное копирование и восстановление в один клик: Защита данных упрощается благодаря функции резервного копирования и восстановления в один клик, с поддержкой различных облачных хранилищ для обеспечения целостности и доступности данных.

Быстрый старт

Выполните скрипт ниже и следуйте инструкциям для установки 1Panel:

bash
curl -sSL https://resource.1panel.pro/quick_start.sh -o quick_start.sh && bash quick_start.sh

Для получения дополнительной информации обратитесь к нашей документации.

Скриншот

История звезд

Информация о безопасности

Если вы обнаружите проблемы безопасности, пожалуйста, свяжитесь с нами по адресу: [email protected].

Лицензия

Лицензировано под GNU General Public License версии 3 (GPLv3) ("Лицензия"); вы не можете использовать этот файл, кроме как в соответствии с Лицензией. Вы можете получить копию Лицензии по адресу

https://www.gnu.org/licenses/gpl-3.0.html

Если иное не предусмотрено применимым законодательством или не согласовано в письменной форме, программное обеспечение, распространяемое по Лицензии, распространяется на условиях "КАК ЕСТЬ", БЕЗ КАКИХ-ЛИБО ГАРАНТИЙ ИЛИ УСЛОВИЙ, явных или подразумеваемых. См. текст Лицензии для получения информации о разрешениях и ограничениях по Лицензии.


README.Tr (`docs/README.tr.md`)


1Panel, Linux sunucu yönetimi için modern, açık kaynaklı bir web tabanlı kontrol panelidir.

  • Verimli Yönetim: Kullanıcı dostu bir web grafik arayüzü aracılığıyla, 1Panel kullanıcıların Linux sunucularını zahmetsizce yönetmelerini sağlar. Ana özellikler arasında ana bilgisayar izleme, dosya yönetimi, veritabanı yönetimi ve konteyner yönetimi yer alır.
  • Hızlı Web Sitesi Dağıtımı: Popüler açık kaynaklı web sitesi oluşturma yazılımı WordPress ile derin entegrasyon sayesinde, 1Panel alan adı bağlama ve SSL sertifikası yapılandırma işlemlerini basitleştirir, hepsi sadece bir tıkla yapılabilir.
  • Uygulama Mağazası: 1Panel, yüksek kaliteli açık kaynaklı araçlar ve uygulamalar sunar, kullanıcıların kolayca kurulum yapmalarını ve güncellemelerini sağlar.
  • Güvenlik ve Güvenilirlik: Konteynerleştirme ve güvenli uygulama dağıtımı yöntemlerini kullanarak 1Panel, güvenlik açıklarını en aza indirir. Ayrıca, entegre güvenlik duvarı yönetimi ve günlük denetleme özellikleri ile güvenliği artırır.
  • Tek Tıkla Yedekleme ve Geri Yükleme: 1Panel’in tek tıkla yedekleme ve geri yükleme işlevi, veri korumasını basitleştirir ve çeşitli bulut depolama çözümleriyle veri bütünlüğü ve erişilebilirliğini sağlar.

Hızlı Başlangıç

Tek Tuşlu Yükleme

Aşağıdaki komutu çalıştırın ve 1Panel’i kurmak için yönergeleri takip edin:

sh
curl -sSL https://resource.1panel.pro/quick_start.sh -o quick_start.sh && bash quick_start.sh

Daha fazla detay için dokümantasyonumuza göz atın.

Ekran Görüntüsü

Yıldız Geçmişi

Güvenlik Bilgileri

Herhangi bir güvenlik sorunu keşfettiğinizde, lütfen bizimle şu adres üzerinden iletişime geçin: [email protected].

Lisans

Bu yazılım, GNU Genel Kamu Lisansı sürüm 3 (GPLv3) ile lisanslanmıştır (bu "Lisans" olarak anılacaktır); bu dosyayı yalnızca Lisans ile uyumlu olarak kullanabilirsiniz. Lisansı şu adresten edinebilirsiniz:

https://www.gnu.org/licenses/gpl-3.0.html

Uygulanan yasalar gereği veya yazılı olarak kabul edilmedikçe, Lisans altında dağıtılan yazılım, HERHANGİ BİR GARANTİ VEYA ŞART olmaksızın "OLDUĞU GİBİ" sunulmaktadır. Lisans, izinler ve sınırlamalar ile ilgili özel dil için Lisans’a bakın.


README.Zh Hans (`docs/README.zh-Hans.md`)


什么是 1Panel?

1Panel 是一款现代化的开源 Linux 服务器运维管理面板,同时也是轻量级的 AI 管理平台。通过直观易用的 Web 界面,1Panel 帮助用户轻松掌控服务器全局:无论是 AI 智能体与本地大模型,还是网站、数据库、容器、文件及计划任务,所有核心运维场景均能一站式高效管理。

  • 全栈 AI 管理:提供从底层硬件到智能体(Metal-to-Agent)的统一管理平台,集成 AI 门户、AI 网关、Skills Hub,并支持对智能体与模型的集中化管理。
  • 高效可视化运维:通过 Web 图形界面,轻松实现主机监控、文件管理、数据库管理、容器管理等功能,让 Linux 服务器管理化繁为简。
  • 快速建站部署:深度集成 WordPress 与 Halo 等主流建站程序,一键完成域名绑定、SSL 证书配置,大幅降低建站门槛。
  • 精选应用商店:内置高质量开源应用商店,提供一键安装与升级服务,轻松扩展服务器功能。
  • 企业级安全:基于容器技术部署应用,有效减少漏洞暴露面。同时提供防火墙、日志审计等安全功能,全方位保障服务器安全。
  • 一键数据备份:支持一键备份与恢复,并可对接多种云端存储,确保数据安全,永不丢失。

快速开始

一键安装

执行如下命令一键安装 1Panel:

$ bash -c "$(curl -sSL https://resource.fit2cloud.com/1panel/package/v2/quick_start.sh)"

如果是用于离线环境,推荐使用 安装包方式 进行安装部署。

学习资料

版本对比

https://1panel.cn/versions.html

飞致云的其他明星项目

  • MaxKB - 强大易用的企业级智能体平台
  • Cordys - 新一代的开源 AI CRM 系统
  • JumpServer - 广受欢迎的开源堡垒机
  • Halo - 强大易用的开源建站工具
  • DataEase - 人人可用的开源数据可视化分析工具
  • MeterSphere - 开源持续测试工具
  • KubePi - 现代化、开源的 K8s 面板

License

Copyright (c) 2014-2026 FIT2CLOUD 飞致云, All rights reserved.

Licensed under The GNU General Public License version 3 (GPLv3) (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.gnu.org/licenses/gpl-3.0.html

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


README.Zh Hant (`docs/README.zh-Hant.md`)


什麼是 1Panel?

1Panel 是新一代的 Linux 伺服器運維管理面板。

  • 高效管理:使用者可以透過 Web 介面輕鬆管理 Linux 伺服器,如主機監控、文件管理、資料庫管理、容器管理等;
  • 快速建站:深度整合開源建站軟體 WordPress 和 Halo,域名綁定、SSL 證書配置等操作一鍵搞定;
  • 應用商店:精選上架各類高品質的開源工具和應用軟體,協助使用者輕鬆安裝並升級;
  • 安全可靠:基於容器管理並部署應用,實現最小的漏洞暴露面,同時提供病毒防護、防火牆和日誌審計等功能;
  • 一鍵備份:支援一鍵備份和復原,使用者可以將資料備份到各類雲端儲存介質,永不遺失。

快速開始

一鍵安裝

執行如下指令一鍵安裝 1Panel:

sh
curl -sSL https://resource.fit2cloud.com/1panel/package/quick_start.sh -o quick_start.sh && sudo bash quick_start.sh

如果是用於離線環境,推薦使用 安裝包方式 進行安裝部署。

學習資料

專業版

相比於社區版,1Panel 專業版為使用者提供了大量增強功能及技術支援服務,增強功能包括 WAF 增強、網站防篡改、網站監控、GPU 監控、黑金主題及自訂介面等。 點擊查看專業版詳細介紹。

飛致雲的其他明星項目

  • MaxKB - 基於 LLM 大語言模型的開源知識庫問答系統
  • JumpServer - 廣受歡迎的開源堡壘機
  • Halo - 強大易用的開源建站工具
  • DataEase - 人人可用的開源資料可視化分析工具
  • MeterSphere - 開源持續測試工具
  • KubePi - 現代化、開源的 K8s 面板

License

Copyright (c) 2014-2026 FIT2CLOUD 飞致云, All rights reserved.

Licensed under The GNU General Public License version 3 (GPLv3) (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.gnu.org/licenses/gpl-3.0.html

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


TRANSLATION (`docs/TRANSLATION.md`)

Translation Contribution Guide

Thank you for helping translate 1Panel! A complete locale touches the frontend,
the Core service, the Agent service, application-store metadata, and the project
README files. This guide lists the repository changes and validation required
before opening a pull request.

Reference pull requests


Scope

1Panel has several independent translation surfaces:

Surface Technology Repository format
Frontend Vue 3, vue-i18n, Element Plus TypeScript (.ts)
Core service Go i18n YAML (.yaml)
Agent service Go i18n YAML (.yaml)
Application store API models and frontend types Go and TypeScript
Project introduction GitHub README files Markdown (.md)

Adding only a frontend module does not provide complete locale support. Follow
all applicable steps below and state explicitly in the pull request if a surface
is intentionally out of scope.

Step 0 – Define locale identifiers

Choose the canonical runtime locale first. Use a
BCP 47 language tag and preserve its
casing wherever the runtime locale is used. File names and third-party locale
packs do not always use the same casing.

Language Runtime locale Frontend module Element Plus pack Backend YAML App-store key README
Simplified Chinese zh zh.ts zh-cn zh.yaml zh README.zh-Hans.md
Traditional Chinese zh-Hant zh-Hant.ts zh-tw zh-Hant.yaml zh-hant README.zh-Hant.md
English en en.ts en en.yaml en README.md
Brazilian Portuguese pt-BR pt-br.ts pt-br pt-BR.yaml pt-br README.pt-br.md
Spanish (Spain) es-ES es-es.ts es es-ES.yaml es-es README.es-es.md
Lao lo lo.ts lo lo.yaml lo README.lo.md

Use lowercase for simple runtime codes (ja, ko, lo) and standard BCP 47
casing for variants (pt-BR, es-ES, zh-Hant). Do not infer a file name from
the runtime locale: add an explicit mapping when the casing or code differs.

Before editing, search for hard-coded locale collections so a newly introduced
selector, whitelist, or compatibility map is not missed:

bash
rg "zh-Hant|pt-BR|es-ES" frontend core agent

Step 1 – Add the frontend translation module

Copy the English module and translate its values:

text
frontend/src/lang/modules/en.ts -> frontend/src/lang/modules/<module-name>.ts

Keep the following unchanged unless the English source changed structurally:

  • object keys, nesting, and TypeScript syntax;
  • interpolation placeholders such as {0}, ${name}, and {{ .detail }};
  • HTML tags, Markdown, URLs, product names, commands, and configuration keys;
  • the getFuLocaleMessage merge at the end of the file.

Pass the canonical runtime locale to getFuLocaleMessage, even when the module
file name uses different casing:

ts
import { getFuLocaleMessage } from '@/lang/fu';

const message = {
    commons: {
        // Translated values.
    },
};

export default {
    ...getFuLocaleMessage('<runtime-locale>'),
    ...message,
};

The English module evolves continuously. Copy it from the same branch as your
change instead of relying on a fixed key count or line count. Machine
translation can be used for a first pass, but every string must be reviewed in
its UI context.

Step 2 – Register the frontend loader and FU messages

Add the canonical runtime locale and its module file to LOCALE_LOADERS in
frontend/src/lang/index.ts:

ts
const LOCALE_LOADERS: Record<string, LocaleLoader> = {
    // Existing entries.
    '<runtime-locale>': () => import('./modules/<module-name>'),
};

Then add the locale to fuLocales in frontend/src/lang/fu.ts. These messages
belong to the shared FU table and steps components and are not supplied by the
main module:

ts
const fuLocales: Record<string, FuLocaleMessage> = {
    // Existing entries.
    '<runtime-locale>': {
        fu: {
            table: {
                more: '...',
                custom_table_rows: '...',
            },
            steps: {
                cancel: '...',
                prev: '...',
                next: '...',
                finish: '...',
            },
        },
    },
};

Step 3 – Register the Element Plus locale

Element Plus provides its own translations for date pickers, pagination,
popovers, and other components. Import the matching pack in
frontend/src/App.vue:

ts
import localePack from 'element-plus/es/locale/lang/<element-plus-code>';

Map the canonical runtime locale in the i18nLocale computed property:

ts
const i18nLocale = computed(() => {
    // Existing mappings.
    if (globalStore.language === '<runtime-locale>') return localePack;
    return zhCn;
});

Confirm the pack exists in
frontend/node_modules/element-plus/es/locale/lang/. If Element Plus does not
provide the language, document the chosen fallback in the pull request rather
than importing a nonexistent module.

Step 4 – Expose the locale in every frontend entry point

Login page

frontend/src/views/login/components/login-form.vue currently renders two
language menus for different login layouts. Add the new locale to both menu
blocks
, then add its native display name to languageLabelMap:

ts
const languageLabelMap: Record<string, string> = {
    // Existing entries.
    '<runtime-locale>': '<Native language name>',
};

Verify both login layouts manually. Updating only languageLabelMap changes the
selected label but does not add a selectable menu item.

Panel settings

Add the locale to languageOptions in
frontend/src/views/setting/panel/index.vue:

ts
const languageOptions = ref([
    // Existing entries.
    { value: '<runtime-locale>', label: '<Native language name>' },
]);

Public share page

Add the locale to supportedLocales in frontend/src/views/share/index.vue.
This list controls browser-language recognition and the Accept-Language
header used by public share requests.

ts
const supportedLocales = [
    // Existing entries.
    '<runtime-locale>',
];

Locale-sensitive fallbacks

Review locale comparisons that select language-specific API fields. For
example, operation records currently provide Chinese and English detail fields
in frontend/src/views/log/operation/index.vue. Chinese runtime locales should
use detailZH; every other locale should retain a visible detailEN fallback.
Prefer one shared fallback branch instead of adding every non-Chinese locale to
another hard-coded list.

Step 5 – Allow the locale in the login API

The backend validates the language sent by the login request. Add the canonical
runtime locale to the Language field's oneof validation tag in
core/app/dto/auth.go:

go
Language string `json:"language" validate:"oneof=zh en ... <runtime-locale>"`

Without this change, the new language can appear on the login page but the
login request will be rejected as an invalid parameter.

Run gofmt on the Go file after editing it.

Step 6 – Add and register Core translations

Copy the current English catalog and translate only its values:

text
core/i18n/lang/en.yaml -> core/i18n/lang/<runtime-locale>.yaml

Preserve every YAML key and placeholder:

yaml
ErrInvalidParams: "Translated text: {{ .detail }}"
ErrRecordExist: "Translated text"

Register the catalog in core/i18n/i18n.go:

go
var langFiles = map[string]string{
    // Existing entries.
    "<runtime-locale>": "lang/<runtime-locale>.yaml",
}

Step 7 – Add and register Agent translations

Core and Agent are independent Go modules and have independent catalogs. Copy
and translate the Agent catalog separately:

text
agent/i18n/lang/en.yaml -> agent/i18n/lang/<runtime-locale>.yaml

Register it in agent/i18n/i18n.go:

go
var langFiles = map[string]string{
    // Existing entries.
    "<runtime-locale>": "lang/<runtime-locale>.yaml",
}

Do not copy the Core YAML file into Agent: their key sets are different.

Step 8 – Extend application-store locale models

Application-store names and descriptions use their own locale fields. Add the
new field to both repository-side schemas.

In agent/app/dto/app.go, extend Locale:

go
type Locale struct {
    // Existing fields.
    NewLanguage string `json:"<app-store-key>"`
}

In frontend/src/api/interface/app.ts, extend Locale with the same JSON key:

ts
interface Locale {
    // Existing fields.
    '<app-store-key>': string;
}

Add the app-store key to the description example in
core/cmd/server/app/app_config.yml as well. This embedded template is written
when the server command scaffolds a new local application configuration.

Review frontend/src/utils/app-store.ts as well. Simple codes that lowercase to
the same value normally need no special handling; regional or script variants
may need an explicit runtime-locale-to-app-store-key mapping.

These schema changes make the repository capable of reading the locale. The
translated application names and descriptions are maintained in the external
application-store data source and must be coordinated separately. Until that
data exists, the application store falls back to English.

Step 9 – Add a localized README

Copy the root README to the documentation directory:

text
README.md -> docs/README.<readme-code>.md

Translate prose while preserving Markdown structure, HTML, images, links,
commands, badges, and code samples. Check every relative link from its new
location under docs/; a link that works from the repository root may need a
different relative path in the localized file.

Then keep the language navigation synchronized:

  1. Add the new README link to the language badge row in README.md.
  2. Add the same link to every existing docs/README.*.md language badge row.
  3. Add the locale to the table in this guide's
    Locale code reference.

Use the native language name for the badge label. The README locale suffix may
follow an existing documentation convention (zh-Hans, pt-br, es-es) and
does not have to match the runtime locale casing.

Step 10 – Format code and regenerate API documentation

Format every changed Go source file:

bash
gofmt -w core/app/dto/auth.go core/i18n/i18n.go
gofmt -w agent/app/dto/app.go agent/i18n/i18n.go

The login-language enum and application-store locale model are represented in
generated Swagger files. Install the repository-compatible swag command, then
run the generator test from the Core module:

bash
cd core
go test ./cmd/server/docs -run TestGenerateSwaggerDoc

This updates generated files under core/cmd/server/docs/. Do not edit the
generated Swagger output by hand. If the generator is unavailable, call that
out explicitly in the pull request instead of committing stale manual changes.

Step 11 – Validate the locale

Automated checks

Run checks from the repository root unless a command changes directory:

bash
# Frontend type checking.
cd frontend
npm run type-check

# Lint only the frontend files changed by the locale contribution.
./node_modules/.bin/eslint \
    src/lang/modules/<module-name>.ts \
    src/lang/index.ts \
    src/lang/fu.ts \
    src/App.vue \
    src/views/login/components/login-form.vue \
    src/views/setting/panel/index.vue \
    src/views/share/index.vue \
    src/views/log/operation/index.vue \
    src/api/interface/app.ts \
    src/utils/app-store.ts

# Compile and test the directly affected Go packages.
cd ../core
go test ./i18n ./app/dto

cd ../agent
go test ./i18n ./app/dto

# Check whitespace errors in all changed files.
cd ..
git diff --check

Also compare each translated catalog with its English source:

  • the frontend module has the same translation keys and nesting;
  • each Core and Agent YAML file has exactly the same keys as its corresponding
    English file;
  • placeholders, formatting tokens, HTML tags, URLs, and commands are preserved;
  • YAML files parse successfully, with no duplicate keys;
  • all README links and badges resolve to the intended files.

Manual checks

  • Both login layouts show the native language name and can select it.
  • Login succeeds with the locale in the request; validation does not reject it.
  • Settings -> Panel -> Language can switch to the locale and retains it after reload.
  • Element Plus date, pagination, select, and confirmation components use the expected language.
  • A representative Core API error is translated.
  • A representative Agent task/error message is translated.
  • A public share page recognizes the browser locale and sends the expected Accept-Language value.
  • Operation-log details remain visible through the correct Chinese or English fallback.
  • Application-store metadata uses the locale when available and falls back to English when absent.
  • The localized README renders correctly and every README language badge links to it.
  • Layout, punctuation, truncation, and text direction are correct at common screen sizes.

For right-to-left languages, verify the login page, navigation, forms, tables,
dialogs, and mixed-direction values such as IP addresses. RTL layout support may
require a separate frontend change beyond translating strings.

External translation resources

Some runtime assets are not maintained in this repository:

  • application-store names and descriptions come from the external
    application-store data source;
  • the language shell resources downloaded as language/lang.tar.gz are
    published through the 1Panel resource service.

Repository locale support does not automatically update either resource. If the
new language needs them, coordinate publication with the relevant maintainer and
record the status in the pull request. Do not add generated or downloaded
archives to this repository unless a maintainer requests it.

Complete pull-request checklist

  • Canonical runtime, module, Element Plus, app-store, and README codes are documented.
  • frontend/src/lang/modules/<module-name>.ts is complete and reviewed.
  • frontend/src/lang/index.ts contains the locale loader.
  • frontend/src/lang/fu.ts contains the FU messages.
  • frontend/src/App.vue maps an existing Element Plus locale pack or documents a fallback.
  • Both language menus and languageLabelMap are updated in frontend/src/views/login/components/login-form.vue.
  • languageOptions is updated in frontend/src/views/setting/panel/index.vue.
  • supportedLocales is updated in frontend/src/views/share/index.vue.
  • Locale-sensitive API-field fallbacks, including operation-log details, remain visible.
  • The login validator is updated in core/app/dto/auth.go.
  • core/i18n/lang/<runtime-locale>.yaml exists and is registered in core/i18n/i18n.go.
  • agent/i18n/lang/<runtime-locale>.yaml exists and is registered in agent/i18n/i18n.go.
  • Application-store locale fields are updated in agent/app/dto/app.go, frontend/src/api/interface/app.ts, and core/cmd/server/app/app_config.yml.
  • Regional or script variants are normalized in frontend/src/utils/app-store.ts when needed.
  • docs/README.<readme-code>.md exists and every README language badge is synchronized.
  • Changed Go files are formatted and Swagger output is regenerated.
  • Frontend, Core, Agent, catalog-parity, placeholder, and Markdown checks pass.
  • All applicable manual checks pass.
  • External application-store and language-resource work is completed or clearly tracked.

Locale code reference

Language Runtime locale
Simplified Chinese zh
Traditional Chinese zh-Hant
English en
Japanese ja
Korean ko
Russian ru
Malay ms
Turkish tr
Brazilian Portuguese pt-BR
Spanish (Spain) es-ES
Persian fa
Lao lo

Pull-request title convention

text
feat(i18n): add <language name> (<runtime-locale>) locale support

Example: feat(i18n): add German (de-DE) locale support


Agent Cmd Server Docs X Log.Json (`agent/cmd/server/docs/x-log.json`)

{
"/ai/domain/update": {
"bodyKeys": [
"domain"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 Ollama 绑定域名 [domain]",
"formatEN": "update Ollama bind domain [domain]"
},
"/ai/ollama/close": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "关闭 Ollama 模型连接 [name]",
"formatEN": "close conn for Ollama model [name]"
},
"/ai/ollama/model": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "添加 Ollama 模型 [name]",
"formatEN": "add Ollama model [name]"
},
"/ai/ollama/model/del": {
"bodyKeys": [
"ids"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "ids",
"isList": true,
"db": "ollama_models",
"output_column": "name",
"output_value": "names"
}
],
"formatZH": "删除 Ollama 模型 [names]",
"formatEN": "remove Ollama model [names]"
},
"/ai/ollama/model/recreate": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "添加 Ollama 模型重试 [name]",
"formatEN": "re-add Ollama model [name]"
},
"/ai/ollama/model/sync": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "同步 Ollama 模型列表",
"formatEN": "sync Ollama model list"
},
"/ai/tensorrt/create": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建 TensorRT LLM [name]",
"formatEN": "create TensorRT LLM [name]"
},
"/ai/tensorrt/delete": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "删除 TensorRT LLM [id]",
"formatEN": "delete TensorRT LLM [id]"
},
"/ai/tensorrt/operate": {
"bodyKeys": [
"id",
"operate"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "操作 TensorRT LLM [id][operate]",
"formatEN": "operate TensorRT LLM [id][operate]"
},
"/ai/tensorrt/update": {
"bodyKeys": [
"id",
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 TensorRT LLM [id][name]",
"formatEN": "update TensorRT LLM [id][name]"
},
"/alert": {
"bodyKeys": [
"title"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建告警任务 [title]",
"formatEN": "create alert [title]"
},
"/alert/config/del": {
"bodyKeys": [],
"paramKeys": [],
"formatZH": "删除告警配置 [name]",
"formatEN": "delete alert config [name]",
"beforeFunctions": []
},
"/alert/config/status": {
"bodyKeys": [
"status"
],
"paramKeys": [],
"formatZH": "更新告警配置状态 [name][status]",
"formatEN": "update alert config status [name][status]",
"beforeFunctions": []
},
"/alert/config/update": {
"bodyKeys": [
"displayName"
],
"paramKeys": [],
"formatZH": "更新告警配置 [displayName]",
"formatEN": "update alert config [displayName]",
"beforeFunctions": []
},
"/alert/del": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "删除告警任务 [id]",
"formatEN": "delete alert [id]"
},
"/alert/logs/clean": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "清空告警日志",
"formatEN": "clean alert logs"
},
"/alert/status": {
"bodyKeys": [
"id",
"status"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新告警任务 [id] 状态 [status]",
"formatEN": "update alert [id] status [status]"
},
"/alert/update": {
"bodyKeys": [
"title"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新告警任务 [title]",
"formatEN": "update alert [title]"
},
"/apps/ignored/cancel": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "取消忽略应用升级",
"formatEN": "Cancel ignore application upgrade"
},
"/apps/install": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "安装应用 [name]",
"formatEN": "Install app [name]"
},
"/apps/installed/config/update": {
"bodyKeys": [
"installID",
"webUI"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "应用配置更新 [installID]",
"formatEN": "Application config update [installID]"
},
"/apps/installed/ignore": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "忽略应用升级",
"formatEN": "Ignore application upgrade"
},
"/apps/installed/op": {
"bodyKeys": [
"installId",
"operate"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "installId",
"isList": false,
"db": "app_installs",
"output_column": "app_id",
"output_value": "appId"
},
{
"input_column": "id",
"input_value": "installId",
"isList": false,
"db": "app_installs",
"output_column": "name",
"output_value": "appName"
},
{
"input_column": "id",
"input_value": "appId",
"isList": false,
"db": "apps",
"output_column": "key",
"output_value": "appKey"
}
],
"formatZH": "[operate] 应用 [appKey][appName]",
"formatEN": "[operate] App [appKey][appName]"
},
"/apps/installed/params/update": {
"bodyKeys": [
"installId"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "installId",
"isList": false,
"db": "app_installs",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "应用参数修改 [name]",
"formatEN": "Application param update [name]"
},
"/apps/installed/port/change": {
"bodyKeys": [
"key",
"name",
"port"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "应用端口修改 [key]-[name] =\u003e [port]",
"formatEN": "Application port update [key]-[name] =\u003e [port]"
},
"/apps/installed/sort/update": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新已安装应用排序",
"formatEN": "update installed app sort"
},
"/apps/installed/sync": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "同步已安装应用列表",
"formatEN": "Sync the list of installed apps"
},
"/apps/sync/local": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "应用商店同步",
"formatEN": "App store synchronization"
},
"/apps/sync/remote": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "应用商店同步",
"formatEN": "App store synchronization"
},
"/backups": {
"bodyKeys": [
"type"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建备份账号 [type]",
"formatEN": "create backup account [type]"
},
"/backups/backup": {
"bodyKeys": [
"type",
"name",
"detailName"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "备份 [type] 数据 [name][detailName]",
"formatEN": "backup [type] data [name][detailName]"
},
"/backups/del": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "backup_accounts",
"output_column": "type",
"output_value": "types"
}
],
"formatZH": "删除备份账号 [types]",
"formatEN": "delete backup account [types]"
},
"/backups/record/del": {
"bodyKeys": [
"ids"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "ids",
"isList": true,
"db": "backup_records",
"output_column": "file_name",
"output_value": "files"
}
],
"formatZH": "删除备份记录 [files]",
"formatEN": "delete backup records [files]"
},
"/backups/record/download": {
"bodyKeys": [
"source",
"fileName"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "下载备份记录 [source][fileName]",
"formatEN": "download backup records [source][fileName]"
},
"/backups/recover": {
"bodyKeys": [
"type",
"name",
"detailName",
"file"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "从 [file] 恢复 [type] 数据 [name][detailName]",
"formatEN": "recover [type] data [name][detailName] from [file]"
},
"/backups/recover/byupload": {
"bodyKeys": [
"type",
"name",
"detailName",
"file"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "从 [file] 恢复 [type] 数据 [name][detailName]",
"formatEN": "recover [type] data [name][detailName] from [file]"
},
"/backups/update": {
"bodyKeys": [
"type"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新备份账号 [type]",
"formatEN": "update backup account [type]"
},
"/backups/upload": {
"bodyKeys": [
"filePath"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "上传备份文件 [filePath]",
"formatEN": "upload backup file [filePath]"
},
"/containers": {
"bodyKeys": [
"name",
"image"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建容器 [name][image]",
"formatEN": "create container [name][image]"
},
"/containers/clean/log": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "清理容器 [name] 日志",
"formatEN": "clean container [name] logs"
},
"/containers/compose": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建 compose [name]",
"formatEN": "create compose [name]"
},
"/containers/compose/clean/log": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "清理容器编排 [name] 日志",
"formatEN": "clean compose [name] logs"
},
"/containers/compose/operate": {
"bodyKeys": [
"name",
"operation"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "compose [operation] [name]",
"formatEN": "compose [operation] [name]"
},
"/containers/compose/test": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "检测 compose [name] 格式",
"formatEN": "check compose [name]"
},
"/containers/compose/update": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 compose [name]",
"formatEN": "update compose information [name]"
},
"/containers/daemonjson/update": {
"bodyKeys": [
"key",
"value"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新配置 [key]",
"formatEN": "Updated configuration [key]"
},
"/containers/daemonjson/update/byfile": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新配置文件",
"formatEN": "Updated configuration file"
},
"/containers/docker/operate": {
"bodyKeys": [
"operation"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "docker 服务 [operation]",
"formatEN": "[operation] docker service"
},
"/containers/files/del": {
"bodyKeys": [
"containerID",
"paths"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "删除容器 [containerID] 文件 [paths]",
"formatEN": "Delete files [paths] in container [containerID]"
},
"/containers/files/download": {
"bodyKeys": [
"containerID",
"path"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "下载容器 [containerID] 文件 [path]",
"formatEN": "Download file [path] from container [containerID]"
},
"/containers/files/upload": {
"bodyKeys": [
"containerID",
"path"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "容器 [containerID] 上传文件到 [path]",
"formatEN": "Upload file to [path] in container [containerID]"
},
"/containers/image/build": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "构建镜像 [name]",
"formatEN": "build image [name]"
},
"/containers/image/load": {
"bodyKeys": [
"path"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "从 [path] 加载镜像",
"formatEN": "load image from [path]"
},
"/containers/image/pull": {
"bodyKeys": [
"repoID",
"imageName"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "repoID",
"isList": false,
"db": "image_repos",
"output_column": "name",
"output_value": "reponame"
}
],
"formatZH": "镜像拉取 [reponame][imageName]",
"formatEN": "image pull [reponame][imageName]"
},
"/containers/image/push": {
"bodyKeys": [
"repoID",
"tagName",
"name"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "repoID",
"isList": false,
"db": "image_repos",
"output_column": "name",
"output_value": "reponame"
}
],
"formatZH": "[tagName] 推送到 [reponame][name]",
"formatEN": "push [tagName] to [reponame][name]"
},
"/containers/image/remove": {
"bodyKeys": [
"names"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "移除镜像 [names]",
"formatEN": "remove image [names]"
},
"/containers/image/save": {
"bodyKeys": [
"tagName",
"path",
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "保留 [tagName] 为 [path]/[name]",
"formatEN": "save [tagName] as [path]/[name]"
},
"/containers/image/tag": {
"bodyKeys": [
"repoID",
"targetName"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "repoID",
"isList": false,
"db": "image_repos",
"output_column": "name",
"output_value": "reponame"
}
],
"formatZH": "tag 镜像 [reponame][targetName]",
"formatEN": "tag image [reponame][targetName]"
},
"/containers/ipv6option/update": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 ipv6 配置",
"formatEN": "Updated the ipv6 option"
},
"/containers/logoption/update": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新日志配置",
"formatEN": "Updated the log option"
},
"/containers/network": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建容器网络 name",
"formatEN": "create container network [name]"
},
"/containers/network/del": {
"bodyKeys": [
"names"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "删除容器网络 [names]",
"formatEN": "delete container network [names]"
},
"/containers/operate": {
"bodyKeys": [
"names",
"operation"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "容器 [names] 执行 [operation]",
"formatEN": "container [operation] [names]"
},
"/containers/prune": {
"bodyKeys": [
"pruneType"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "清理容器 [pruneType]",
"formatEN": "clean container [pruneType]"
},
"/containers/rename": {
"bodyKeys": [
"name",
"newName"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "容器重命名 [name] =\u003e [newName]",
"formatEN": "rename container [name] =\u003e [newName]"
},
"/containers/repo": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建镜像仓库 [name]",
"formatEN": "create image repo [name]"
},
"/containers/repo/del": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "image_repos",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "删除镜像仓库 [name]",
"formatEN": "delete image repo [name]"
},
"/containers/repo/update": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "image_repos",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "更新镜像仓库 [name]",
"formatEN": "update image repo information [name]"
},
"/containers/template": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建 compose 模版 [name]",
"formatEN": "create compose template [name]"
},
"/containers/template/batch": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "批量导入编排模版",
"formatEN": "batch import compose templates"
},
"/containers/template/del": {
"bodyKeys": [
"ids"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "ids",
"isList": true,
"db": "compose_templates",
"output_column": "name",
"output_value": "names"
}
],
"formatZH": "删除 compose 模版 [names]",
"formatEN": "delete compose template [names]"
},
"/containers/template/update": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "compose_templates",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "更新 compose 模版 [name]",
"formatEN": "update compose template information [name]"
},
"/containers/update": {
"bodyKeys": [
"name",
"image"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新容器 [name][image]",
"formatEN": "update container [name][image]"
},
"/containers/upgrade": {
"bodyKeys": [
"names",
"image"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新容器镜像 [names][image]",
"formatEN": "upgrade container image [names][image]"
},
"/containers/volume": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建容器存储卷 [name]",
"formatEN": "create container volume [name]"
},
"/containers/volume/del": {
"bodyKeys": [
"names"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "删除容器存储卷 [names]",
"formatEN": "delete container volume [names]"
},
"/core/auth/api/generate": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "生成 API 接口密钥",
"formatEN": "generate api key"
},
"/core/auth/api/update": {
"bodyKeys": [
"ipWhiteList",
"apiTrustedProxies"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 API 接口配置 =\u003e IP 白名单: [ipWhiteList], API 可信代理: [apiTrustedProxies]",
"formatEN": "update api config =\u003e IP Allowlist: [ipWhiteList], API Trusted Proxies: [apiTrustedProxies]"
},
"/core/auth/expired/reset": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "重置过期密码",
"formatEN": "reset an expired Password"
},
"/core/auth/mfa/bind": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "mfa 绑定",
"formatEN": "bind mfa"
},
"/core/auth/mfa/close": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "mfa 关闭",
"formatEN": "close mfa"
},
"/core/backups": {
"bodyKeys": [
"type"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建备份账号 [type]",
"formatEN": "create backup account [type]"
},
"/core/backups/del": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "删除备份账号 [name]",
"formatEN": "delete backup account [name]"
},
"/core/backups/update": {
"bodyKeys": [
"type"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新备份账号 [type]",
"formatEN": "update backup account [type]"
},
"/core/commands": {
"bodyKeys": [
"name",
"command"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建快捷命令 [name][command]",
"formatEN": "create quick command [name][command]"
},
"/core/commands/del": {
"bodyKeys": [
"ids"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "ids",
"isList": true,
"db": "commands",
"output_column": "name",
"output_value": "names"
}
],
"formatZH": "删除快捷命令 [names]",
"formatEN": "delete quick command [names]"
},
"/core/commands/export": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "导出快速命令",
"formatEN": "export quick commands"
},
"/core/commands/import": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "导入快速命令",
"formatEN": "import quick commands"
},
"/core/commands/update": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新快捷命令 [name]",
"formatEN": "update quick command [name]"
},
"/core/commands/upload": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "上传快速命令文件",
"formatEN": "upload quick commands with csv"
},
"/core/enterprise/agents/batch-install": {
"bodyKeys": [
"nodeIDs",
"agentType",
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "批量安装智能体 [agentType] 到节点 [nodeIDs]",
"formatEN": "batch install agent [agentType] to nodes [nodeIDs]"
},
"/core/enterprise/agents/batch-operate": {
"bodyKeys": [
"nodeIDs",
"agentType",
"operate"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "批量操作智能体 [agentType] [operate]",
"formatEN": "batch operate agent [agentType] [operate]"
},
"/core/enterprise/agents/batch-skill-install": {
"bodyKeys": [
"nodeIDs",
"agentType",
"skillID"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "批量安装智能体技能 [skillID] 到 [agentType]",
"formatEN": "batch install agent skill [skillID] to [agentType]"
},
"/core/enterprise/agents/batch-upgrade": {
"bodyKeys": [
"nodeIDs",
"agentType",
"targetVersion"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "批量升级智能体 [agentType] 到 [targetVersion]",
"formatEN": "batch upgrade agent [agentType] to [targetVersion]"
},
"/core/enterprise/ai-benchmark/tasks": {
"bodyKeys": [
"model"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建 AI 基准测试 [model]",
"formatEN": "create AI benchmark [model]"
},
"/core/enterprise/ai-benchmark/tasks/:id/cancel": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "取消 AI 基准测试",
"formatEN": "cancel AI benchmark"
},
"/core/enterprise/ai-benchmark/tasks/delete": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "删除 AI 基准测试 [id]",
"formatEN": "delete AI benchmark [id]"
},
"/core/enterprise/ai-proxy/api-keys/create": {
"bodyKeys": [
"groupId"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "groupId",
"isList": false,
"db": "ai_proxy_user_groups",
"output_column": "name",
"output_value": "groupName"
}
],
"formatZH": "创建 AI 网关 API Key 分组 [groupName]",
"formatEN": "create AI proxy API key group [groupName]"
},
"/core/enterprise/ai-proxy/api-keys/delete": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "删除 AI 网关 API Key",
"formatEN": "delete AI proxy API key"
},
"/core/enterprise/ai-proxy/api-keys/reactivate": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "重新激活 AI 网关 API Key",
"formatEN": "reactivate AI proxy API key"
},
"/core/enterprise/ai-proxy/api-keys/reveal": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "查看 AI 网关 API Key",
"formatEN": "reveal AI proxy API key"
},
"/core/enterprise/ai-proxy/api-keys/token/reset": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "重置 AI 网关 API Key Token",
"formatEN": "reset AI proxy API key token"
},
"/core/enterprise/ai-proxy/api-keys/update": {
"bodyKeys": [
"groupId"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "groupId",
"isList": false,
"db": "ai_proxy_user_groups",
"output_column": "name",
"output_value": "groupName"
}
],
"formatZH": "更新 AI 网关 API Key 分组 [groupName]",
"formatEN": "update AI proxy API key group [groupName]"
},
"/core/enterprise/ai-proxy/backends/delete": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "删除 AI 网关后端",
"formatEN": "delete AI proxy backend"
},
"/core/enterprise/ai-proxy/backends/import": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "导入 AI 网关后端账号",
"formatEN": "import AI proxy backend account"
},
"/core/enterprise/ai-proxy/backends/status": {
"bodyKeys": [
"enabled"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 AI 网关后端状态 [enabled]",
"formatEN": "update AI proxy backend status [enabled]"
},
"/core/enterprise/ai-proxy/backends/update": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 AI 网关后端",
"formatEN": "update AI proxy backend"
},
"/core/enterprise/ai-proxy/content/groups/create": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建 AI 网关敏感词分组 [name]",
"formatEN": "create AI proxy sensitive group [name]"
},
"/core/enterprise/ai-proxy/content/groups/delete": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "ai_proxy_sensitive_groups",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "删除 AI 网关敏感词分组 [name]",
"formatEN": "delete AI proxy sensitive group [name]"
},
"/core/enterprise/ai-proxy/content/groups/update": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 AI 网关敏感词分组 [name]",
"formatEN": "update AI proxy sensitive group [name]"
},
"/core/enterprise/ai-proxy/content/settings/update": {
"bodyKeys": [
"enabled"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 AI 网关内容审查设置 [enabled]",
"formatEN": "update AI proxy content audit settings [enabled]"
},
"/core/enterprise/ai-proxy/content/words/create": {
"bodyKeys": [
"groupId"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "groupId",
"isList": false,
"db": "ai_proxy_sensitive_groups",
"output_column": "name",
"output_value": "groupName"
}
],
"formatZH": "创建 AI 网关敏感词,分组 [groupName]",
"formatEN": "create AI proxy sensitive word, group [groupName]"
},
"/core/enterprise/ai-proxy/content/words/delete": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "ai_proxy_sensitive_words",
"output_column": "word",
"output_value": "word"
}
],
"formatZH": "删除 AI 网关敏感词 [word]",
"formatEN": "delete AI proxy sensitive word [word]"
},
"/core/enterprise/ai-proxy/content/words/import": {
"bodyKeys": [
"groupId"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "groupId",
"isList": false,
"db": "ai_proxy_sensitive_groups",
"output_column": "name",
"output_value": "groupName"
}
],
"formatZH": "导入 AI 网关敏感词,分组 [groupName]",
"formatEN": "import AI proxy sensitive words, group [groupName]"
},
"/core/enterprise/ai-proxy/content/words/update": {
"bodyKeys": [
"id",
"groupId"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "ai_proxy_sensitive_words",
"output_column": "word",
"output_value": "word"
},
{
"input_column": "id",
"input_value": "groupId",
"isList": false,
"db": "ai_proxy_sensitive_groups",
"output_column": "name",
"output_value": "groupName"
}
],
"formatZH": "更新 AI 网关敏感词 [word] 分组 [groupName]",
"formatEN": "update AI proxy sensitive word [word] group [groupName]"
},
"/core/enterprise/ai-proxy/groups/create": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建 AI 网关分组 [name]",
"formatEN": "create AI proxy group [name]"
},
"/core/enterprise/ai-proxy/groups/delete": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "ai_proxy_user_groups",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "删除 AI 网关分组 [name]",
"formatEN": "delete AI proxy group [name]"
},
"/core/enterprise/ai-proxy/groups/update": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 AI 网关分组 [name]",
"formatEN": "update AI proxy group [name]"
},
"/core/enterprise/ai-proxy/model-groups/create": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建 AI 网关模型组 [name]",
"formatEN": "create AI proxy model group [name]"
},
"/core/enterprise/ai-proxy/model-groups/delete": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "删除 AI 网关模型组 [id]",
"formatEN": "delete AI proxy model group [id]"
},
"/core/enterprise/ai-proxy/model-groups/update": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 AI 网关模型组 [name]",
"formatEN": "update AI proxy model group [name]"
},
"/core/enterprise/ai-proxy/service/operate": {
"bodyKeys": [
"operate"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "操作 AI 网关服务 [operate]",
"formatEN": "operate AI proxy service [operate]"
},
"/core/enterprise/ai-proxy/settings/logs/clear": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "清空 AI 网关日志",
"formatEN": "clear AI proxy logs"
},
"/core/enterprise/ai-proxy/settings/update": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 AI 网关设置",
"formatEN": "update AI proxy settings"
},
"/core/enterprise/ai-proxy/smart-route/policy/update": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 AI 网关智能路由策略",
"formatEN": "update AI proxy smart route policy"
},
"/core/enterprise/ai-proxy/smart-route/samples/create": {
"bodyKeys": [
"type",
"label"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建 AI 网关智能路由样本 [type] [label]",
"formatEN": "create AI proxy smart route sample [type] [label]"
},
"/core/enterprise/ai-proxy/smart-route/samples/delete": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "删除 AI 网关智能路由样本 [id]",
"formatEN": "delete AI proxy smart route sample [id]"
},
"/core/enterprise/ai-proxy/smart-route/samples/rebuild": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "重建 AI 网关智能路由样本向量",
"formatEN": "rebuild AI proxy smart route sample vectors"
},
"/core/enterprise/ai-proxy/smart-route/samples/update": {
"bodyKeys": [
"id",
"type",
"label"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 AI 网关智能路由样本 [id] [type] [label]",
"formatEN": "update AI proxy smart route sample [id] [type] [label]"
},
"/core/enterprise/auth-sources/ldap/setting": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 LDAP 认证设置",
"formatEN": "update LDAP authentication settings"
},
"/core/enterprise/auth-sources/ldap/sync/run": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "手动同步 LDAP 用户",
"formatEN": "manually synchronize LDAP users"
},
"/core/enterprise/auth-sources/ldap/sync/setting": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 LDAP 同步设置",
"formatEN": "update LDAP synchronization settings"
},
"/core/enterprise/auth-sources/ldap/test-connection": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "测试 LDAP 连接",
"formatEN": "test LDAP connection"
},
"/core/enterprise/auth-sources/ldap/test-login": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "测试 LDAP 用户登录",
"formatEN": "test LDAP user login"
},
"/core/enterprise/auth-sources/ldap/users/import": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "导入 LDAP 用户",
"formatEN": "import LDAP users"
},
"/core/enterprise/auth-sources/oidc/setting": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 OIDC 认证设置",
"formatEN": "update OIDC authentication settings"
},
"/core/enterprise/auth-sources/oidc/test-configuration": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "测试 OIDC 连接",
"formatEN": "test OIDC connection"
},
"/core/enterprise/auth-sources/oidc/test-login/begin": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "发起 OIDC 测试登录",
"formatEN": "start OIDC test login"
},
"/core/enterprise/auth-sources/saml2/setting": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 SAML2 认证设置",
"formatEN": "update SAML2 authentication settings"
},
"/core/enterprise/auth-sources/saml2/test-configuration": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "测试 SAML2 连接",
"formatEN": "test SAML2 connection"
},
"/core/enterprise/auth-sources/saml2/test-login/begin": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "发起 SAML2 测试登录",
"formatEN": "start SAML2 test login"
},
"/core/enterprise/licenses/community-restore": {
"bodyKeys": [
"mode"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "恢复为社区版",
"formatEN": "restore Community Edition"
},
"/core/enterprise/licenses/upload": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "上传许可证",
"formatEN": "upload license"
},
"/core/enterprise/ops-report/download": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "下载运维报表",
"formatEN": "download ops report"
},
"/core/enterprise/ops-report/generate": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "生成运维报表",
"formatEN": "generate ops report"
},
"/core/enterprise/ops-report/setting/update": {
"bodyKeys": [
"key"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新运维报表设置 [key]",
"formatEN": "update ops report setting [key]"
},
"/core/enterprise/roles": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建角色 [name]",
"formatEN": "create role [name]"
},
"/core/enterprise/roles/delete": {
"bodyKeys": [
"ids"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "ids",
"isList": true,
"db": "roles",
"output_column": "name",
"output_value": "names"
}
],
"formatZH": "删除角色 [names]",
"formatEN": "delete role [names]"
},
"/core/enterprise/roles/update": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新角色 [name]",
"formatEN": "update role [name]"
},
"/core/enterprise/settings/footer/reset": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "重置企业版底部链接设置",
"formatEN": "reset Enterprise footer link settings"
},
"/core/enterprise/settings/footer/update": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新企业版底部链接设置",
"formatEN": "update Enterprise footer link settings"
},
"/core/enterprise/skills-hub/delete": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "skill_hub_items",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "删除 Skills Hub 技能 [name]",
"formatEN": "delete Skills Hub skill [name]"
},
"/core/enterprise/skills-hub/download": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "skill_hub_items",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "下载 Skills Hub 技能 [name]",
"formatEN": "download Skills Hub skill [name]"
},
"/core/enterprise/skills-hub/import": {
"bodyKeys": [
"type",
"version",
"repoURL",
"packageURL"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "导入 Skills Hub 技能版本 [version]",
"formatEN": "import Skills Hub skill version [version]"
},
"/core/enterprise/skills-hub/status": {
"bodyKeys": [
"id",
"operate"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "skill_hub_items",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "更新 Skills Hub 技能 [name] 状态 [operate]",
"formatEN": "update Skills Hub skill [name] status [operate]"
},
"/core/enterprise/skills-hub/targets/create": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建 Skills Hub 安装目标 [name]",
"formatEN": "create Skills Hub install target [name]"
},
"/core/enterprise/skills-hub/targets/delete": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "skill_hub_install_targets",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "删除 Skills Hub 安装目标 [name]",
"formatEN": "delete Skills Hub install target [name]"
},
"/core/enterprise/skills-hub/targets/install": {
"bodyKeys": [
"skillID",
"targetIDs"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "skillID",
"isList": false,
"db": "skill_hub_items",
"output_column": "name",
"output_value": "skillName"
},
{
"input_column": "id",
"input_value": "targetIDs",
"isList": true,
"db": "skill_hub_install_targets",
"output_column": "name",
"output_value": "targetNames"
}
],
"formatZH": "安装 Skills Hub 技能 [skillName] 到目标 [targetNames]",
"formatEN": "install Skills Hub skill [skillName] to targets [targetNames]"
},
"/core/enterprise/skills-hub/targets/status": {
"bodyKeys": [
"id",
"enabled"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "skill_hub_install_targets",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "更新 Skills Hub 安装目标 [name] 状态 [enabled]",
"formatEN": "update Skills Hub install target [name] status [enabled]"
},
"/core/enterprise/skills-hub/targets/update": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 Skills Hub 安装目标 [name]",
"formatEN": "update Skills Hub install target [name]"
},
"/core/enterprise/skills-hub/upload": {
"bodyKeys": [
"version"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "上传 Skills Hub 技能包版本 [version]",
"formatEN": "upload Skills Hub package version [version]"
},
"/core/enterprise/users": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "添加用户 [name]",
"formatEN": "add user [name]"
},
"/core/enterprise/users/api/update": {
"bodyKeys": [
"id",
"ipWhiteList",
"apiTrustedProxies"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "users",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "更新用户 [name] API 接口配置 =\u003e IP 白名单: [ipWhiteList], API 可信代理: [apiTrustedProxies]",
"formatEN": "update user [name] api config =\u003e IP Allowlist: [ipWhiteList], API Trusted Proxies: [apiTrustedProxies]"
},
"/core/enterprise/users/del": {
"bodyKeys": [
"ids"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "ids",
"isList": true,
"db": "users",
"output_column": "name",
"output_value": "names"
}
],
"formatZH": "删除用户 [names]",
"formatEN": "delete user [names]"
},
"/core/enterprise/users/info/update": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 [name] 认证信息",
"formatEN": "update user [name] auth info"
},
"/core/enterprise/users/update": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 [name]",
"formatEN": "update user [name]"
},
"/core/groups": {
"bodyKeys": [
"name",
"type"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建组 [name][type]",
"formatEN": "create group [name][type]"
},
"/core/groups/del": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "groups",
"output_column": "name",
"output_value": "name"
},
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "groups",
"output_column": "type",
"output_value": "type"
}
],
"formatZH": "删除组 [type][name]",
"formatEN": "delete group [type][name]"
},
"/core/groups/update": {
"bodyKeys": [
"name",
"type"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新组 [name][type]",
"formatEN": "update group [name][type]"
},
"/core/licenses/bind": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "绑定许可证",
"formatEN": "bind license"
},
"/core/licenses/bind/free": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "修改许可证免费节点绑定",
"formatEN": "change bind of free node for license"
},
"/core/licenses/del": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "删除许可证",
"formatEN": "delete license"
},
"/core/licenses/sync": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "同步许可证信息",
"formatEN": "sync license info"
},
"/core/licenses/unbind": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "解绑许可证",
"formatEN": "unbind license"
},
"/core/licenses/update": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "替换许可证",
"formatEN": "change license"
},
"/core/licenses/upload": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "添加许可证",
"formatEN": "import license"
},
"/core/logs/clean": {
"bodyKeys": [
"logType"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "清空 [logType] 日志信息",
"formatEN": "Clean the [logType] log information"
},
"/core/script": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "添加脚本库脚本 [name]",
"formatEN": "add script [name]"
},
"/core/script/del": {
"bodyKeys": [
"ids"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "ids",
"isList": true,
"db": "script_librarys",
"output_column": "name",
"output_value": "names"
}
],
"formatZH": "删除脚本库脚本 [names]",
"formatEN": "delete script [names]"
},
"/core/script/sync": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "同步脚本库脚本",
"formatEN": "sync scripts"
},
"/core/script/update": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "cronjobs",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "更新脚本库脚本 [name]",
"formatEN": "update script [name]"
},
"/core/settings/bind/update": {
"bodyKeys": [
"ipv6",
"bindAddress"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "修改系统监听信息 =\u003e ipv6: [ipv6], 监听 IP: [bindAddress]",
"formatEN": "update system bind info =\u003e ipv6: [ipv6], 监听 IP: [bindAddress]"
},
"/core/settings/memo": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新仪表盘备忘录",
"formatEN": "update dashboard memo"
},
"/core/settings/menu/default": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "初始化菜单",
"formatEN": "Init menu."
},
"/core/settings/menu/update": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "隐藏高级功能菜单",
"formatEN": "Hide advanced feature menu."
},
"/core/settings/port/update": {
"bodyKeys": [
"serverPort"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "修改系统端口 =\u003e [serverPort]",
"formatEN": "update system port =\u003e [serverPort]"
},
"/core/settings/proxy/update": {
"bodyKeys": [
"proxyUrl",
"proxyPort"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "服务器代理配置 [proxyPort]:[proxyPort]",
"formatEN": "set proxy [proxyPort]:[proxyPort]."
},
"/core/settings/ssl/reload": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "重载系统 SSL",
"formatEN": "reload system SSL"
},
"/core/settings/ssl/update": {
"bodyKeys": [
"ssl"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "修改系统 ssl =\u003e [ssl]",
"formatEN": "update system ssl =\u003e [ssl]"
},
"/core/settings/terminal/update": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "修改系统终端配置",
"formatEN": "update system terminal setting"
},
"/core/settings/update": {
"bodyKeys": [
"key",
"value"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "修改系统配置 [key] =\u003e [value]",
"formatEN": "update system setting [key] =\u003e [value]"
},
"/core/settings/upgrade": {
"bodyKeys": [
"version"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新系统 =\u003e [version]",
"formatEN": "upgrade system =\u003e [version]"
},
"/core/xapp/appQRCode": {
"bodyKeys": [
"panelName",
"panelUrl"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "生成移动端绑定二维码 [panelName]",
"formatEN": "generate mobile app QR code [panelName]"
},
"/core/xapp/verifyQRCode": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "校验移动端绑定二维码",
"formatEN": "verify mobile app QR code"
},
"/core/xpack/alert/offline/sync": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "同步离线告警",
"formatEN": "sync offline alert"
},
"/core/xpack/cluster": {
"bodyKeys": [
"clusterName",
"node",
"app"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建集群 [clusterName]",
"formatEN": "create cluster [clusterName]"
},
"/core/xpack/cluster/node": {
"bodyKeys": [
"clusterID",
"node",
"name"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "clusterID",
"isList": false,
"db": "clusters",
"output_column": "name",
"output_value": "clusterName"
}
],
"formatZH": "添加集群 [clusterName] 节点 [node]",
"formatEN": "add node [node] to cluster [clusterName]"
},
"/core/xpack/cluster/node/delete": {
"bodyKeys": [
"clusterID",
"clusterNodeID"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "clusterID",
"isList": false,
"db": "clusters",
"output_column": "name",
"output_value": "clusterName"
}
],
"formatZH": "删除集群 [clusterName] 节点 [clusterNodeID]",
"formatEN": "delete node [clusterNodeID] from cluster [clusterName]"
},
"/core/xpack/exchange/file": {
"bodyKeys": [
"sourceNode",
"targetNode",
"sourcePath",
"targetPath"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "交换文件 [sourcePath] 到 [targetPath]",
"formatEN": "exchange file [sourcePath] to [targetPath]"
},
"/core/xpack/exchange/image": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "同步节点镜像",
"formatEN": "sync images"
},
"/core/xpack/nodes": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "添加节点 [name]",
"formatEN": "add node [name]"
},
"/core/xpack/nodes/backup": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "备份主节点数据",
"formatEN": "backup master data"
},
"/core/xpack/nodes/backup/clean": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "清理主节点备份记录",
"formatEN": "clean master backup records"
},
"/core/xpack/nodes/backup/update": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "修改主节点备份设置",
"formatEN": "update master backup setting"
},
"/core/xpack/nodes/del": {
"bodyKeys": [
"ids"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "ids",
"isList": true,
"db": "nodes",
"output_column": "name",
"output_value": "names"
}
],
"formatZH": "删除节点 [names]",
"formatEN": "delete node [names]"
},
"/core/xpack/nodes/favorite": {
"bodyKeys": [
"id",
"isFavorite"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "nodes",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "更新节点 [name] 收藏状态 [isFavorite]",
"formatEN": "update node [name] favorite [isFavorite]"
},
"/core/xpack/nodes/fix": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "nodes",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "修复节点 [name]",
"formatEN": "fix node [name]"
},
"/core/xpack/nodes/health/setting": {
"bodyKeys": [
"interval",
"autoCheckFailedNodes",
"loadFailedResources"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新节点健康检查设置",
"formatEN": "update node health check setting"
},
"/core/xpack/nodes/reinstall": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "nodes",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "重装节点 [name]",
"formatEN": "reinstall node [name]"
},
"/core/xpack/nodes/restart": {
"bodyKeys": [
"id",
"restartService"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "nodes",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "重启节点 [name] 服务 [restartService]",
"formatEN": "restart node [name] service [restartService]"
},
"/core/xpack/nodes/rollback": {
"bodyKeys": [
"nodeID"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "nodeID",
"isList": false,
"db": "nodes",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "回滚节点 [name]",
"formatEN": "rollback node [name]"
},
"/core/xpack/nodes/simple": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "添加节点 [name]",
"formatEN": "add node [name]"
},
"/core/xpack/nodes/simple/del": {
"bodyKeys": [
"ids"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "ids",
"isList": true,
"db": "simple_nodes",
"output_column": "name",
"output_value": "names"
}
],
"formatZH": "删除节点 [names]",
"formatEN": "delete node [names]"
},
"/core/xpack/nodes/simple/update": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 [name]",
"formatEN": "update node [name]"
},
"/core/xpack/nodes/simple/update/base": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 [name] 基础信息",
"formatEN": "update base info for node [name]"
},
"/core/xpack/nodes/sync": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "nodes",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "同步节点数据 [name]",
"formatEN": "sync node [name]"
},
"/core/xpack/nodes/update": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 [name]",
"formatEN": "update node [name]"
},
"/core/xpack/nodes/update/base": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 [name] 基础信息",
"formatEN": "update base info for node [name]"
},
"/core/xpack/nodes/update/proxy": {
"bodyKeys": [
"id",
"enable"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "nodes",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "更新节点 [name] 代理设置 [enable]",
"formatEN": "update node [name] proxy setting [enable]"
},
"/core/xpack/nodes/upgrade": {
"bodyKeys": [
"ids"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "ids",
"isList": true,
"db": "nodes",
"output_column": "name",
"output_value": "names"
}
],
"formatZH": "升级节点 [names]",
"formatEN": "upgrade node [names]"
},
"/core/xpack/nodes/upgrade/auto": {
"bodyKeys": [
"nodes"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新节点自动升级设置",
"formatEN": "update node auto upgrade setting"
},
"/core/xpack/nodes/upgrade/clean": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "清理节点升级包",
"formatEN": "clean node upgrade package"
},
"/core/xpack/nodes/upgrade/log/del": {
"bodyKeys": [
"nodeID"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "nodeID",
"isList": false,
"db": "nodes",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "删除节点更新日志 [name]",
"formatEN": "delete node upgrade log [name]"
},
"/core/xpack/settings/app/custom": {
"bodyKeys": [
"status",
"appStoreUrl",
"appStoreType"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新自定义应用配置 [status]",
"formatEN": "update custom app config [status]"
},
"/core/xpack/settings/app/image-prefix": {
"bodyKeys": [
"imagePrefix"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新应用镜像前缀 [imagePrefix]",
"formatEN": "update app image prefix [imagePrefix]"
},
"/core/xpack/settings/reset": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "重置专业版设置",
"formatEN": "reset xpack settings"
},
"/core/xpack/settings/update": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新专业版设置",
"formatEN": "update xpack settings"
},
"/core/xpack/settings/update/item": {
"bodyKeys": [
"key",
"value"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新专业版设置 [key]",
"formatEN": "update xpack setting [key]"
},
"/core/xpack/sync/app": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "同步节点应用",
"formatEN": "sync app"
},
"/core/xpack/sync/ssl": {
"bodyKeys": [
"primaryDomain"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "同步 SSL 证书 [primaryDomain]",
"formatEN": "sync SSL certificate [primaryDomain]"
},
"/cronjobs": {
"bodyKeys": [
"type",
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建计划任务 [type][name]",
"formatEN": "create cronjob [type][name]"
},
"/cronjobs/del": {
"bodyKeys": [
"ids"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "ids",
"isList": true,
"db": "cronjobs",
"output_column": "name",
"output_value": "names"
}
],
"formatZH": "删除计划任务 [names]",
"formatEN": "delete cronjob [names]"
},
"/cronjobs/group/update": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "cronjobs",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "更新计划任务分组 [name]",
"formatEN": "update cronjob group [name]"
},
"/cronjobs/handle": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "cronjobs",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "手动执行计划任务 [name]",
"formatEN": "manually execute the cronjob [name]"
},
"/cronjobs/records/clean": {
"bodyKeys": [
"cronjobID"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "cronjobID",
"isList": false,
"db": "cronjobs",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "清空计划任务记录 [name]",
"formatEN": "clean cronjob [name] records"
},
"/cronjobs/status": {
"bodyKeys": [
"id",
"status"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "cronjobs",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "修改计划任务 [name] 状态为 [status]",
"formatEN": "change the status of cronjob [name] to [status]."
},
"/cronjobs/update": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "cronjobs",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "更新计划任务 [name]",
"formatEN": "update cronjob [name]"
},
"/custom/app/config": {
"bodyKeys": [
"status",
"appStoreUrl",
"appStoreType"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新自定义应用配置 [status]",
"formatEN": "update custom app config [status]"
},
"/custom/app/image-prefix": {
"bodyKeys": [
"imagePrefix"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新应用镜像前缀 [imagePrefix]",
"formatEN": "update app image prefix [imagePrefix]"
},
"/custom/app/sync": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "同步自定义应用商店",
"formatEN": "sync custom app store"
},
"/dashboard/app/launcher/show": {
"bodyKeys": [
"key",
"value"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "首页应用 [key] =\u003e 显示:[value]",
"formatEN": "app launcher [key] =\u003e show: [value]"
},
"/dashboard/quick/change": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "切换快速跳转",
"formatEN": "change quick jump"
},
"/databases": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建 mysql 数据库 [name]",
"formatEN": "create mysql database [name]"
},
"/databases/change/access": {
"bodyKeys": [
"database"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新数据库 [database] root 访问权限",
"formatEN": "Update database [database] root access"
},
"/databases/change/password": {
"bodyKeys": [
"database"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新数据库 [database] root 密码",
"formatEN": "Update database [database] root password"
},
"/databases/common/update/conf": {
"bodyKeys": [
"type",
"database"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 [type] 数据库 [database] 配置信息",
"formatEN": "update the [type] [database] database configuration information"
},
"/databases/db": {
"bodyKeys": [
"name",
"type"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建远程数据库 [name][type]",
"formatEN": "create database [name][type]"
},
"/databases/db/check": {
"bodyKeys": [
"name",
"type"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "检测远程数据库 [name][type] 连接性",
"formatEN": "check if database [name][type] is connectable"
},
"/databases/db/del": {
"bodyKeys": [
"ids"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "ids",
"isList": true,
"db": "databases",
"output_column": "name",
"output_value": "names"
}
],
"formatZH": "删除远程数据库 [names]",
"formatEN": "delete database [names]"
},
"/databases/db/update": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新远程数据库 [name]",
"formatEN": "update database [name]"
},
"/databases/del": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "database_mysqls",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "删除 mysql 数据库 [name]",
"formatEN": "delete mysql database [name]"
},
"/databases/description/update": {
"bodyKeys": [
"id",
"description"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "database_mysqls",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "mysql 数据库 [name] 描述信息修改 [description]",
"formatEN": "The description of the mysql database [name] is modified =\u003e [description]"
},
"/databases/grants": {
"bodyKeys": [
"database",
"db",
"username",
"host"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "授权 mysql 数据库 [database] 用户 [username]@[host] 访问 [db]",
"formatEN": "grant mysql database [database] user [username]@[host] access to [db]"
},
"/databases/grants/del": {
"bodyKeys": [
"database",
"db",
"username",
"host"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "取消 mysql 数据库 [database] 用户 [username]@[host] 对 [db] 的授权",
"formatEN": "revoke mysql database [database] user [username]@[host] access to [db]"
},
"/databases/mongodb": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建 mongodb 数据库 [name]",
"formatEN": "create mongodb database [name]"
},
"/databases/mongodb/bind": {
"bodyKeys": [
"database",
"name",
"username"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "绑定 mongodb 数据库 [database] [name] 用户 [username]",
"formatEN": "bind mongodb database [database] [name] user [username]"
},
"/databases/mongodb/del": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "database_mongodbs",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "删除 mongodb 数据库 [name]",
"formatEN": "delete mongodb database [name]"
},
"/databases/mongodb/description": {
"bodyKeys": [
"id",
"description"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "database_mongodbs",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "mongodb 数据库 [name] 描述信息修改 [description]",
"formatEN": "The description of the mongodb database [name] is modified =\u003e [description]"
},
"/databases/mongodb/password": {
"bodyKeys": [
"database",
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 mongodb 数据库 [database] [name] 密码",
"formatEN": "update mongodb database [database] [name] password"
},
"/databases/mongodb/privileges/change": {
"bodyKeys": [
"database",
"username"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 mongodb 数据库 [database] 用户 [username] 权限",
"formatEN": "update mongodb database [database] user [username] privileges"
},
"/databases/mongodb/root/password": {
"bodyKeys": [
"database"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 mongodb 数据库 [database] root 密码",
"formatEN": "update mongodb database [database] root password"
},
"/databases/pg": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建 postgresql 数据库 [name]",
"formatEN": "create postgresql database [name]"
},
"/databases/pg/bind": {
"bodyKeys": [
"name",
"username"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "绑定 postgresql 数据库 [name] 用户 [username]",
"formatEN": "bind postgresql database [name] user [username]"
},
"/databases/pg/del": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "database_postgresqls",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "删除 postgresql 数据库 [name]",
"formatEN": "delete postgresql database [name]"
},
"/databases/pg/description": {
"bodyKeys": [
"id",
"description"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "database_postgresqls",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "postgresql 数据库 [name] 描述信息修改 [description]",
"formatEN": "The description of the postgresql database [name] is modified =\u003e [description]"
},
"/databases/pg/password": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "database_postgresqls",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "更新数据库 [name] 密码",
"formatEN": "Update database [name] password"
},
"/databases/pg/privileges": {
"bodyKeys": [
"database",
"username"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新数据库 [database] 用户 [username] 权限",
"formatEN": "Update [username] privileges of database [database]"
},
"/databases/redis/conf/update": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 redis 数据库配置信息",
"formatEN": "update the redis database configuration information"
},
"/databases/redis/password": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "修改 redis 数据库密码",
"formatEN": "change the password of the redis database"
},
"/databases/redis/persistence/update": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "redis 数据库持久化配置更新",
"formatEN": "redis database persistence configuration update"
},
"/databases/users": {
"bodyKeys": [
"database",
"username",
"host"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建 mysql 数据库 [database] 用户 [username]@[host]",
"formatEN": "create mysql database [database] user [username]@[host]"
},
"/databases/users/del": {
"bodyKeys": [
"database",
"username",
"host"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "删除 mysql 数据库 [database] 用户 [username]@[host]",
"formatEN": "delete mysql database [database] user [username]@[host]"
},
"/databases/users/password": {
"bodyKeys": [
"database",
"username",
"host"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 mysql 数据库 [database] 用户 [username]@[host] 密码",
"formatEN": "update mysql database [database] user [username]@[host] password"
},
"/databases/users/password/save": {
"bodyKeys": [
"database",
"username",
"host"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "补充 mysql 数据库 [database] 用户 [username]@[host] 密码",
"formatEN": "save mysql database [database] user [username]@[host] password locally"
},
"/databases/users/update": {
"bodyKeys": [
"database",
"username",
"host",
"newHost",
"description"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 mysql 数据库 [database] 用户 [username] 访问权限 [host] =\u003e [newHost] 描述 [description]",
"formatEN": "update mysql database [database] user [username] access [host] =\u003e [newHost] description [description]"
},
"/databases/variables/update": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "调整 mysql 数据库性能参数",
"formatEN": "adjust mysql database performance parameters"
},
"/files": {
"bodyKeys": [
"path"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建文件/文件夹 [path]",
"formatEN": "Create dir or file [path]"
},
"/files/batch/del": {
"bodyKeys": [
"paths"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "批量删除文件/文件夹 [paths]",
"formatEN": "Batch delete dir or file [paths]"
},
"/files/batch/role": {
"bodyKeys": [
"paths",
"mode",
"user",
"group"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "批量修改文件权限和用户/组 [paths] =\u003e [mode]/[user]/[group]",
"formatEN": "Batch change file mode and owner [paths] =\u003e [mode]/[user]/[group]"
},
"/files/chunkdownload": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "下载文件 [name]",
"formatEN": "Download file [name]"
},
"/files/compress": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "压缩文件 [name]",
"formatEN": "Compress file [name]"
},
"/files/content": {
"bodyKeys": [
"path"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "获取文件内容 [path]",
"formatEN": "Load file content [path]"
},
"/files/decompress": {
"bodyKeys": [
"path"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "解压 [path]",
"formatEN": "Decompress file [path]"
},
"/files/del": {
"bodyKeys": [
"path"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "删除文件/文件夹 [path]",
"formatEN": "Delete dir or file [path]"
},
"/files/depth/size": {
"bodyKeys": [
"path"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "获取目录及其第一层子目录文件夹大小 [path]",
"formatEN": "Multi file size [path]"
},
"/files/favorite": {
"bodyKeys": [
"path"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "收藏文件/文件夹 [path]",
"formatEN": "收藏文件/文件夹 [path]"
},
"/files/favorite/del": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "favorites",
"output_column": "path",
"output_value": "path"
}
],
"formatZH": "删除收藏 [path]",
"formatEN": "delete avorite [path]"
},
"/files/mode": {
"bodyKeys": [
"path",
"mode"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "修改权限 [path] =\u003e [mode]",
"formatEN": "Change mode [path] =\u003e [mode]"
},
"/files/move": {
"bodyKeys": [
"oldPaths",
"newPath"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "移动文件 [oldPaths] =\u003e [newPath]",
"formatEN": "Move [oldPaths] =\u003e [newPath]"
},
"/files/owner": {
"bodyKeys": [
"path",
"user",
"group"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "修改用户/组 [path] =\u003e [user]/[group]",
"formatEN": "Change owner [path] =\u003e [user]/[group]"
},
"/files/preview": {
"bodyKeys": [
"path"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "预览文件内容 [path]",
"formatEN": "Preview file content [path]"
},
"/files/recycle/clear": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "清空回收站",
"formatEN": "清空回收站"
},
"/files/recycle/reduce": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "还原回收站文件 [name]",
"formatEN": "Reduce RecycleBin file [name]"
},
"/files/rename": {
"bodyKeys": [
"oldName",
"newName"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "重命名 [oldName] =\u003e [newName]",
"formatEN": "Rename [oldName] =\u003e [newName]"
},
"/files/save": {
"bodyKeys": [
"path"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新文件内容 [path]",
"formatEN": "Update file content [path]"
},
"/files/share/create": {
"bodyKeys": [
"path",
"expireMinutes"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建文件分享 [path]",
"formatEN": "Create file share [path]"
},
"/files/share/del": {
"bodyKeys": [
"path"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "关闭文件分享 [path]",
"formatEN": "Close file share [path]"
},
"/files/size": {
"bodyKeys": [
"path"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "获取文件夹大小 [path]",
"formatEN": "Load file size [path]"
},
"/files/upload": {
"bodyKeys": [
"path",
"file"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "上传文件 [path]/[file]",
"formatEN": "Upload file [path]/[file]"
},
"/files/wget": {
"bodyKeys": [
"url",
"path",
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "下载 url =\u003e [path]/[name]",
"formatEN": "Download url =\u003e [path]/[name]"
},
"/files/wget/process/remove": {
"bodyKeys": [
"keys"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "移除已结束下载记录 [keys]",
"formatEN": "Remove finished download records [keys]"
},
"/files/wget/stop": {
"bodyKeys": [
"key"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "停止下载任务 [key]",
"formatEN": "Stop wget task [key]"
},
"/groups": {
"bodyKeys": [
"name",
"type"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建组 [name][type]",
"formatEN": "create group [name][type]"
},
"/groups/del": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "groups",
"output_column": "name",
"output_value": "name"
},
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "groups",
"output_column": "type",
"output_value": "type"
}
],
"formatZH": "删除组 [type][name]",
"formatEN": "delete group [type][name]"
},
"/groups/update": {
"bodyKeys": [
"name",
"type"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新组 [name][type]",
"formatEN": "update group [name][type]"
},
"/hosts": {
"bodyKeys": [
"name",
"addr"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建主机 [name][addr]",
"formatEN": "create host [name][addr]"
},
"/hosts/del": {
"bodyKeys": [
"ids"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "ids",
"isList": true,
"db": "hosts",
"output_column": "name",
"output_value": "names"
}
],
"formatZH": "删除主机 [names]",
"formatEN": "delete host [names]"
},
"/hosts/disks/mount": {
"bodyKeys": [
"device",
"mountPoint"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "挂载磁盘 [device] 到 [mountPoint]",
"formatEN": "Mount disk [device] to [mountPoint]"
},
"/hosts/disks/partition": {
"bodyKeys": [
"device",
"filesystem",
"mountPoint"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "对磁盘 [device] 进行分区,文件系统 [filesystem],挂载点 [mountPoint]",
"formatEN": "Partition disk [device] with filesystem [filesystem], mount point [mountPoint]"
},
"/hosts/disks/unmount": {
"bodyKeys": [
"device",
"mountPoint"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "卸载磁盘 [device] 从 [mountPoint]",
"formatEN": "Unmount disk [device] from [mountPoint]"
},
"/hosts/firewall/docker/operate": {
"bodyKeys": [
"operation"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "[operation] Docker 端口防护",
"formatEN": "[operation] Docker port guard"
},
"/hosts/firewall/docker/policies/batch": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "批量更新 Docker 端口防护策略",
"formatEN": "batch update Docker port guard policies"
},
"/hosts/firewall/docker/policies/delete/batch": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "删除 Docker 端口防护策略",
"formatEN": "delete Docker port guard policies"
},
"/hosts/firewall/family/operate": {
"bodyKeys": [
"subsystem",
"family",
"operation"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "[operation] [subsystem] [family] 防火墙链",
"formatEN": "[operation] [subsystem] [family] firewall chains"
},
"/hosts/firewall/filter/operate": {
"bodyKeys": [
"operate"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "[operate] 防火墙过滤链",
"formatEN": "[operate] firewall filter chain"
},
"/hosts/firewall/forward/enable": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "初始化并启用端口转发",
"formatEN": "initialize and enable port forwarding"
},
"/hosts/firewall/forward/operate": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新端口转发规则",
"formatEN": "update port forward rules"
},
"/hosts/firewall/operate": {
"bodyKeys": [
"operation"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "[operation] 防火墙",
"formatEN": "[operation] firewall"
},
"/hosts/firewall/rules": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "添加防火墙规则",
"formatEN": "create firewall rules"
},
"/hosts/firewall/rules/delete": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "删除防火墙规则",
"formatEN": "delete firewall rules"
},
"/hosts/firewall/rules/reorder": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "调整防火墙规则顺序",
"formatEN": "reorder firewall rule"
},
"/hosts/firewall/rules/reset": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "重置防火墙规则",
"formatEN": "reset firewall rules"
},
"/hosts/firewall/rules/update": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新防火墙规则",
"formatEN": "update firewall rule"
},
"/hosts/firewall/settings/ipv6": {
"bodyKeys": [
"status"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "设置防火墙 IPv6 支持为 [status]",
"formatEN": "Set firewall IPv6 support to [status]"
},
"/hosts/firewall/settings/operate": {
"bodyKeys": [
"subsystem",
"backend",
"operation"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "防火墙子系统 [subsystem] 后端 [operation] [backend]",
"formatEN": "[operation] firewall [subsystem] backend [backend]"
},
"/hosts/firewall/settings/whitelist": {
"bodyKeys": [
"rule"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建防火墙端口白名单",
"formatEN": "create firewall port whitelist"
},
"/hosts/firewall/settings/whitelist/delete": {
"bodyKeys": [
"rules"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "删除防火墙端口白名单",
"formatEN": "delete firewall port whitelist"
},
"/hosts/firewall/settings/whitelist/update": {
"bodyKeys": [
"oldRule",
"rule"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "编辑防火墙端口白名单",
"formatEN": "update firewall port whitelist"
},
"/hosts/monitor/clean": {
"bodyKeys": [
"type"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "清空 [type] 监控数据",
"formatEN": "clean [type] monitoring data"
},
"/hosts/monitor/setting/update": {
"bodyKeys": [
"key",
"value"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "修改默认监控网卡 [key]-[value]",
"formatEN": "update default monitor [key]-[value]"
},
"/hosts/ssh/cert": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "生成 SSH 密钥 ",
"formatEN": "generate SSH secret"
},
"/hosts/ssh/cert/delete": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "删除 SSH 密钥 ",
"formatEN": "delete SSH secret"
},
"/hosts/ssh/cert/sync": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "同步 SSH 密钥 ",
"formatEN": "sync SSH secret"
},
"/hosts/ssh/cert/update": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "生成 SSH 密钥 ",
"formatEN": "generate SSH secret"
},
"/hosts/ssh/file/update": {
"bodyKeys": [
"key"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "修改 SSH 配置文件 [key]",
"formatEN": "update SSH conf [key]"
},
"/hosts/ssh/log/clean": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "清空 SSH 登录日志",
"formatEN": "clean SSH login logs"
},
"/hosts/ssh/operate": {
"bodyKeys": [
"operation"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "[operation] SSH ",
"formatEN": "[operation] SSH"
},
"/hosts/ssh/update": {
"bodyKeys": [
"key",
"newValue"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "修改 SSH 配置 [key] =\u003e [newValue]",
"formatEN": "update SSH setting [key] =\u003e [newValue]"
},
"/hosts/tool/config/set": {
"bodyKeys": [
"type"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 [type] 主机工具配置文件 ",
"formatEN": "update [type] tool config"
},
"/hosts/tool/init": {
"bodyKeys": [
"type"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建 [type] 配置",
"formatEN": "create [type] config"
},
"/hosts/tool/operate": {
"bodyKeys": [
"operate",
"type"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "[operate] [type] ",
"formatEN": "[operate] [type]"
},
"/hosts/tool/supervisor/process": {
"bodyKeys": [
"operate"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "[operate] 守护进程 ",
"formatEN": "[operate] process"
},
"/hosts/tool/supervisor/process/file": {
"bodyKeys": [
"operate"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "[operate] Supervisor 进程文件 ",
"formatEN": "[operate] Supervisor Process Config file"
},
"/hosts/update": {
"bodyKeys": [
"name",
"addr"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新主机 [name][addr]",
"formatEN": "update host [name][addr]"
},
"/hosts/update/group": {
"bodyKeys": [
"id",
"groupID"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "hosts",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "更新主机 [name] 分组",
"formatEN": "update host [name] group"
},
"/openresty/build": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "构建 OpenResty",
"formatEN": "Build OpenResty"
},
"/openresty/file": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 nginx 配置",
"formatEN": "Update nginx conf"
},
"/openresty/modules/update": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 OpenResty 模块",
"formatEN": "Update OpenResty module"
},
"/openresty/update": {
"bodyKeys": [
"websiteId"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "websiteId",
"isList": false,
"db": "websites",
"output_column": "primary_domain",
"output_value": "domain"
}
],
"formatZH": "更新 nginx 配置 [domain]",
"formatEN": "Update nginx conf [domain]"
},
"/process/stop": {
"bodyKeys": [
"PID"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "结束进程 [PID]",
"formatEN": "结束进程 [PID]"
},
"/runtimes": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建运行环境 [name]",
"formatEN": "Create runtime [name]"
},
"/runtimes/del": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "删除运行环境 [id]",
"formatEN": "Delete runtime [id]"
},
"/runtimes/operate": {
"bodyKeys": [
"ID"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "ID",
"isList": false,
"db": "runtimes",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "操作运行环境 [name]",
"formatEN": "Operate runtime [name]"
},
"/runtimes/php/config": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "websites",
"output_column": "primary_domain",
"output_value": "domain"
}
],
"formatZH": "[domain] PHP 配置修改",
"formatEN": "[domain] PHP conf update"
},
"/runtimes/php/update": {
"bodyKeys": [
"websiteId"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "websiteId",
"isList": false,
"db": "websites",
"output_column": "primary_domain",
"output_value": "domain"
}
],
"formatZH": "php 配置修改 [domain]",
"formatEN": "Nginx conf update [domain]"
},
"/runtimes/update": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新运行环境 [name]",
"formatEN": "Update runtime [name]"
},
"/settings/files/ai/update": {
"bodyKeys": [
"aiStatus",
"aiAccountId"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新文件管理 AI 设置 [aiStatus][aiAccountId]",
"formatEN": "update file manage AI setting [aiStatus][aiAccountId]"
},
"/settings/snapshot": {
"bodyKeys": [
"from",
"description"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建系统快照 [description] 到 [from]",
"formatEN": "Create system backup [description] to [from]"
},
"/settings/snapshot/del": {
"bodyKeys": [
"ids"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "ids",
"isList": true,
"db": "snapshots",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "删除系统快照 [name]",
"formatEN": "Delete system backup [name]"
},
"/settings/snapshot/description/update": {
"bodyKeys": [
"id",
"description"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "snapshots",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "快照 [name] 描述信息修改 [description]",
"formatEN": "The description of the snapshot [name] is modified =\u003e [description]"
},
"/settings/snapshot/import": {
"bodyKeys": [
"from",
"names"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "从 [from] 同步系统快照 [names]",
"formatEN": "Sync system snapshots [names] from [from]"
},
"/settings/snapshot/recover": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "snapshots",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "从系统快照 [name] 恢复",
"formatEN": "Recover from system backup [name]"
},
"/settings/snapshot/recreate": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "snapshots",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "重试创建快照 [name]",
"formatEN": "recrete the snapshot [name]"
},
"/settings/snapshot/rollback": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "snapshots",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "从系统快照 [name] 回滚",
"formatEN": "Rollback from system backup [name]"
},
"/settings/ssh/default": {
"bodyKeys": [
"defaultConn"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "本地终端默认连接 [defaultConn]",
"formatEN": "update system default conn [defaultConn]"
},
"/settings/terminal/ai/update": {
"bodyKeys": [
"aiStatus",
"aiAccountId"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新终端 AI 设置 [aiStatus][aiAccountId]",
"formatEN": "update terminal AI setting [aiStatus][aiAccountId]"
},
"/settings/update": {
"bodyKeys": [
"key",
"value"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "修改系统配置 [key] =\u003e [value]",
"formatEN": "update system setting [key] =\u003e [value]"
},
"/toolbox/clam": {
"bodyKeys": [
"name",
"path"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建扫描规则 [name][path]",
"formatEN": "create clam [name][path]"
},
"/toolbox/clam/del": {
"bodyKeys": [
"ids"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "ids",
"isList": true,
"db": "clams",
"output_column": "name",
"output_value": "names"
}
],
"formatZH": "删除扫描规则 [names]",
"formatEN": "delete clam [names]"
},
"/toolbox/clam/handle": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": true,
"db": "clams",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "执行病毒扫描 [name]",
"formatEN": "handle clam scan [name]"
},
"/toolbox/clam/operate": {
"bodyKeys": [
"operation"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "[operation] Clam",
"formatEN": "[operation] Clam"
},
"/toolbox/clam/record/clean": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": true,
"db": "clams",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "清空扫描报告 [name]",
"formatEN": "clean clam record [name]"
},
"/toolbox/clam/status/update": {
"bodyKeys": [
"id",
"status"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "clams",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "修改扫描规则 [name] 状态为 [status]",
"formatEN": "change the status of clam [name] to [status]."
},
"/toolbox/clam/update": {
"bodyKeys": [
"name",
"path"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "修改扫描规则 [name][path]",
"formatEN": "update clam [name][path]"
},
"/toolbox/clean": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "清理系统垃圾文件",
"formatEN": "Clean system junk files"
},
"/toolbox/device/update/conf": {
"bodyKeys": [
"key",
"value"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "修改主机参数 [key] =\u003e [value]",
"formatEN": "update device conf [key] =\u003e [value]"
},
"/toolbox/device/update/host": {
"bodyKeys": [
"key",
"value"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "修改主机 Host [key] =\u003e [value]",
"formatEN": "update device host [key] =\u003e [value]"
},
"/toolbox/device/update/swap": {
"bodyKeys": [
"operate",
"path"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "[operate] 主机 swap [path]",
"formatEN": "[operate] device swap [path]"
},
"/toolbox/fail2ban/operate": {
"bodyKeys": [
"operation"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "[operation] Fail2ban",
"formatEN": "[operation] Fail2ban"
},
"/toolbox/fail2ban/update": {
"bodyKeys": [
"key",
"value"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "修改 Fail2ban 配置 [key] =\u003e [value]",
"formatEN": "update fail2ban conf [key] =\u003e [value]"
},
"/toolbox/ftp": {
"bodyKeys": [
"user",
"path"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建 FTP 账户 [user][path]",
"formatEN": "create FTP [user][path]"
},
"/toolbox/ftp/del": {
"bodyKeys": [
"ids"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "ids",
"isList": true,
"db": "ftps",
"output_column": "user",
"output_value": "users"
}
],
"formatZH": "删除 FTP 账户 [users]",
"formatEN": "delete FTP users [users]"
},
"/toolbox/ftp/operate": {
"bodyKeys": [
"operation"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "[operation] FTP",
"formatEN": "[operation] FTP"
},
"/toolbox/ftp/sync": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "同步 FTP 账户",
"formatEN": "sync FTP users"
},
"/toolbox/ftp/update": {
"bodyKeys": [
"user",
"path"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "修改 FTP 账户 [user][path]",
"formatEN": "update FTP [user][path]"
},
"/toolbox/scan": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "扫描系统垃圾文件",
"formatEN": "scan System Junk Files"
},
"/websites": {
"bodyKeys": [
"alias"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建网站 [alias]",
"formatEN": "Create website [alias]"
},
"/websites/:id/https": {
"bodyKeys": [
"websiteId"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "websiteId",
"isList": false,
"db": "websites",
"output_column": "primary_domain",
"output_value": "domain"
}
],
"formatZH": "更新网站 [domain] https 配置",
"formatEN": "Update website https [domain] conf"
},
"/websites/acme": {
"bodyKeys": [
"email"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建网站 acme [email]",
"formatEN": "Create website acme [email]"
},
"/websites/acme/del": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "website_acme_accounts",
"output_column": "email",
"output_value": "email"
}
],
"formatZH": "删除网站 acme [email]",
"formatEN": "Delete website acme [email]"
},
"/websites/acme/update": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "website_acme_accounts",
"output_column": "email",
"output_value": "email"
}
],
"formatZH": "更新 acme [email]",
"formatEN": "Update acme [email]"
},
"/websites/ca": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建网站 ca [name]",
"formatEN": "Create website ca [name]"
},
"/websites/ca/del": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "website_cas",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "删除网站 ca [name]",
"formatEN": "Delete website ca [name]"
},
"/websites/ca/download": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "website_cas",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "下载 CA 证书文件 [name]",
"formatEN": "download ca file [name]"
},
"/websites/ca/obtain": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "website_cas",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "自签 SSL 证书 [name]",
"formatEN": "Obtain SSL [name]"
},
"/websites/ca/renew": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "website_cas",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "自签 SSL 证书 [name]",
"formatEN": "Obtain SSL [name]"
},
"/websites/config/update": {
"bodyKeys": [
"websiteId"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "websiteId",
"isList": false,
"db": "websites",
"output_column": "primary_domain",
"output_value": "domain"
}
],
"formatZH": "nginx 配置修改 [domain]",
"formatEN": "Nginx conf update [domain]"
},
"/websites/default/html/update": {
"bodyKeys": [
"type"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新默认 html",
"formatEN": "Update default html"
},
"/websites/default/server": {
"bodyKeys": [
"id",
"operate"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "websites",
"output_column": "primary_domain",
"output_value": "domain"
}
],
"formatZH": "修改默认 server =\u003e [domain]",
"formatEN": "Change default server =\u003e [domain]"
},
"/websites/del": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "websites",
"output_column": "primary_domain",
"output_value": "domain"
}
],
"formatZH": "删除网站 [domain]",
"formatEN": "Delete website [domain]"
},
"/websites/dir/permission": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "websites",
"output_column": "primary_domain",
"output_value": "domain"
}
],
"formatZH": "更新网站 [domain] 目录权限",
"formatEN": "Update domain [domain] dir permission"
},
"/websites/dir/update": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "websites",
"output_column": "primary_domain",
"output_value": "domain"
}
],
"formatZH": "更新网站 [domain] 目录",
"formatEN": "Update domain [domain] dir"
},
"/websites/dns": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建网站 dns [name]",
"formatEN": "Create website dns [name]"
},
"/websites/dns/del": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "website_dns_accounts",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "删除网站 dns [name]",
"formatEN": "Delete website dns [name]"
},
"/websites/dns/update": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新网站 dns [name]",
"formatEN": "Update website dns [name]"
},
"/websites/domains": {
"bodyKeys": [
"domain"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建域名 [domain]",
"formatEN": "Create domain [domain]"
},
"/websites/domains/del": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "website_domains",
"output_column": "domain",
"output_value": "domain"
}
],
"formatZH": "删除域名 [domain]",
"formatEN": "Delete domain [domain]"
},
"/websites/domains/update": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "website_domains",
"output_column": "domain",
"output_value": "domain"
}
],
"formatZH": "更新域名 [domain]",
"formatEN": "Update domain [domain]"
},
"/websites/group/change": {
"bodyKeys": [
"group",
"newGroup"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "网站分组 [group] 迁移到 [newGroup]",
"formatEN": "change website group [group] to [newGroup]"
},
"/websites/log/operate": {
"bodyKeys": [
"id",
"operate"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "websites",
"output_column": "primary_domain",
"output_value": "domain"
}
],
"formatZH": "[domain][operate] 日志",
"formatEN": "[domain][operate] logs"
},
"/websites/nginx/update": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "websites",
"output_column": "primary_domain",
"output_value": "domain"
}
],
"formatZH": "[domain] Nginx 配置修改",
"formatEN": "[domain] Nginx conf update"
},
"/websites/operate": {
"bodyKeys": [
"id",
"operate"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "websites",
"output_column": "primary_domain",
"output_value": "domain"
}
],
"formatZH": "[operate] 网站 [domain]",
"formatEN": "[operate] website [domain]"
},
"/websites/php/version": {
"bodyKeys": [
"websiteId"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "websiteId",
"isList": false,
"db": "websites",
"output_column": "primary_domain",
"output_value": "domain"
}
],
"formatZH": "php 版本变更 [domain]",
"formatEN": "php version update [domain]"
},
"/websites/proxies/delete": {
"bodyKeys": [
"id",
"name"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "websites",
"output_column": "primary_domain",
"output_value": "domain"
}
],
"formatZH": "删除网站 [domain] 反向代理配置 [name] ",
"formatEN": "Delete domain [domain] proxy config [name]"
},
"/websites/proxies/file": {
"bodyKeys": [
"websiteID",
"name"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "websiteID",
"isList": false,
"db": "websites",
"output_column": "primary_domain",
"output_value": "domain"
}
],
"formatZH": "修改网站 [domain] 反向代理配置文件 [name] ",
"formatEN": "Update domain [domain] proxy config file [name]"
},
"/websites/proxies/status": {
"bodyKeys": [
"id",
"name",
"status"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "websites",
"output_column": "primary_domain",
"output_value": "domain"
}
],
"formatZH": "修改网站 [domain] 反向代理配置 [name] 状态 [status] ",
"formatEN": "Update domain [domain] proxy config [name] status [status]"
},
"/websites/proxies/update": {
"bodyKeys": [
"id",
"name",
"operate"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "websites",
"output_column": "primary_domain",
"output_value": "domain"
}
],
"formatZH": "修改 [operate] 网站 [domain] 反向代理配置 [name] ",
"formatEN": "Update [operate] domain [domain] proxy config [name]"
},
"/websites/proxy/clear": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "清理 Openresty 代理缓存",
"formatEN": "Clear nginx proxy cache"
},
"/websites/realip/config": {
"bodyKeys": [
"websiteID"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "websiteID",
"isList": false,
"db": "websites",
"output_column": "primary_domain",
"output_value": "domain"
}
],
"formatZH": "修改 [domain] 网站真实IP配置 ",
"formatEN": "Modify the real IP configuration of [domain] website"
},
"/websites/redirect/file": {
"bodyKeys": [
"websiteID"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "websiteID",
"isList": false,
"db": "websites",
"output_column": "primary_domain",
"output_value": "domain"
}
],
"formatZH": "更新重定向文件 [domain]",
"formatEN": "Nginx conf redirect file update [domain]"
},
"/websites/redirect/update": {
"bodyKeys": [
"websiteID"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "websiteID",
"isList": false,
"db": "websites",
"output_column": "primary_domain",
"output_value": "domain"
}
],
"formatZH": "修改网站 [domain] 重定向配置 ",
"formatEN": "Update domain [domain] redirect config"
},
"/websites/rewrite/update": {
"bodyKeys": [
"websiteID"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "websiteID",
"isList": false,
"db": "websites",
"output_column": "primary_domain",
"output_value": "domain"
}
],
"formatZH": "伪静态配置修改 [domain]",
"formatEN": "Nginx conf rewrite update [domain]"
},
"/websites/ssl": {
"bodyKeys": [
"primaryDomain"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建网站 ssl [primaryDomain]",
"formatEN": "Create website ssl [primaryDomain]"
},
"/websites/ssl/del": {
"bodyKeys": [
"ids"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "ids",
"isList": true,
"db": "website_ssls",
"output_column": "primary_domain",
"output_value": "domain"
}
],
"formatZH": "删除 ssl [domain]",
"formatEN": "Delete ssl [domain]"
},
"/websites/ssl/download": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "website_ssls",
"output_column": "primary_domain",
"output_value": "domain"
}
],
"formatZH": "下载证书文件 [domain]",
"formatEN": "download ssl file [domain]"
},
"/websites/ssl/import": {
"bodyKeys": [
"primaryDomain"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "导入主节点证书 [primaryDomain]",
"formatEN": "import master SSL [primaryDomain]"
},
"/websites/ssl/obtain": {
"bodyKeys": [
"ID"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "ID",
"isList": false,
"db": "website_ssls",
"output_column": "primary_domain",
"output_value": "domain"
}
],
"formatZH": "申请证书 [domain]",
"formatEN": "apply ssl [domain]"
},
"/websites/ssl/push": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "website_ssls",
"output_column": "primary_domain",
"output_value": "domain"
}
],
"formatZH": "推送证书到节点 [domain]",
"formatEN": "Push ssl to nodes [domain]"
},
"/websites/ssl/update": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "website_ssls",
"output_column": "primary_domain",
"output_value": "domain"
}
],
"formatZH": "更新证书设置 [domain]",
"formatEN": "Update ssl config [domain]"
},
"/websites/ssl/upload": {
"bodyKeys": [
"type"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "上传 ssl [type]",
"formatEN": "Upload ssl [type]"
},
"/websites/ssl/upload/file": {
"bodyKeys": [
"type"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "上传 ssl 文件 [type]",
"formatEN": "Upload ssl file [type]"
},
"/websites/templates": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建网站模板 [name]",
"formatEN": "Create website template [name]"
},
"/websites/templates/del": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "website_templates",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "删除网站模板 [name]",
"formatEN": "Delete website template [name]"
},
"/websites/templates/outputs": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "生成模板产物 [name]",
"formatEN": "Generate template output [name]"
},
"/websites/templates/outputs/del": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "website_template_outputs",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "删除模板产物 [name]",
"formatEN": "Delete template output [name]"
},
"/websites/templates/update": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新网站模板 [name]",
"formatEN": "Update website template [name]"
},
"/websites/update": {
"bodyKeys": [
"primaryDomain"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新网站 [primaryDomain]",
"formatEN": "Update website [primaryDomain]"
},
"/xpack/alert/logs/sync": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "同步短信告警信息 [id]",
"formatEN": "sync SMS alert info [id]"
},
"/xpack/alert/logs/sync/all": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "同步全部短信告警信息",
"formatEN": "sync all SMS alert info"
},
"/xpack/alert/offline/update": {
"bodyKeys": [
"id",
"type",
"licenseId"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新离线告警日志 [id]",
"formatEN": "update offline alert log [id]"
},
"/xpack/model/downloader/hf/download": {
"bodyKeys": [
"repoID",
"revision"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "下载 Hugging Face 模型 [repoID]",
"formatEN": "download Hugging Face model [repoID]"
},
"/xpack/model/downloader/local/delete": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "删除本地模型 [name]",
"formatEN": "delete local model [name]"
},
"/xpack/model/downloader/modelscope/download": {
"bodyKeys": [
"repoID",
"revision"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "下载 ModelScope 模型 [repoID]",
"formatEN": "download ModelScope model [repoID]"
},
"/xpack/model/downloader/settings": {
"bodyKeys": [
"modelDir"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新模型下载设置 [modelDir]",
"formatEN": "update model downloader settings [modelDir]"
},
"/xpack/model/downloader/tasks/cancel": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "model_download_tasks",
"output_column": "repo_id",
"output_value": "repoID"
}
],
"formatZH": "取消模型下载任务 [repoID]",
"formatEN": "cancel model download task [repoID]"
},
"/xpack/model/downloader/tasks/remove": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "model_download_tasks",
"output_column": "repo_id",
"output_value": "repoID"
}
],
"formatZH": "移除模型下载任务 [repoID]",
"formatEN": "remove model download task [repoID]"
},
"/xpack/model/downloader/tasks/retry": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "model_download_tasks",
"output_column": "repo_id",
"output_value": "repoID"
}
],
"formatZH": "重试模型下载任务 [repoID]",
"formatEN": "retry model download task [repoID]"
},
"/xpack/monitor/config/global": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新全局设置",
"formatEN": "update global config"
},
"/xpack/monitor/config/site/update": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新网站设置",
"formatEN": "update website config"
},
"/xpack/monitor/logs/clear": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "清空日志",
"formatEN": "clear log"
},
"/xpack/tampers/del": {
"bodyKeys": [
"website",
"path",
"withDelete"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "删除防篡改 [website][path]",
"formatEN": "delete tamper [website][path]"
},
"/xpack/tampers/template": {
"bodyKeys": [
"name",
"content"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "保存防篡改模版 [name] - [content]",
"formatEN": "save tamper template info [name] - [content]"
},
"/xpack/tampers/template/del": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "tampers",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "删除防篡改模版 [name]",
"formatEN": "delete tamper template [name]"
},
"/xpack/tampers/update": {
"bodyKeys": [
"website",
"status",
"path"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新防篡改信息 [website][path] =\u003e [status]",
"formatEN": "update tamper info [website][path] =\u003e [status]"
},
"/xpack/vllm/command-template/create": {
"bodyKeys": [
"name",
"imageType"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建 vLLM 命令模板 [name]",
"formatEN": "create vLLM command template [name]"
},
"/xpack/vllm/command-template/delete": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "vllm_command_templates",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "删除 vLLM 命令模板 [name]",
"formatEN": "delete vLLM command template [name]"
},
"/xpack/vllm/command-template/update": {
"bodyKeys": [
"id",
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 vLLM 命令模板 [name]",
"formatEN": "update vLLM command template [name]"
},
"/xpack/vllm/create": {
"bodyKeys": [
"name",
"appVersion"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建 vLLM [name]",
"formatEN": "create vLLM [name]"
},
"/xpack/vllm/operate": {
"bodyKeys": [
"id",
"operate"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "vllms",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "操作 vLLM [name] [operate]",
"formatEN": "operate vLLM [name] [operate]"
},
"/xpack/vllm/update": {
"bodyKeys": [
"id",
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 vLLM [name]",
"formatEN": "update vLLM [name]"
},
"/xpack/vms": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建虚拟机 [name]",
"formatEN": "create VM [name]"
},
"/xpack/vms/del": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "virtual_machines",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "删除虚拟机 [name]",
"formatEN": "delete VM [name]"
},
"/xpack/vms/disks/resize": {
"bodyKeys": [
"name",
"target",
"sizeGiB"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "扩容虚拟机 [name] 磁盘 [target] 至 [sizeGiB] GiB",
"formatEN": "expand VM [name] disk [target] to [sizeGiB] GiB"
},
"/xpack/vms/environment/enable": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "启用虚拟机运行环境",
"formatEN": "enable VM runtime environment"
},
"/xpack/vms/iso": {
"bodyKeys": [
"name",
"type"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建虚拟机镜像 [name] [type]",
"formatEN": "create VM ISO [name] [type]"
},
"/xpack/vms/iso/del": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "vm_isos",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "删除虚拟机镜像 [name]",
"formatEN": "delete VM ISO [name]"
},
"/xpack/vms/iso/update": {
"bodyKeys": [
"name",
"type"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新虚拟机镜像 [name] [type]",
"formatEN": "update VM ISO [name] [type]"
},
"/xpack/vms/networks": {
"bodyKeys": [
"name",
"type"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建虚拟机网络 [name] [type]",
"formatEN": "create VM network [name] [type]"
},
"/xpack/vms/networks/del": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "vm_networks",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "删除虚拟机网络 [name]",
"formatEN": "delete VM network [name]"
},
"/xpack/vms/networks/update": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "vm_networks",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "更新虚拟机网络 [name]",
"formatEN": "update VM network [name]"
},
"/xpack/vms/operate": {
"bodyKeys": [
"name",
"operate"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "操作虚拟机 [name] [operate]",
"formatEN": "operate VM [name] [operate]"
},
"/xpack/vms/orphans/clean": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "清理虚拟机孤立数据",
"formatEN": "clean VM orphaned data"
},
"/xpack/vms/rename": {
"bodyKeys": [
"name",
"newName"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "重命名虚拟机 [name] 为 [newName]",
"formatEN": "rename VM [name] to [newName]"
},
"/xpack/vms/snapshots": {
"bodyKeys": [
"name",
"snapshotName"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建虚拟机 [name] 快照 [snapshotName]",
"formatEN": "create VM [name] snapshot [snapshotName]"
},
"/xpack/vms/snapshots/del": {
"bodyKeys": [
"name",
"snapshotName"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "删除虚拟机 [name] 快照 [snapshotName]",
"formatEN": "delete VM [name] snapshot [snapshotName]"
},
"/xpack/vms/snapshots/recover": {
"bodyKeys": [
"name",
"snapshotName"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "恢复虚拟机 [name] 快照 [snapshotName]",
"formatEN": "recover VM [name] snapshot [snapshotName]"
},
"/xpack/vms/storages": {
"bodyKeys": [
"name",
"type"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建虚拟机存储 [name] [type]",
"formatEN": "create VM storage [name] [type]"
},
"/xpack/vms/storages/del": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "vm_storages",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "删除虚拟机存储 [name]",
"formatEN": "delete VM storage [name]"
},
"/xpack/vms/storages/update": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "vm_storages",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "更新虚拟机存储 [name]",
"formatEN": "update VM storage [name]"
},
"/xpack/vms/sync": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "同步虚拟机",
"formatEN": "sync virtual machines"
},
"/xpack/vms/templates": {
"bodyKeys": [
"name",
"templateName"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建虚拟机 [name] 模板 [templateName]",
"formatEN": "create VM [name] template [templateName]"
},
"/xpack/vms/templates/del": {
"bodyKeys": [
"id"
],
"paramKeys": [],
"beforeFunctions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "vm_templates",
"output_column": "name",
"output_value": "name"
}
],
"formatZH": "删除虚拟机模板 [name]",
"formatEN": "delete VM template [name]"
},
"/xpack/vms/update": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新虚拟机 [name]",
"formatEN": "update VM [name]"
},
"/xpack/waf/block/export": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "导出 WAF 封锁 IP",
"formatEN": "export WAF blocked IP"
},
"/xpack/waf/block/remove": {
"bodyKeys": [
"ip"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "解封 IP [ip]",
"formatEN": "unblock ip [ip]"
},
"/xpack/waf/cdn/update": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 CDN 配置",
"formatEN": "update CDN config"
},
"/xpack/waf/config/global/spider": {
"bodyKeys": [
"rules"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新全局蜘蛛允许列表",
"formatEN": "update global spider allowlist"
},
"/xpack/waf/config/global/state": {
"bodyKeys": [
"scope",
"state"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 [state]全局配置[scope]",
"formatEN": "update [state] global config [scope]"
},
"/xpack/waf/config/website/state": {
"bodyKeys": [
"scope",
"state",
"mode"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 [state]网站配置[scope]",
"formatEN": "update [state] website config [scope]"
},
"/xpack/waf/html/revert": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "回滚拦截页面 [name]",
"formatEN": "revert html res [name]"
},
"/xpack/waf/html/update": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新拦截页面 [name]",
"formatEN": "update html res [name]"
},
"/xpack/waf/ip/default": {
"bodyKeys": [
"ip",
"type"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "添加 IP [ip] 到默认[type]组",
"formatEN": "add ip [ip] to default[type]group"
},
"/xpack/waf/ip/group/create": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建 IP 组 [name]",
"formatEN": "create ip group [name]"
},
"/xpack/waf/ip/group/delete": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "删除 IP 组 [name]",
"formatEN": "delete ip group [name]"
},
"/xpack/waf/ip/group/export": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "导出 IP 组 [name]",
"formatEN": "export IP group [name]"
},
"/xpack/waf/ip/group/import": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "导入 IP 组",
"formatEN": "import IP group"
},
"/xpack/waf/ip/group/update": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 IP 组 [name]",
"formatEN": "update ip group [name]"
},
"/xpack/waf/location/update": {
"bodyKeys": [
"type"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新[type]地址库信息",
"formatEN": "update [type] location"
},
"/xpack/waf/log/clear": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "清空 WAF 日志",
"formatEN": "clear waf log"
},
"/xpack/waf/log/export": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "导出 WAF 日志",
"formatEN": "export WAF log"
},
"/xpack/waf/rule/acl/create": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建自定义规则 [name]",
"formatEN": "create acl [name]"
},
"/xpack/waf/rule/acl/delete": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "删除自定义规则 [name]",
"formatEN": "delete acl [name]"
},
"/xpack/waf/rule/acl/update": {
"bodyKeys": [
"name"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新自定义规则 [name]",
"formatEN": "update acl [name]"
},
"/xpack/waf/rule/app/update": {
"bodyKeys": [
"name",
"state"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新应用规则 [name] 状态 [state]",
"formatEN": "update app rule [name] state [state]"
},
"/xpack/waf/rule/cc": {
"bodyKeys": [
"scope"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新[scope]频率访问限制",
"formatEN": "update [scope] CC config"
},
"/xpack/waf/rule/common/apply": {
"bodyKeys": [
"scope"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "应用规则 [scope] 到网站",
"formatEN": "apply rule [scope] to websites"
},
"/xpack/waf/rule/common/create": {
"bodyKeys": [
"scope"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建规则 [scope]",
"formatEN": "create rule [scope]"
},
"/xpack/waf/rule/common/delete": {
"bodyKeys": [
"scope"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "删除规则 [scope]",
"formatEN": "delete rule [scope]"
},
"/xpack/waf/rule/common/export": {
"bodyKeys": [
"scope"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "导出规则 [scope]",
"formatEN": "export rule [scope]"
},
"/xpack/waf/rule/common/import": {
"bodyKeys": [
"scope"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "导入规则 [scope]",
"formatEN": "import rule [scope]"
},
"/xpack/waf/rule/common/update": {
"bodyKeys": [
"scope"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新规则 [scope]",
"formatEN": "update rule [scope]"
},
"/xpack/waf/rule/geo": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新地区访问限制",
"formatEN": "update geo restrict"
},
"/xpack/waf/rule/ip/create": {
"bodyKeys": [
"scope"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建[scope] IP 规则",
"formatEN": "create [scope] IP rule"
},
"/xpack/waf/rule/ip/delete": {
"bodyKeys": [
"scope"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "删除[scope] IP 规则",
"formatEN": "delete [scope] IP rule"
},
"/xpack/waf/rule/ip/update": {
"bodyKeys": [
"scope"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新[scope] IP 规则",
"formatEN": "update [scope] IP rule"
},
"/xpack/waf/rule/log": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新日志配置",
"formatEN": "update waf log config"
},
"/xpack/waf/rule/simple/create": {
"bodyKeys": [
"scope"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建规则 [scope]",
"formatEN": "create rule [scope]"
},
"/xpack/waf/rule/urlcc/create": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "创建 URL 频率访问限制规则",
"formatEN": "create URL CC rule"
},
"/xpack/waf/rule/urlcc/delete": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "删除 URL 频率访问限制规则",
"formatEN": "delete URL CC rule"
},
"/xpack/waf/rule/urlcc/update": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新 URL 频率访问限制规则",
"formatEN": "update URL CC rule"
},
"/xpack/waf/rule/vuln/update": {
"bodyKeys": [
"id",
"state"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新漏洞规则 [id] 状态 [state]",
"formatEN": "update vuln rule [id] state [state]"
},
"/xpack/waf/url/default": {
"bodyKeys": [
"url",
"type"
],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "添加 URL [url] 到默认[type]组",
"formatEN": "add URL [url] to default[type]group"
},
"/xpack/waf/website/rule/cc": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新网站频率访问限制",
"formatEN": "update website CC config"
},
"/xpack/waf/website/rule/geo": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "更新网站地区访问限制",
"formatEN": "update geo restrict"
},
"/xpack/xsetting/sync": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "从主节点同步设置",
"formatEN": "sync settings from master"
}
}


Core Cmd Server Docs Swagger.Json (`core/cmd/server/docs/swagger.json`)

{
"swagger": "2.0",
"info": {
"contact": {},
"description": "Top-Rated Web-based Linux Server Management Tool",
"license": {
"name": "GPL-3.0",
"url": "https://www.gnu.org/licenses/gpl-3.0.html"
},
"termsOfService": "http://swagger.io/terms/",
"title": "1Panel",
"version": "2.0"
},
"host": "",
"basePath": "/api/v2",
"paths": {
"/ai/accounts": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentAccountCreateReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Create model account",
"tags": [
"AI"
]
}
},
"/ai/accounts/counts": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentAccountProviderCountReq"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"additionalProperties": {
"format": "int64",
"type": "integer"
},
"type": "object"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Count model accounts by provider",
"tags": [
"AI"
]
}
},
"/ai/accounts/delete": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentAccountDeleteReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Delete model account",
"tags": [
"AI"
]
}
},
"/ai/accounts/models": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentAccountModelReq"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.AgentAccountModel"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "List model account models",
"tags": [
"AI"
]
}
},
"/ai/accounts/models/create": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentAccountModelCreateReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Create model account model",
"tags": [
"AI"
]
}
},
"/ai/accounts/models/delete": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentAccountModelDeleteReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Delete model account model",
"tags": [
"AI"
]
}
},
"/ai/accounts/models/discover": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentAccountModelDiscoverReq"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.AgentAccountModel"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Discover custom provider models",
"tags": [
"AI"
]
}
},
"/ai/accounts/models/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentAccountModelUpdateReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update model account model",
"tags": [
"AI"
]
}
},
"/ai/accounts/providers": {
"get": {
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.ProviderInfo"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Get model account providers",
"tags": [
"AI"
]
}
},
"/ai/accounts/search": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentAccountSearch"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.PageResult"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Page model accounts",
"tags": [
"AI"
]
}
},
"/ai/accounts/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentAccountUpdateReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update model account",
"tags": [
"AI"
]
}
},
"/ai/accounts/verify": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentAccountVerifyReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Verify model account",
"tags": [
"AI"
]
}
},
"/ai/agents": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentCreateReq"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.AgentItem"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Create Agent",
"tags": [
"AI"
]
}
},
"/ai/agents/agent/bind": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentRoleBindReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Bind Agent role channel",
"tags": [
"AI"
]
}
},
"/ai/agents/agent/channels": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentRoleChannelsReq"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.AgentRoleChannelItem"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Get Agent role channels from config file",
"tags": [
"AI"
]
}
},
"/ai/agents/agent/create": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentRoleCreateReq"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.AgentRoleCreateResp"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Create Agent role",
"tags": [
"AI"
]
}
},
"/ai/agents/agent/delete": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentRoleDeleteReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Delete Agent role",
"tags": [
"AI"
]
}
},
"/ai/agents/agent/list": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentConfiguredAgentsReq"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.AgentConfiguredAgentItem"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Get configured Agent roles from config file",
"tags": [
"AI"
]
}
},
"/ai/agents/agent/md/list": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentRoleMarkdownFilesReq"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.AgentRoleMarkdownFileItem"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Get Agent role markdown files",
"tags": [
"AI"
]
}
},
"/ai/agents/agent/md/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentRoleMarkdownFilesUpdateReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update Agent role markdown file",
"tags": [
"AI"
]
}
},
"/ai/agents/agent/unbind": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentRoleBindReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Unbind Agent role channel",
"tags": [
"AI"
]
}
},
"/ai/agents/batch/install": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentBatchInstallReq"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.AgentItem"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Batch install Agent",
"tags": [
"AI"
]
}
},
"/ai/agents/batch/operate": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentBatchOperateReq"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.AgentBatchOperateResult"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Batch operate Agent",
"tags": [
"AI"
]
}
},
"/ai/agents/batch/skill/install": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentBatchSkillInstallReq"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.AgentBatchSkillInstallResult"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Batch install Agent Skill",
"tags": [
"AI"
]
}
},
"/ai/agents/batch/upgrade": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentBatchUpgradeReq"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.AgentBatchUpgradeResult"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Batch upgrade Agent",
"tags": [
"AI"
]
}
},
"/ai/agents/channel/delete": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentChannelDeleteReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Delete Agent channel config",
"tags": [
"AI"
]
}
},
"/ai/agents/channel/dingtalk/get": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentIDReq"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.AgentDingTalkConfig"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Get Agent DingTalk channel config",
"tags": [
"AI"
]
}
},
"/ai/agents/channel/dingtalk/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentDingTalkConfigUpdateReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update Agent DingTalk channel config",
"tags": [
"AI"
]
}
},
"/ai/agents/channel/discord/get": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentIDReq"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.AgentDiscordConfig"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Get Agent Discord channel config",
"tags": [
"AI"
]
}
},
"/ai/agents/channel/discord/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentDiscordConfigUpdateReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update Agent Discord channel config",
"tags": [
"AI"
]
}
},
"/ai/agents/channel/feishu/get": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentFeishuConfigReq"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.AgentFeishuConfig"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Get Agent Feishu channel config",
"tags": [
"AI"
]
}
},
"/ai/agents/channel/feishu/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentFeishuConfigUpdateReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update Agent Feishu channel config",
"tags": [
"AI"
]
}
},
"/ai/agents/channel/pairing/approve": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentChannelPairingApproveReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Approve Agent channel pairing code",
"tags": [
"AI"
]
}
},
"/ai/agents/channel/qqbot/get": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentIDReq"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.AgentQQBotConfig"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Get Agent QQ Bot channel config",
"tags": [
"AI"
]
}
},
"/ai/agents/channel/qqbot/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentQQBotConfigUpdateReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update Agent QQ Bot channel config",
"tags": [
"AI"
]
}
},
"/ai/agents/channel/telegram/get": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentTelegramConfigReq"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.AgentTelegramConfig"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Get Agent Telegram channel config",
"tags": [
"AI"
]
}
},
"/ai/agents/channel/telegram/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentTelegramConfigUpdateReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update Agent Telegram channel config",
"tags": [
"AI"
]
}
},
"/ai/agents/channel/wecom/get": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentIDReq"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.AgentWecomConfig"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Get Agent QQ Bot channel config",
"tags": [
"AI"
]
}
},
"/ai/agents/channel/wecom/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentWecomConfigUpdateReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update Agent WeCom channel config",
"tags": [
"AI"
]
}
},
"/ai/agents/channel/weixin/get": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentIDReq"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.AgentWeixinConfig"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Get Agent Weixin channel config",
"tags": [
"AI"
]
}
},
"/ai/agents/channel/weixin/login": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentWeixinLoginReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Login Agent Weixin channel",
"tags": [
"AI"
]
}
},
"/ai/agents/config-file/get": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentConfigFileReq"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.AgentConfigFile"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Get Agent config file",
"tags": [
"AI"
]
}
},
"/ai/agents/config-file/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentConfigFileUpdateReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update Agent config file",
"tags": [
"AI"
]
}
},
"/ai/agents/delete": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentDeleteReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Delete Agent",
"tags": [
"AI"
]
}
},
"/ai/agents/delete/check": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentIDReq"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.AppResource"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Delete check Agent",
"tags": [
"AI"
]
}
},
"/ai/agents/hermes/chat/sessions": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentIDReq"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.AgentHermesChatSessionItem"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Get Hermes chat sessions",
"tags": [
"AI"
]
}
},
"/ai/agents/hermes/chat/sessions/delete": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentHermesChatSessionDeleteReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Delete Hermes chat session",
"tags": [
"AI"
]
}
},
"/ai/agents/hermes/chat/sessions/rename": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentHermesChatSessionRenameReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Rename Hermes chat session",
"tags": [
"AI"
]
}
},
"/ai/agents/model/get": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentIDReq"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.AgentModelConfig"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Get Agent model config",
"tags": [
"AI"
]
}
},
"/ai/agents/model/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentModelConfigUpdateReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update Agent model config",
"tags": [
"AI"
]
}
},
"/ai/agents/other/get": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentIDReq"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.AgentOtherConfig"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Get Agent Other config",
"tags": [
"AI"
]
}
},
"/ai/agents/other/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentOtherConfigUpdateReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update Agent Other config",
"tags": [
"AI"
]
}
},
"/ai/agents/overview": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentOverviewReq"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.AgentOverview"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Get Agent overview",
"tags": [
"AI"
]
}
},
"/ai/agents/plugin/check": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentPluginCheckReq"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.AgentPluginStatus"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Check Agent plugin installation status",
"tags": [
"AI"
]
}
},
"/ai/agents/plugin/install": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentPluginInstallReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Install Agent plugin",
"tags": [
"AI"
]
}
},
"/ai/agents/plugin/uninstall": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentPluginUninstallReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Uninstall Agent plugin",
"tags": [
"AI"
]
}
},
"/ai/agents/plugin/upgrade": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentPluginUpgradeReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Upgrade Agent plugin",
"tags": [
"AI"
]
}
},
"/ai/agents/plugins/install": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentPluginMarketInstallReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Install an OpenClaw marketplace plugin",
"tags": [
"AI"
]
}
},
"/ai/agents/plugins/list": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentPluginsReq"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.AgentPluginItem"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "List OpenClaw plugins",
"tags": [
"AI"
]
}
},
"/ai/agents/plugins/operate": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentPluginOperateReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Operate an OpenClaw plugin",
"tags": [
"AI"
]
}
},
"/ai/agents/plugins/search": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentPluginSearchReq"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.AgentPluginSearchItem"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Search OpenClaw plugins",
"tags": [
"AI"
]
}
},
"/ai/agents/remark": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentRemarkUpdateReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update Agent remark",
"tags": [
"AI"
]
}
},
"/ai/agents/search": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.SearchWithPage"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.PageResult"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Page Agents",
"tags": [
"AI"
]
}
},
"/ai/agents/security/get": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentIDReq"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.AgentSecurityConfig"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Get Agent Security config",
"tags": [
"AI"
]
}
},
"/ai/agents/security/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentSecurityConfigUpdateReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update Agent Security config",
"tags": [
"AI"
]
}
},
"/ai/agents/skills/install": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentSkillInstallReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Install Agent skill",
"tags": [
"AI"
]
}
},
"/ai/agents/skills/list": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentIDReq"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.AgentSkillItem"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "List Agent skills",
"tags": [
"AI"
]
}
},
"/ai/agents/skills/search": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentSkillSearchReq"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.AgentSkillSearchItem"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Search Agent skills",
"tags": [
"AI"
]
}
},
"/ai/agents/skills/uninstall": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentSkillUninstallReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Uninstall Agent skill",
"tags": [
"AI"
]
}
},
"/ai/agents/skills/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentSkillUpdateReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update Agent skill status",
"tags": [
"AI"
]
}
},
"/ai/agents/token/reset": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentTokenResetReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Reset Agent token",
"tags": [
"AI"
]
}
},
"/ai/agents/website/bind": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentWebsiteBindReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Bind Agent website",
"tags": [
"AI"
]
}
},
"/ai/agents/website/unbind": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AgentIDReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Unbind Agent website",
"tags": [
"AI"
]
}
},
"/ai/domain/bind": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OllamaBindDomain"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Bind domain",
"tags": [
"AI"
]
}
},
"/ai/domain/get": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OllamaBindDomainReq"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.OllamaBindDomainRes"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Get bind domain",
"tags": [
"AI"
]
}
},
"/ai/domain/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OllamaBindDomain"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update bind domain",
"tags": [
"AI"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"domain"
],
"formatEN": "update Ollama bind domain [domain]",
"formatZH": "更新 Ollama 绑定域名 [domain]",
"paramKeys": []
}
}
},
"/ai/gpu/load": {
"get": {
"consumes": [
"application/json"
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load gpu / xpu info",
"tags": [
"AI"
]
}
},
"/ai/gpu/options": {
"get": {
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Get CPU options",
"tags": [
"AI"
]
}
},
"/ai/gpu/search": {
"post": {
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.MonitorGPUSearch"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.MonitorGPUData"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load monitor data",
"tags": [
"Monitor"
]
}
},
"/ai/mcp/domain/bind": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/request.McpBindDomain"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Bind Domain for mcp server",
"tags": [
"McpServer"
]
}
},
"/ai/mcp/domain/get": {
"get": {
"consumes": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/response.McpBindDomainRes"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Get bin Domain for mcp server",
"tags": [
"McpServer"
]
}
},
"/ai/mcp/domain/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/request.McpBindDomainUpdate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update bind Domain for mcp server",
"tags": [
"McpServer"
]
}
},
"/ai/mcp/search": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/request.McpServerSearch"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/response.McpServersRes"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "List mcp servers",
"tags": [
"McpServer"
]
}
},
"/ai/mcp/server": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/request.McpServerCreate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Create mcp server",
"tags": [
"McpServer"
]
}
},
"/ai/mcp/server/connection/test": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/request.McpServerConnectionTest"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/response.McpServerConnectionTestRes"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Test mcp server connection",
"tags": [
"McpServer"
]
}
},
"/ai/mcp/server/del": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/request.McpServerDelete"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Delete mcp server",
"tags": [
"McpServer"
]
}
},
"/ai/mcp/server/detail": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/request.McpServerDetail"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/response.McpServerDTO"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load mcp server detail",
"tags": [
"McpServer"
]
}
},
"/ai/mcp/server/op": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/request.McpServerOperate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Operate mcp server",
"tags": [
"McpServer"
]
}
},
"/ai/mcp/server/status/sync": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/request.McpServerStatusSync"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/response.McpServerStatusDTO"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Sync mcp server status",
"tags": [
"McpServer"
]
}
},
"/ai/mcp/server/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/request.McpServerUpdate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update mcp server",
"tags": [
"McpServer"
]
}
},
"/ai/ollama/close": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OllamaModelName"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Close Ollama model conn",
"tags": [
"AI"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"name"
],
"formatEN": "close conn for Ollama model [name]",
"formatZH": "关闭 Ollama 模型连接 [name]",
"paramKeys": []
}
}
},
"/ai/ollama/model": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OllamaModelName"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Create Ollama model",
"tags": [
"AI"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"name"
],
"formatEN": "add Ollama model [name]",
"formatZH": "添加 Ollama 模型 [name]",
"paramKeys": []
}
}
},
"/ai/ollama/model/del": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ForceDelete"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Delete Ollama model",
"tags": [
"AI"
],
"x-panel-log": {
"BeforeFunctions": [
{
"db": "ollama_models",
"input_column": "id",
"input_value": "ids",
"isList": true,
"output_column": "name",
"output_value": "names"
}
],
"bodyKeys": [
"ids"
],
"formatEN": "remove Ollama model [names]",
"formatZH": "删除 Ollama 模型 [names]",
"paramKeys": []
}
}
},
"/ai/ollama/model/load": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OllamaModelName"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "string"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Page Ollama models",
"tags": [
"AI"
]
}
},
"/ai/ollama/model/recreate": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OllamaModelName"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Rereate Ollama model",
"tags": [
"AI"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"name"
],
"formatEN": "re-add Ollama model [name]",
"formatZH": "添加 Ollama 模型重试 [name]",
"paramKeys": []
}
}
},
"/ai/ollama/model/search": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.SearchWithPage"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.PageResult"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Page Ollama models",
"tags": [
"AI"
]
}
},
"/ai/ollama/model/sync": {
"post": {
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.OllamaModelDropList"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Sync Ollama model list",
"tags": [
"AI"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [],
"formatEN": "sync Ollama model list",
"formatZH": "同步 Ollama 模型列表",
"paramKeys": []
}
}
},
"/ai/tensorrt/create": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/request.TensorRTLLMCreate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Create TensorRT LLM",
"tags": [
"TensorRT LLM"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"name"
],
"formatEN": "create TensorRT LLM [name]",
"formatZH": "创建 TensorRT LLM [name]",
"paramKeys": []
}
}
},
"/ai/tensorrt/delete": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/request.TensorRTLLMDelete"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Delete TensorRT LLM",
"tags": [
"TensorRT LLM"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"id"
],
"formatEN": "delete TensorRT LLM [id]",
"formatZH": "删除 TensorRT LLM [id]",
"paramKeys": []
}
}
},
"/ai/tensorrt/operate": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/request.TensorRTLLMOperate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Operate TensorRT LLM",
"tags": [
"TensorRT LLM"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"id",
"operate"
],
"formatEN": "operate TensorRT LLM [id][operate]",
"formatZH": "操作 TensorRT LLM [id][operate]",
"paramKeys": []
}
}
},
"/ai/tensorrt/search": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/request.TensorRTLLMSearch"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Page TensorRT LLMs",
"tags": [
"TensorRT LLM"
]
}
},
"/ai/tensorrt/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/request.TensorRTLLMUpdate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update TensorRT LLM",
"tags": [
"TensorRT LLM"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"id",
"name"
],
"formatEN": "update TensorRT LLM [id][name]",
"formatZH": "更新 TensorRT LLM [id][name]",
"paramKeys": []
}
}
},
"/alert": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AlertCreate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Create alert",
"tags": [
"Alert"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"title"
],
"formatEN": "create alert [title]",
"formatZH": "创建告警任务 [title]",
"paramKeys": []
}
}
},
"/alert/clams/list": {
"get": {
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Get clams",
"tags": [
"Alert"
]
}
},
"/alert/config/del": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.DeleteRequest"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Delete alert config",
"tags": [
"Alert"
],
"x-panel-log": {
"bodyKeys": [],
"paramKeys": [],
"formatZH": "删除告警配置 [name]",
"formatEN": "delete alert config [name]",
"BeforeFunctions": []
}
}
},
"/alert/config/info": {
"post": {
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Get alert config",
"tags": [
"Alert"
]
}
},
"/alert/config/search": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AlertConfigPageReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Page alert config",
"tags": [
"Alert"
]
}
},
"/alert/config/test": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AlertConfigTest"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Test alert config",
"tags": [
"Alert"
]
}
},
"/alert/config/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AlertConfigUpdate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update alert config",
"tags": [
"Alert"
],
"x-panel-log": {
"bodyKeys": [
"displayName"
],
"paramKeys": [],
"formatZH": "更新告警配置 [displayName]",
"formatEN": "update alert config [displayName]",
"BeforeFunctions": []
}
}
},
"/alert/cronjob/list": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.CronJobReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Get cron jobs",
"tags": [
"Alert"
]
}
},
"/alert/del": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.DeleteRequest"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Delete alert",
"tags": [
"Alert"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"id"
],
"formatEN": "delete alert [id]",
"formatZH": "删除告警任务 [id]",
"paramKeys": []
}
}
},
"/alert/disks/list": {
"get": {
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Get disks",
"tags": [
"Alert"
]
}
},
"/alert/logs/clean": {
"post": {
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Clean alert logs",
"tags": [
"Alert"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [],
"formatEN": "clean alert logs",
"formatZH": "清空告警日志",
"paramKeys": []
}
}
},
"/alert/logs/search": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AlertLogSearch"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Page alert logs",
"tags": [
"Alert"
]
}
},
"/alert/search": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AlertSearch"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Page alert",
"tags": [
"Alert"
]
}
},
"/alert/status": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AlertUpdateStatus"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update alert status",
"tags": [
"Alert"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"id",
"status"
],
"formatEN": "update alert [id] status [status]",
"formatZH": "更新告警任务 [id] 状态 [status]",
"paramKeys": []
}
}
},
"/alert/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AlertUpdate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update alert",
"tags": [
"Alert"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"title"
],
"formatEN": "update alert [title]",
"formatZH": "更新告警任务 [title]",
"paramKeys": []
}
}
},
"/apps/:key": {
"get": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "app key",
"in": "path",
"name": "key",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/response.AppDTO"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Search app by key",
"tags": [
"App"
]
}
},
"/apps/checkupdate": {
"get": {
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/response.AppUpdateRes"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Get app list update",
"tags": [
"App"
]
}
},
"/apps/detail/:appId/:version/:type": {
"get": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "app id",
"in": "path",
"name": "appId",
"required": true,
"type": "integer"
},
{
"description": "app 版本",
"in": "path",
"name": "version",
"required": true,
"type": "string"
},
{
"description": "app 类型",
"in": "path",
"name": "type",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/response.AppDetailDTO"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Search app detail by appid",
"tags": [
"App"
]
}
},
"/apps/detail/node/:appKey/:version": {
"get": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "app key",
"in": "path",
"name": "appKey",
"required": true,
"type": "string"
},
{
"description": "app version",
"in": "path",
"name": "version",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/response.AppDetailSimpleDTO"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Search app detail by appkey and version",
"tags": [
"App"
]
}
},
"/apps/details/:id": {
"get": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "id",
"in": "path",
"name": "id",
"required": true,
"type": "integer"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/response.AppDetailDTO"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Get app detail by id",
"tags": [
"App"
]
}
},
"/apps/icon/:key": {
"get": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "app key",
"in": "path",
"name": "key",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "app icon",
"schema": {
"type": "file"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Get app icon by app_id",
"tags": [
"App"
]
}
},
"/apps/ignored/cancel": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/request.ReqWithID"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Cancel Ignore Upgrade App",
"tags": [
"App"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [],
"formatEN": "Cancel ignore application upgrade",
"formatZH": "取消忽略应用升级",
"paramKeys": []
}
}
},
"/apps/ignored/detail": {
"get": {
"consumes": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/model.AppIgnoreUpgrade"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "List Upgrade Ignored App",
"tags": [
"App"
]
}
},
"/apps/install": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/request.AppInstallCreate"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/model.AppInstall"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Install app",
"tags": [
"App"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"name"
],
"formatEN": "Install app [name]",
"formatZH": "安装应用 [name]",
"paramKeys": []
}
}
},
"/apps/installed/check": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/request.AppInstalledInfo"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/response.AppInstalledCheck"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Check app installed",
"tags": [
"App"
]
}
},
"/apps/installed/conf": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OperationWithNameAndType"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "string"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Search default config by key",
"tags": [
"App"
]
}
},
"/apps/installed/config/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/request.AppConfigUpdate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update app config",
"tags": [
"App"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"installID",
"webUI"
],
"formatEN": "Application config update [installID]",
"formatZH": "应用配置更新 [installID]",
"paramKeys": []
}
}
},
"/apps/installed/conninfo": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OperationWithNameAndType"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/response.DatabaseConn"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Search app password by key",
"tags": [
"App"
]
}
},
"/apps/installed/delete/check/:appInstallId": {
"get": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "App install id",
"in": "path",
"name": "appInstallId",
"required": true,
"type": "integer"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.AppResource"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Check before delete",
"tags": [
"App"
]
}
},
"/apps/installed/ignore": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/request.AppIgnoreUpgradeReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Ignore Upgrade App",
"tags": [
"App"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [],
"formatEN": "Ignore application upgrade",
"formatZH": "忽略应用升级",
"paramKeys": []
}
}
},
"/apps/installed/info/:appInstallId": {
"get": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "App install id",
"in": "path",
"name": "appInstallId",
"required": true,
"type": "integer"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.AppInstallInfo"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Get app install info",
"tags": [
"App"
]
}
},
"/apps/installed/list": {
"get": {
"consumes": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.AppInstallInfo"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "List app installed",
"tags": [
"App"
]
}
},
"/apps/installed/loadport": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OperationWithNameAndType"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "integer"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Search app port by key",
"tags": [
"App"
]
}
},
"/apps/installed/op": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/request.AppInstalledOperate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Operate installed app",
"tags": [
"App"
],
"x-panel-log": {
"BeforeFunctions": [
{
"db": "app_installs",
"input_column": "id",
"input_value": "installId",
"isList": false,
"output_column": "app_id",
"output_value": "appId"
},
{
"db": "app_installs",
"input_column": "id",
"input_value": "installId",
"isList": false,
"output_column": "name",
"output_value": "appName"
},
{
"db": "apps",
"input_column": "id",
"input_value": "appId",
"isList": false,
"output_column": "key",
"output_value": "appKey"
}
],
"bodyKeys": [
"installId",
"operate"
],
"formatEN": "[operate] App [appKey][appName]",
"formatZH": "[operate] 应用 [appKey][appName]",
"paramKeys": []
}
}
},
"/apps/installed/params/:appInstallId": {
"get": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "path",
"name": "appInstallId",
"required": true,
"type": "integer"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/response.AppConfig"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Search params by appInstallId",
"tags": [
"App"
]
}
},
"/apps/installed/params/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/request.AppInstalledUpdate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Change app params",
"tags": [
"App"
],
"x-panel-log": {
"BeforeFunctions": [
{
"db": "app_installs",
"input_column": "id",
"input_value": "installId",
"isList": false,
"output_column": "name",
"output_value": "name"
}
],
"bodyKeys": [
"installId"
],
"formatEN": "Application param update [name]",
"formatZH": "应用参数修改 [name]",
"paramKeys": []
}
}
},
"/apps/installed/port/change": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/request.PortUpdate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Change app port",
"tags": [
"App"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"key",
"name",
"port"
],
"formatEN": "Application port update [key]-[name] =\u003e [port]",
"formatZH": "应用端口修改 [key]-[name] =\u003e [port]",
"paramKeys": []
}
}
},
"/apps/installed/search": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/request.AppInstalledSearch"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.PageResult"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Page app installed",
"tags": [
"App"
]
}
},
"/apps/installed/sort/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/request.AppInstallSort"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update app install sort",
"tags": [
"App"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [],
"formatEN": "update installed app sort",
"formatZH": "更新已安装应用排序",
"paramKeys": []
}
}
},
"/apps/installed/sync": {
"post": {
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Sync app installed",
"tags": [
"App"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [],
"formatEN": "Sync the list of installed apps",
"formatZH": "同步已安装应用列表",
"paramKeys": []
}
}
},
"/apps/installed/update/versions": {
"post": {
"consumes": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.AppVersion"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Search app update version by install id",
"tags": [
"App"
]
}
},
"/apps/search": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/request.AppSearch"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/response.AppRes"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "List apps",
"tags": [
"App"
]
}
},
"/apps/services/:key": {
"get": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "path",
"name": "key",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/response.AppService"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Search app service by key",
"tags": [
"App"
]
}
},
"/apps/sync/local": {
"post": {
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Sync local app list",
"tags": [
"App"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [],
"formatEN": "App store synchronization",
"formatZH": "应用商店同步",
"paramKeys": []
}
}
},
"/apps/sync/remote": {
"post": {
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Sync remote app list",
"tags": [
"App"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [],
"formatEN": "App store synchronization",
"formatZH": "应用商店同步",
"paramKeys": []
}
}
},
"/apps/tags": {
"get": {
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Get app tags",
"tags": [
"App"
]
}
},
"/backups": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.BackupOperate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Create backup account",
"tags": [
"Backup Account"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"type"
],
"formatEN": "create backup account [type]",
"formatZH": "创建备份账号 [type]",
"paramKeys": []
}
}
},
"/backups/backup": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.CommonBackup"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Backup system data",
"tags": [
"Backup Account"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"type",
"name",
"detailName"
],
"formatEN": "backup [type] data [name][detailName]",
"formatZH": "备份 [type] 数据 [name][detailName]",
"paramKeys": []
}
}
},
"/backups/buckets": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ForBuckets"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"type": "object"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "List buckets",
"tags": [
"Backup Account"
]
}
},
"/backups/check/{name}": {
"get": {
"parameters": [
{
"description": "name",
"in": "path",
"name": "name",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Check backup used",
"tags": [
"Backup Account"
]
}
},
"/backups/conn/check": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.BackupOperate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Check backup account",
"tags": [
"Backup Account"
]
}
},
"/backups/del": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OperateByID"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Delete backup account",
"tags": [
"Backup Account"
],
"x-panel-log": {
"BeforeFunctions": [
{
"db": "backup_accounts",
"input_column": "id",
"input_value": "id",
"isList": false,
"output_column": "type",
"output_value": "types"
}
],
"bodyKeys": [
"id"
],
"formatEN": "delete backup account [types]",
"formatZH": "删除备份账号 [types]",
"paramKeys": []
}
}
},
"/backups/local": {
"get": {
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "string"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "get local backup dir",
"tags": [
"Backup Account"
]
}
},
"/backups/options": {
"get": {
"consumes": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.BackupOption"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load backup account options",
"tags": [
"Backup Account"
]
}
},
"/backups/record/del": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.BatchDeleteReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Delete backup record",
"tags": [
"Backup Account"
],
"x-panel-log": {
"BeforeFunctions": [
{
"db": "backup_records",
"input_column": "id",
"input_value": "ids",
"isList": true,
"output_column": "file_name",
"output_value": "files"
}
],
"bodyKeys": [
"ids"
],
"formatEN": "delete backup records [files]",
"formatZH": "删除备份记录 [files]",
"paramKeys": []
}
}
},
"/backups/record/description/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.UpdateDescription"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update backup record description",
"tags": [
"Backup Account"
]
}
},
"/backups/record/download": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.DownloadRecord"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "string"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Download backup record",
"tags": [
"Backup Account"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"source",
"fileName"
],
"formatEN": "download backup records [source][fileName]",
"formatZH": "下载备份记录 [source][fileName]",
"paramKeys": []
}
}
},
"/backups/record/search": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.RecordSearch"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.PageResult"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Page backup records",
"tags": [
"Backup Account"
]
}
},
"/backups/record/search/bycronjob": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.RecordSearchByCronjob"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.PageResult"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Page backup records by cronjob",
"tags": [
"Backup Account"
]
}
},
"/backups/record/size": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.SearchForSize"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.RecordFileSize"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load backup record size",
"tags": [
"Backup Account"
]
}
},
"/backups/recover": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.CommonRecover"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Recover system data",
"tags": [
"Backup Account"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"type",
"name",
"detailName",
"file"
],
"formatEN": "recover [type] data [name][detailName] from [file]",
"formatZH": "从 [file] 恢复 [type] 数据 [name][detailName]",
"paramKeys": []
}
}
},
"/backups/recover/byupload": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.CommonRecover"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Recover system data by upload",
"tags": [
"Backup Account"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"type",
"name",
"detailName",
"file"
],
"formatEN": "recover [type] data [name][detailName] from [file]",
"formatZH": "从 [file] 恢复 [type] 数据 [name][detailName]",
"paramKeys": []
}
}
},
"/backups/refresh/token": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.BackupOperate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Refresh token",
"tags": [
"Backup Account"
]
}
},
"/backups/search": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.SearchPageWithType"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Search backup accounts with page",
"tags": [
"Backup Account"
]
}
},
"/backups/search/files": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OperateByID"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"type": "string"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "List files from backup accounts",
"tags": [
"Backup Account"
]
}
},
"/backups/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.BackupOperate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update backup account",
"tags": [
"Backup Account"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"type"
],
"formatEN": "update backup account [type]",
"formatZH": "更新备份账号 [type]",
"paramKeys": []
}
}
},
"/backups/upload": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.UploadForRecover"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Upload file for recover",
"tags": [
"Backup Account"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"filePath"
],
"formatEN": "upload backup file [filePath]",
"formatZH": "上传备份文件 [filePath]",
"paramKeys": []
}
}
},
"/containers": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ContainerOperate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Create container",
"tags": [
"Container"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"name",
"image"
],
"formatEN": "create container [name][image]",
"formatZH": "创建容器 [name][image]",
"paramKeys": []
}
}
},
"/containers/clean/log": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OperationWithName"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Clean container log",
"tags": [
"Container"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"name"
],
"formatEN": "clean container [name] logs",
"formatZH": "清理容器 [name] 日志",
"paramKeys": []
}
}
},
"/containers/commit": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ContainerCommit"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Commit Container",
"tags": [
"Container"
]
}
},
"/containers/compose": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ComposeCreate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Create compose",
"tags": [
"Container Compose"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"name"
],
"formatEN": "create compose [name]",
"formatZH": "创建 compose [name]",
"paramKeys": []
}
}
},
"/containers/compose/clean/log": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ComposeLogClean"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Clean compose log",
"tags": [
"Container"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"name"
],
"formatEN": "clean compose [name] logs",
"formatZH": "清理容器编排 [name] 日志",
"paramKeys": []
}
}
},
"/containers/compose/env": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.FilePath"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"type": "string"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load compose environment variables",
"tags": [
"Container Compose"
]
}
},
"/containers/compose/operate": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ComposeOperation"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Operate compose",
"tags": [
"Container Compose"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"name",
"operation"
],
"formatEN": "compose [operation] [name]",
"formatZH": "compose [operation] [name]",
"paramKeys": []
}
}
},
"/containers/compose/pin": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ComposePin"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Pin compose",
"tags": [
"Container Compose"
]
}
},
"/containers/compose/search": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.SearchWithPage"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.PageResult"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Page composes",
"tags": [
"Container Compose"
]
}
},
"/containers/compose/test": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ComposeCreate"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "boolean"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Test compose",
"tags": [
"Container Compose"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"name"
],
"formatEN": "check compose [name]",
"formatZH": "检测 compose [name] 格式",
"paramKeys": []
}
}
},
"/containers/compose/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ComposeUpdate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update compose",
"tags": [
"Container Compose"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"name"
],
"formatEN": "update compose information [name]",
"formatZH": "更新 compose [name]",
"paramKeys": []
}
}
},
"/containers/daemonjson": {
"get": {
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.DaemonJsonConf"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load docker daemon.json",
"tags": [
"Container Docker"
]
}
},
"/containers/daemonjson/file": {
"get": {
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "string"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load docker daemon.json",
"tags": [
"Container Docker"
]
}
},
"/containers/daemonjson/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.SettingUpdate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update docker daemon.json",
"tags": [
"Container Docker"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"key",
"value"
],
"formatEN": "Updated configuration [key]",
"formatZH": "更新配置 [key]",
"paramKeys": []
}
}
},
"/containers/daemonjson/update/byfile": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.DaemonJsonUpdateByFile"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update docker daemon.json by upload file",
"tags": [
"Container Docker"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [],
"formatEN": "Updated configuration file",
"formatZH": "更新配置文件",
"paramKeys": []
}
}
},
"/containers/docker/operate": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.DockerOperation"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Operate docker",
"tags": [
"Container Docker"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"operation"
],
"formatEN": "[operation] docker service",
"formatZH": "docker 服务 [operation]",
"paramKeys": []
}
}
},
"/containers/docker/status": {
"get": {
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.DockerStatus"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load docker status",
"tags": [
"Container Docker"
]
}
},
"/containers/download/log": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ContainerLog"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Download container logs",
"tags": [
"Container"
]
}
},
"/containers/files/content": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ContainerFileReq"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.ContainerFileContent"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Get container file content",
"tags": [
"Container"
]
}
},
"/containers/files/del": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ContainerFileBatchDeleteReq"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Delete container file",
"tags": [
"Container"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"containerID",
"paths"
],
"formatEN": "Delete files [paths] in container [containerID]",
"formatZH": "删除容器 [containerID] 文件 [paths]",
"paramKeys": []
}
}
},
"/containers/files/download": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ContainerFileReq"
}
}
],
"responses": {},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Download container file",
"tags": [
"Container"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"containerID",
"path"
],
"formatEN": "Download file [path] from container [containerID]",
"formatZH": "下载容器 [containerID] 文件 [path]",
"paramKeys": []
}
}
},
"/containers/files/search": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ContainerFileReq"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.ContainerFileInfo"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "List container files",
"tags": [
"Container"
]
}
},
"/containers/files/size": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ContainerFileReq"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "int"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Get container file size",
"tags": [
"Container"
]
}
},
"/containers/files/upload": {
"post": {
"consumes": [
"multipart/form-data"
],
"parameters": [
{
"description": "containerID",
"in": "formData",
"name": "containerID",
"required": true,
"type": "string"
},
{
"description": "path",
"in": "formData",
"name": "path",
"required": true,
"type": "string"
},
{
"description": "file",
"in": "formData",
"name": "file",
"required": true,
"type": "file"
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Upload container file",
"tags": [
"Container"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"containerID",
"path"
],
"formatEN": "Upload file to [path] in container [containerID]",
"formatZH": "容器 [containerID] 上传文件到 [path]",
"paramKeys": []
}
}
},
"/containers/image": {
"get": {
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.Options"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "load images options",
"tags": [
"Container Image"
]
}
},
"/containers/image/all": {
"get": {
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.ImageInfo"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "List all images",
"tags": [
"Container Image"
]
}
},
"/containers/image/build": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ImageBuild"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "string"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Build image",
"tags": [
"Container Image"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"name"
],
"formatEN": "build image [name]",
"formatZH": "构建镜像 [name]",
"paramKeys": []
}
}
},
"/containers/image/load": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ImageLoad"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load image",
"tags": [
"Container Image"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"path"
],
"formatEN": "load image from [path]",
"formatZH": "从 [path] 加载镜像",
"paramKeys": []
}
}
},
"/containers/image/pull": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ImagePull"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Pull image",
"tags": [
"Container Image"
],
"x-panel-log": {
"BeforeFunctions": [
{
"db": "image_repos",
"input_column": "id",
"input_value": "repoID",
"isList": false,
"output_column": "name",
"output_value": "reponame"
}
],
"bodyKeys": [
"repoID",
"imageName"
],
"formatEN": "image pull [reponame][imageName]",
"formatZH": "镜像拉取 [reponame][imageName]",
"paramKeys": []
}
}
},
"/containers/image/push": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ImagePush"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Push image",
"tags": [
"Container Image"
],
"x-panel-log": {
"BeforeFunctions": [
{
"db": "image_repos",
"input_column": "id",
"input_value": "repoID",
"isList": false,
"output_column": "name",
"output_value": "reponame"
}
],
"bodyKeys": [
"repoID",
"tagName",
"name"
],
"formatEN": "push [tagName] to [reponame][name]",
"formatZH": "[tagName] 推送到 [reponame][name]",
"paramKeys": []
}
}
},
"/containers/image/remove": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.BatchDelete"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Delete image",
"tags": [
"Container Image"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"names"
],
"formatEN": "remove image [names]",
"formatZH": "移除镜像 [names]",
"paramKeys": []
}
}
},
"/containers/image/save": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ImageSave"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Save image",
"tags": [
"Container Image"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"tagName",
"path",
"name"
],
"formatEN": "save [tagName] as [path]/[name]",
"formatZH": "保留 [tagName] 为 [path]/[name]",
"paramKeys": []
}
}
},
"/containers/image/search": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.PageImage"
}
}
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.PageResult"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Page images",
"tags": [
"Container Image"
]
}
},
"/containers/image/tag": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ImageTag"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Tag image",
"tags": [
"Container Image"
],
"x-panel-log": {
"BeforeFunctions": [
{
"db": "image_repos",
"input_column": "id",
"input_value": "repoID",
"isList": false,
"output_column": "name",
"output_value": "reponame"
}
],
"bodyKeys": [
"repoID",
"targetName"
],
"formatEN": "tag image [reponame][targetName]",
"formatZH": "tag 镜像 [reponame][targetName]",
"paramKeys": []
}
}
},
"/containers/info": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OperationWithName"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.ContainerOperate"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load container info",
"tags": [
"Container"
]
}
},
"/containers/inspect": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.InspectReq"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "string"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Container inspect",
"tags": [
"Container"
]
}
},
"/containers/ipv6option/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.LogOption"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update docker daemon.json ipv6 option",
"tags": [
"Container Docker"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [],
"formatEN": "Updated the ipv6 option",
"formatZH": "更新 ipv6 配置",
"paramKeys": []
}
}
},
"/containers/item/stats": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OperationWithName"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.ContainerItemStats"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load container stats size",
"tags": [
"Container"
]
}
},
"/containers/limit": {
"get": {
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.ResourceLimit"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load container limits",
"tags": [
"Container"
]
}
},
"/containers/list": {
"post": {
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.ContainerOptions"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "List containers",
"tags": [
"Container"
]
}
},
"/containers/list/byimage": {
"post": {
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.ContainerOptions"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "List containers by image",
"tags": [
"Container"
]
}
},
"/containers/list/stats": {
"get": {
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.ContainerListStats"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load container stats",
"tags": [
"Container"
]
}
},
"/containers/logoption/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.LogOption"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update docker daemon.json log option",
"tags": [
"Container Docker"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [],
"formatEN": "Updated the log option",
"formatZH": "更新日志配置",
"paramKeys": []
}
}
},
"/containers/network": {
"get": {
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.Options"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "List networks",
"tags": [
"Container Network"
]
},
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.NetworkCreate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Create network",
"tags": [
"Container Network"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"name"
],
"formatEN": "create container network [name]",
"formatZH": "创建容器网络 name",
"paramKeys": []
}
}
},
"/containers/network/del": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.BatchDelete"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Delete network",
"tags": [
"Container Network"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"names"
],
"formatEN": "delete container network [names]",
"formatZH": "删除容器网络 [names]",
"paramKeys": []
}
}
},
"/containers/network/search": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.SearchWithPage"
}
}
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.PageResult"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Page networks",
"tags": [
"Container Network"
]
}
},
"/containers/operate": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ContainerOperation"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Operate Container",
"tags": [
"Container"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"names",
"operation"
],
"formatEN": "container [operation] [names]",
"formatZH": "容器 [names] 执行 [operation]",
"paramKeys": []
}
}
},
"/containers/prune": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ContainerPrune"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Clean container",
"tags": [
"Container"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"pruneType"
],
"formatEN": "clean container [pruneType]",
"formatZH": "清理容器 [pruneType]",
"paramKeys": []
}
}
},
"/containers/rename": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ContainerRename"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Rename Container",
"tags": [
"Container"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"name",
"newName"
],
"formatEN": "rename container [name] =\u003e [newName]",
"formatZH": "容器重命名 [name] =\u003e [newName]",
"paramKeys": []
}
}
},
"/containers/repo": {
"get": {
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.ImageRepoOption"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "List image repos",
"tags": [
"Container Image-repo"
]
},
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ImageRepoDelete"
}
}
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Create image repo",
"tags": [
"Container Image-repo"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"name"
],
"formatEN": "create image repo [name]",
"formatZH": "创建镜像仓库 [name]",
"paramKeys": []
}
}
},
"/containers/repo/del": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OperateByID"
}
}
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Delete image repo",
"tags": [
"Container Image-repo"
],
"x-panel-log": {
"BeforeFunctions": [
{
"db": "image_repos",
"input_column": "id",
"input_value": "id",
"isList": false,
"output_column": "name",
"output_value": "name"
}
],
"bodyKeys": [
"id"
],
"formatEN": "delete image repo [name]",
"formatZH": "删除镜像仓库 [name]",
"paramKeys": []
}
}
},
"/containers/repo/search": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.SearchWithPage"
}
}
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.PageResult"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Page image repos",
"tags": [
"Container Image-repo"
]
}
},
"/containers/repo/status": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OperateByID"
}
}
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load repo status",
"tags": [
"Container Image-repo"
]
}
},
"/containers/repo/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ImageRepoUpdate"
}
}
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update image repo",
"tags": [
"Container Image-repo"
],
"x-panel-log": {
"BeforeFunctions": [
{
"db": "image_repos",
"input_column": "id",
"input_value": "id",
"isList": false,
"output_column": "name",
"output_value": "name"
}
],
"bodyKeys": [
"id"
],
"formatEN": "update image repo information [name]",
"formatZH": "更新镜像仓库 [name]",
"paramKeys": []
}
}
},
"/containers/search": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.PageContainer"
}
}
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.PageResult"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Page containers",
"tags": [
"Container"
]
}
},
"/containers/search/log": {
"get": {
"parameters": [
{
"description": "容器名称",
"in": "query",
"name": "container",
"type": "string"
},
{
"description": "时间筛选",
"in": "query",
"name": "since",
"type": "string"
},
{
"description": "是否追踪",
"in": "query",
"name": "follow",
"type": "string"
},
{
"description": "显示行号",
"in": "query",
"name": "tail",
"type": "string"
},
{
"description": "是否显示时间",
"in": "query",
"name": "timestamp",
"type": "string"
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Container logs",
"tags": [
"Container"
]
}
},
"/containers/stats/:id": {
"get": {
"parameters": [
{
"description": "容器id",
"in": "path",
"name": "id",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.ContainerStats"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Container stats",
"tags": [
"Container"
]
}
},
"/containers/status": {
"get": {
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.ContainerStatus"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load containers status",
"tags": [
"Container"
]
}
},
"/containers/template": {
"get": {
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.ComposeTemplateInfo"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "List compose templates",
"tags": [
"Container Compose-template"
]
},
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ComposeTemplateCreate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Create compose template",
"tags": [
"Container Compose-template"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"name"
],
"formatEN": "create compose template [name]",
"formatZH": "创建 compose 模版 [name]",
"paramKeys": []
}
}
},
"/containers/template/batch": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ComposeTemplateBatch"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Bacth compose template",
"tags": [
"Container Compose-template"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [],
"formatEN": "batch import compose templates",
"formatZH": "批量导入编排模版",
"paramKeys": []
}
}
},
"/containers/template/del": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.BatchDelete"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Delete compose template",
"tags": [
"Container Compose-template"
],
"x-panel-log": {
"BeforeFunctions": [
{
"db": "compose_templates",
"input_column": "id",
"input_value": "ids",
"isList": true,
"output_column": "name",
"output_value": "names"
}
],
"bodyKeys": [
"ids"
],
"formatEN": "delete compose template [names]",
"formatZH": "删除 compose 模版 [names]",
"paramKeys": []
}
}
},
"/containers/template/search": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.SearchWithPage"
}
}
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.PageResult"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Page compose templates",
"tags": [
"Container Compose-template"
]
}
},
"/containers/template/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ComposeTemplateUpdate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update compose template",
"tags": [
"Container Compose-template"
],
"x-panel-log": {
"BeforeFunctions": [
{
"db": "compose_templates",
"input_column": "id",
"input_value": "id",
"isList": false,
"output_column": "name",
"output_value": "name"
}
],
"bodyKeys": [
"id"
],
"formatEN": "update compose template information [name]",
"formatZH": "更新 compose 模版 [name]",
"paramKeys": []
}
}
},
"/containers/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ContainerOperate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update container",
"tags": [
"Container"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"name",
"image"
],
"formatEN": "update container [name][image]",
"formatZH": "更新容器 [name][image]",
"paramKeys": []
}
}
},
"/containers/upgrade": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ContainerUpgrade"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Upgrade container",
"tags": [
"Container"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"names",
"image"
],
"formatEN": "upgrade container image [names][image]",
"formatZH": "更新容器镜像 [names][image]",
"paramKeys": []
}
}
},
"/containers/users": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OperationWithName"
}
}
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"type": "string"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load container users",
"tags": [
"Container"
]
}
},
"/containers/volume": {
"get": {
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.Options"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "List volumes",
"tags": [
"Container Volume"
]
},
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.VolumeCreate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Create volume",
"tags": [
"Container Volume"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"name"
],
"formatEN": "create container volume [name]",
"formatZH": "创建容器存储卷 [name]",
"paramKeys": []
}
}
},
"/containers/volume/del": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.BatchDelete"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Delete volume",
"tags": [
"Container Volume"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"names"
],
"formatEN": "delete container volume [names]",
"formatZH": "删除容器存储卷 [names]",
"paramKeys": []
}
}
},
"/containers/volume/search": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.SearchWithPage"
}
}
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.PageResult"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Page volumes",
"tags": [
"Container Volume"
]
}
},
"/core/auth/api/generate": {
"post": {
"consumes": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "string"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "generate api key",
"tags": [
"Auth"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [],
"formatEN": "generate api key",
"formatZH": "生成 API 接口密钥",
"paramKeys": []
}
}
},
"/core/auth/api/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ApiInterfaceConfig"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update api config",
"tags": [
"Auth"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"ipWhiteList",
"apiTrustedProxies"
],
"formatEN": "update api config =\u003e IP Allowlist: [ipWhiteList], API Trusted Proxies: [apiTrustedProxies]",
"formatZH": "更新 API 接口配置 =\u003e IP 白名单: [ipWhiteList], API 可信代理: [apiTrustedProxies]",
"paramKeys": []
}
}
},
"/core/auth/captcha": {
"get": {
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.CaptchaResponse"
}
}
},
"summary": "Load captcha",
"tags": [
"Auth"
]
}
},
"/core/auth/current": {
"get": {
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.CurrentUserInfo"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load current user info",
"tags": [
"Auth"
]
}
},
"/core/auth/current/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.CurrentUserUpdate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update current user info",
"tags": [
"Auth"
]
}
},
"/core/auth/expired/reset": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.PasswordUpdate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Reset system password expired",
"tags": [
"Auth"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [],
"formatEN": "reset an expired Password",
"formatZH": "重置过期密码",
"paramKeys": []
}
}
},
"/core/auth/login": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "安全入口 base64 加密串",
"in": "header",
"name": "EntranceCode",
"required": true,
"type": "string"
},
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.Login"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.UserLoginInfo"
}
}
},
"summary": "User login",
"tags": [
"Auth"
]
}
},
"/core/auth/logout": {
"post": {
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "User logout",
"tags": [
"Auth"
]
}
},
"/core/auth/mfa": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.MfaCredential"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/mfa.Otp"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load mfa info",
"tags": [
"System Setting"
]
}
},
"/core/auth/mfa/bind": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.MfaCredential"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Bind mfa",
"tags": [
"System Setting"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [],
"formatEN": "bind mfa",
"formatZH": "mfa 绑定",
"paramKeys": []
}
}
},
"/core/auth/mfa/close": {
"post": {
"consumes": [
"application/json"
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Close mfa",
"tags": [
"System Setting"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [],
"formatEN": "close mfa",
"formatZH": "mfa 关闭",
"paramKeys": []
}
}
},
"/core/auth/mfalogin": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.MFALogin"
}
}
],
"responses": {
"200": {
"description": "OK",
"headers": {
"EntranceCode": {
"description": "安全入口",
"type": "string"
}
},
"schema": {
"$ref": "#/definitions/dto.UserLoginInfo"
}
}
},
"summary": "User login with mfa",
"tags": [
"Auth"
]
}
},
"/core/auth/passkey/begin": {
"post": {
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.PasskeyBeginResponse"
}
}
},
"summary": "User login with passkey",
"tags": [
"Auth"
]
}
},
"/core/auth/passkey/del": {
"post": {
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Delete passkey",
"tags": [
"Auth"
]
}
},
"/core/auth/passkey/finish": {
"post": {
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.UserLoginInfo"
}
}
},
"summary": "User login with passkey",
"tags": [
"Auth"
]
}
},
"/core/auth/passkey/list": {
"get": {
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.PasskeyInfo"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "List passkeys",
"tags": [
"Auth"
]
}
},
"/core/auth/passkey/register/begin": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.PasskeyRegisterRequest"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.PasskeyBeginResponse"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Begin passkey registration",
"tags": [
"Auth"
]
}
},
"/core/auth/passkey/register/finish": {
"post": {
"consumes": [
"application/json"
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Finish passkey registration",
"tags": [
"Auth"
]
}
},
"/core/auth/setting": {
"get": {
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.LoginSetting"
}
}
},
"summary": "Get Setting For Login",
"tags": [
"Auth"
]
}
},
"/core/auth/welcome": {
"get": {
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Get welcome page",
"tags": [
"Auth"
]
}
},
"/core/backups": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.BackupOperate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Create backup account",
"tags": [
"Backup Account"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"type"
],
"formatEN": "create backup account [type]",
"formatZH": "创建备份账号 [type]",
"paramKeys": []
}
}
},
"/core/backups/client/:clientType": {
"get": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "clientType",
"in": "path",
"name": "clientType",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.BackupClientInfo"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load backup account base info",
"tags": [
"Backup Account"
]
}
},
"/core/backups/del": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OperateByName"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Delete backup account",
"tags": [
"Backup Account"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"name"
],
"formatEN": "delete backup account [name]",
"formatZH": "删除备份账号 [name]",
"paramKeys": []
}
}
},
"/core/backups/refresh/token": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OperateByName"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Refresh token",
"tags": [
"Backup Account"
]
}
},
"/core/backups/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.BackupOperate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update backup account",
"tags": [
"Backup Account"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"type"
],
"formatEN": "update backup account [type]",
"formatZH": "更新备份账号 [type]",
"paramKeys": []
}
}
},
"/core/commands": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.CommandOperate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Create command",
"tags": [
"Command"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"name",
"command"
],
"formatEN": "create quick command [name][command]",
"formatZH": "创建快捷命令 [name][command]",
"paramKeys": []
}
}
},
"/core/commands/del": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OperateByIDs"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Delete command",
"tags": [
"Command"
],
"x-panel-log": {
"BeforeFunctions": [
{
"db": "commands",
"input_column": "id",
"input_value": "ids",
"isList": true,
"output_column": "name",
"output_value": "names"
}
],
"bodyKeys": [
"ids"
],
"formatEN": "delete quick command [names]",
"formatZH": "删除快捷命令 [names]",
"paramKeys": []
}
}
},
"/core/commands/export": {
"post": {
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "string"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Export command",
"tags": [
"Command"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [],
"formatEN": "export quick commands",
"formatZH": "导出快速命令",
"paramKeys": []
}
}
},
"/core/commands/import": {
"post": {
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "string"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Import command",
"tags": [
"Command"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [],
"formatEN": "import quick commands",
"formatZH": "导入快速命令",
"paramKeys": []
}
}
},
"/core/commands/list": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OperateByType"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.CommandInfo"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "List commands",
"tags": [
"Command"
]
}
},
"/core/commands/search": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.SearchWithPage"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.PageResult"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Page commands",
"tags": [
"Command"
]
}
},
"/core/commands/tree": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OperateByType"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.CommandTree"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Tree commands",
"tags": [
"Command"
]
}
},
"/core/commands/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.CommandOperate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update command",
"tags": [
"Command"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"name"
],
"formatEN": "update quick command [name]",
"formatZH": "更新快捷命令 [name]",
"paramKeys": []
}
}
},
"/core/commands/upload": {
"post": {
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "string"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Upload command csv for list",
"tags": [
"Command"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [],
"formatEN": "upload quick commands with csv",
"formatZH": "上传快速命令文件",
"paramKeys": []
}
}
},
"/core/groups": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.GroupCreate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Create group",
"tags": [
"System Group"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"name",
"type"
],
"formatEN": "create group [name][type]",
"formatZH": "创建组 [name][type]",
"paramKeys": []
}
}
},
"/core/groups/del": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OperateByID"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Delete group",
"tags": [
"System Group"
],
"x-panel-log": {
"BeforeFunctions": [
{
"db": "groups",
"input_column": "id",
"input_value": "id",
"isList": false,
"output_column": "name",
"output_value": "name"
},
{
"db": "groups",
"input_column": "id",
"input_value": "id",
"isList": false,
"output_column": "type",
"output_value": "type"
}
],
"bodyKeys": [
"id"
],
"formatEN": "delete group [type][name]",
"formatZH": "删除组 [type][name]",
"paramKeys": []
}
}
},
"/core/groups/search": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.GroupSearch"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.OperateByType"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "List groups",
"tags": [
"System Group"
]
}
},
"/core/groups/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.GroupUpdate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update group",
"tags": [
"System Group"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"name",
"type"
],
"formatEN": "update group [name][type]",
"formatZH": "更新组 [name][type]",
"paramKeys": []
}
}
},
"/core/hosts/diagnostics/goroutines": {
"get": {
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.RuntimeGoroutineSnapshot"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load Core grouped goroutine snapshot",
"tags": [
"RuntimeDiagnostics"
]
}
},
"/core/hosts/diagnostics/profiles": {
"post": {
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.RuntimeProfileCreate"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "file"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Capture Core runtime profile",
"tags": [
"RuntimeDiagnostics"
]
}
},
"/core/hosts/diagnostics/summary": {
"get": {
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.RuntimeDiagnosticsSummary"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load Core runtime diagnostics summary",
"tags": [
"RuntimeDiagnostics"
]
}
},
"/core/logs/clean": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.CleanLog"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.PageResult"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Clean operation logs",
"tags": [
"Logs"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"logType"
],
"formatEN": "Clean the [logType] log information",
"formatZH": "清空 [logType] 日志信息",
"paramKeys": []
}
}
},
"/core/logs/login": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.SearchLgLogWithPage"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.PageResult"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Page login logs",
"tags": [
"Logs"
]
}
},
"/core/logs/operation": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.SearchOpLogWithPage"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.PageResult"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Page operation logs",
"tags": [
"Logs"
]
}
},
"/core/script": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ScriptOperate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Add script",
"tags": [
"ScriptLibrary"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"name"
],
"formatEN": "add script [name]",
"formatZH": "添加脚本库脚本 [name]",
"paramKeys": []
}
}
},
"/core/script/del": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OperateByIDs"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Delete script",
"tags": [
"ScriptLibrary"
],
"x-panel-log": {
"BeforeFunctions": [
{
"db": "script_librarys",
"input_column": "id",
"input_value": "ids",
"isList": true,
"output_column": "name",
"output_value": "names"
}
],
"bodyKeys": [
"ids"
],
"formatEN": "delete script [names]",
"formatZH": "删除脚本库脚本 [names]",
"paramKeys": []
}
}
},
"/core/script/run": {
"get": {
"parameters": [
{
"description": "cols",
"in": "query",
"name": "cols",
"type": "integer"
},
{
"description": "rows",
"in": "query",
"name": "rows",
"type": "integer"
},
{
"description": "script_id",
"in": "query",
"name": "script_id",
"type": "integer"
},
{
"description": "operateNode",
"in": "query",
"name": "operateNode",
"type": "string"
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Run script",
"tags": [
"ScriptLibrary"
]
}
},
"/core/script/search": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.SearchPageWithGroup"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.PageResult"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Page script",
"tags": [
"ScriptLibrary"
]
}
},
"/core/script/sync": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OperateByTaskID"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Sync script from remote",
"tags": [
"ScriptLibrary"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [],
"formatEN": "sync scripts",
"formatZH": "同步脚本库脚本",
"paramKeys": []
}
}
},
"/core/script/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ScriptOperate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update script",
"tags": [
"ScriptLibrary"
],
"x-panel-log": {
"BeforeFunctions": [
{
"db": "cronjobs",
"input_column": "id",
"input_value": "id",
"isList": false,
"output_column": "name",
"output_value": "name"
}
],
"bodyKeys": [
"id"
],
"formatEN": "update script [name]",
"formatZH": "更新脚本库脚本 [name]",
"paramKeys": []
}
}
},
"/core/settings/apps/store/config": {
"get": {
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.AppstoreConfig"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Get appstore config",
"tags": [
"App"
]
}
},
"/core/settings/apps/store/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.AppstoreUpdate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update appstore config",
"tags": [
"App"
]
}
},
"/core/settings/bind/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.BindInfo"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update system bind info",
"tags": [
"System Setting"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"ipv6",
"bindAddress"
],
"formatEN": "update system bind info =\u003e ipv6: [ipv6], 监听 IP: [bindAddress]",
"formatZH": "修改系统监听信息 =\u003e ipv6: [ipv6], 监听 IP: [bindAddress]",
"paramKeys": []
}
}
},
"/core/settings/interface": {
"get": {
"consumes": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"type": "string"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load system address",
"tags": [
"System Setting"
]
}
},
"/core/settings/memo": {
"get": {
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "string"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load dashboard memo",
"tags": [
"System Setting"
]
},
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.MemoUpdate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update dashboard memo",
"tags": [
"System Setting"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [],
"formatEN": "update dashboard memo",
"formatZH": "更新仪表盘备忘录",
"paramKeys": []
}
}
},
"/core/settings/menu/default": {
"post": {
"consumes": [
"application/json"
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Default menu",
"tags": [
"Menu Setting"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [],
"formatEN": "Init menu.",
"formatZH": "初始化菜单",
"paramKeys": []
}
}
},
"/core/settings/menu/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.SettingUpdate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update system setting",
"tags": [
"System Setting"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [],
"formatEN": "Hide advanced feature menu.",
"formatZH": "隐藏高级功能菜单",
"paramKeys": []
}
}
},
"/core/settings/port/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.PortUpdate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update system port",
"tags": [
"System Setting"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"serverPort"
],
"formatEN": "update system port =\u003e [serverPort]",
"formatZH": "修改系统端口 =\u003e [serverPort]",
"paramKeys": []
}
}
},
"/core/settings/proxy/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ProxyUpdate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update proxy setting",
"tags": [
"System Setting"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"proxyUrl",
"proxyPort"
],
"formatEN": "set proxy [proxyPort]:[proxyPort].",
"formatZH": "服务器代理配置 [proxyPort]:[proxyPort]",
"paramKeys": []
}
}
},
"/core/settings/search": {
"post": {
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.SettingInfo"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load system setting info",
"tags": [
"System Setting"
]
}
},
"/core/settings/search/available": {
"get": {
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load system available status",
"tags": [
"System Setting"
]
}
},
"/core/settings/search/base": {
"post": {
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.SettingBaseInfo"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load base system setting info",
"tags": [
"System Setting"
]
}
},
"/core/settings/ssl/download": {
"post": {
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Download system cert",
"tags": [
"System Setting"
]
}
},
"/core/settings/ssl/info": {
"get": {
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.SSLInfo"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load system cert info",
"tags": [
"System Setting"
]
}
},
"/core/settings/ssl/reload": {
"post": {
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Reload SSL",
"tags": [
"System Setting"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [],
"formatEN": "reload system SSL",
"formatZH": "重载系统 SSL",
"paramKeys": []
}
}
},
"/core/settings/ssl/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.SSLUpdate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update system ssl",
"tags": [
"System Setting"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"ssl"
],
"formatEN": "update system ssl =\u003e [ssl]",
"formatZH": "修改系统 ssl =\u003e [ssl]",
"paramKeys": []
}
}
},
"/core/settings/terminal/search": {
"post": {
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.TerminalInfo"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load system terminal setting info",
"tags": [
"System Setting"
]
}
},
"/core/settings/terminal/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.TerminalUpdate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update system terminal setting",
"tags": [
"System Setting"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [],
"formatEN": "update system terminal setting",
"formatZH": "修改系统终端配置",
"paramKeys": []
}
}
},
"/core/settings/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.SettingUpdate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update system setting",
"tags": [
"System Setting"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"key",
"value"
],
"formatEN": "update system setting [key] =\u003e [value]",
"formatZH": "修改系统配置 [key] =\u003e [value]",
"paramKeys": []
}
}
},
"/core/settings/upgrade": {
"get": {
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.UpgradeInfo"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load upgrade info",
"tags": [
"System Setting"
]
},
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.Upgrade"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Upgrade",
"tags": [
"System Setting"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"version"
],
"formatEN": "upgrade system =\u003e [version]",
"formatZH": "更新系统 =\u003e [version]",
"paramKeys": []
}
}
},
"/core/settings/upgrade/notes": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.Upgrade"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "string"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load release notes by version",
"tags": [
"System Setting"
]
}
},
"/core/settings/upgrade/releases": {
"get": {
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.ReleasesNotes"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load upgrade notes",
"tags": [
"System Setting"
]
}
},
"/cronjobs": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.CronjobOperate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Create cronjob",
"tags": [
"Cronjob"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"type",
"name"
],
"formatEN": "create cronjob [type][name]",
"formatZH": "创建计划任务 [type][name]",
"paramKeys": []
}
}
},
"/cronjobs/del": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.CronjobBatchDelete"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Delete cronjob",
"tags": [
"Cronjob"
],
"x-panel-log": {
"BeforeFunctions": [
{
"db": "cronjobs",
"input_column": "id",
"input_value": "ids",
"isList": true,
"output_column": "name",
"output_value": "names"
}
],
"bodyKeys": [
"ids"
],
"formatEN": "delete cronjob [names]",
"formatZH": "删除计划任务 [names]",
"paramKeys": []
}
}
},
"/cronjobs/export": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OperateByIDs"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Export cronjob list",
"tags": [
"Cronjob"
]
}
},
"/cronjobs/group/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ChangeGroup"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update cronjob group",
"tags": [
"Cronjob"
],
"x-panel-log": {
"BeforeFunctions": [
{
"db": "cronjobs",
"input_column": "id",
"input_value": "id",
"isList": false,
"output_column": "name",
"output_value": "name"
}
],
"bodyKeys": [
"id"
],
"formatEN": "update cronjob group [name]",
"formatZH": "更新计划任务分组 [name]",
"paramKeys": []
}
}
},
"/cronjobs/handle": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OperateByID"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Handle cronjob once",
"tags": [
"Cronjob"
],
"x-panel-log": {
"BeforeFunctions": [
{
"db": "cronjobs",
"input_column": "id",
"input_value": "id",
"isList": false,
"output_column": "name",
"output_value": "name"
}
],
"bodyKeys": [
"id"
],
"formatEN": "manually execute the cronjob [name]",
"formatZH": "手动执行计划任务 [name]",
"paramKeys": []
}
}
},
"/cronjobs/import": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.CronjobImport"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Import cronjob list",
"tags": [
"Cronjob"
]
}
},
"/cronjobs/load/info": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OperateByID"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load cronjob info",
"tags": [
"Cronjob"
]
}
},
"/cronjobs/next": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.CronjobSpec"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load cronjob spec time",
"tags": [
"Cronjob"
]
}
},
"/cronjobs/records/clean": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.CronjobClean"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Clean job records",
"tags": [
"Cronjob"
],
"x-panel-log": {
"BeforeFunctions": [
{
"db": "cronjobs",
"input_column": "id",
"input_value": "cronjobID",
"isList": false,
"output_column": "name",
"output_value": "name"
}
],
"bodyKeys": [
"cronjobID"
],
"formatEN": "clean cronjob [name] records",
"formatZH": "清空计划任务记录 [name]",
"paramKeys": []
}
}
},
"/cronjobs/records/log": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OperateByID"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "string"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load Cronjob record log",
"tags": [
"Cronjob"
]
}
},
"/cronjobs/script/options": {
"get": {
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.ScriptOptions"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load script options",
"tags": [
"Cronjob"
]
}
},
"/cronjobs/search": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.PageCronjob"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.PageResult"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Page cronjobs",
"tags": [
"Cronjob"
]
}
},
"/cronjobs/search/records": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.SearchRecord"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.PageResult"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Page job records",
"tags": [
"Cronjob"
]
}
},
"/cronjobs/status": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.CronjobUpdateStatus"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update cronjob status",
"tags": [
"Cronjob"
],
"x-panel-log": {
"BeforeFunctions": [
{
"db": "cronjobs",
"input_column": "id",
"input_value": "id",
"isList": false,
"output_column": "name",
"output_value": "name"
}
],
"bodyKeys": [
"id",
"status"
],
"formatEN": "change the status of cronjob [name] to [status].",
"formatZH": "修改计划任务 [name] 状态为 [status]",
"paramKeys": []
}
}
},
"/cronjobs/stop": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OperateByID"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Handle stop job",
"tags": [
"Cronjob"
]
}
},
"/cronjobs/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.CronjobOperate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update cronjob",
"tags": [
"Cronjob"
],
"x-panel-log": {
"BeforeFunctions": [
{
"db": "cronjobs",
"input_column": "id",
"input_value": "id",
"isList": false,
"output_column": "name",
"output_value": "name"
}
],
"bodyKeys": [
"id"
],
"formatEN": "update cronjob [name]",
"formatZH": "更新计划任务 [name]",
"paramKeys": []
}
}
},
"/dashboard/app/launcher": {
"get": {
"consumes": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.AppLauncher"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load app launcher",
"tags": [
"Dashboard"
]
}
},
"/dashboard/app/launcher/option": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.SearchByFilter"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.LauncherOption"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load app launcher options",
"tags": [
"Dashboard"
]
}
},
"/dashboard/app/launcher/show": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.SettingUpdate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update app Launcher",
"tags": [
"Dashboard"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"key",
"value"
],
"formatEN": "app launcher [key] =\u003e show: [value]",
"formatZH": "首页应用 [key] =\u003e 显示:[value]",
"paramKeys": []
}
}
},
"/dashboard/base/:ioOption/:netOption": {
"get": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "path",
"name": "ioOption",
"required": true,
"type": "string"
},
{
"description": "request",
"in": "path",
"name": "netOption",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.DashboardBase"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load dashboard base info",
"tags": [
"Dashboard"
]
}
},
"/dashboard/base/os": {
"get": {
"consumes": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.OsInfo"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load os info",
"tags": [
"Dashboard"
]
}
},
"/dashboard/current/:ioOption/:netOption": {
"get": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "path",
"name": "ioOption",
"required": true,
"type": "string"
},
{
"description": "request",
"in": "path",
"name": "netOption",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.DashboardCurrent"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load dashboard current info",
"tags": [
"Dashboard"
]
}
},
"/dashboard/current/node": {
"get": {
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.NodeCurrent"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load dashboard current info for node",
"tags": [
"Dashboard"
]
}
},
"/dashboard/current/top/cpu": {
"get": {
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.Process"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load top cpu processes",
"tags": [
"Dashboard"
]
}
},
"/dashboard/current/top/mem": {
"get": {
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.Process"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load top memory processes",
"tags": [
"Dashboard"
]
}
},
"/dashboard/quick/change": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ChangeQuicks"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update quick jump",
"tags": [
"Dashboard"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [],
"formatEN": "change quick jump",
"formatZH": "切换快速跳转",
"paramKeys": []
}
}
},
"/dashboard/quick/option": {
"get": {
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.QuickJump"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load quick jump options",
"tags": [
"Dashboard"
]
}
},
"/dashboard/system/restart/:operation": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "path",
"name": "operation",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "System restart",
"tags": [
"Dashboard"
]
}
},
"/databases": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.MysqlDBCreate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Create mysql database",
"tags": [
"Database Mysql"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"name"
],
"formatEN": "create mysql database [name]",
"formatZH": "创建 mysql 数据库 [name]",
"paramKeys": []
}
}
},
"/databases/change/access": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ChangeDBInfo"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Change mysql root access",
"tags": [
"Database Mysql"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"database"
],
"formatEN": "Update database [database] root access",
"formatZH": "更新数据库 [database] root 访问权限",
"paramKeys": []
}
}
},
"/databases/change/password": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ChangeDBInfo"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Change mysql root password",
"tags": [
"Database Mysql"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"database"
],
"formatEN": "Update database [database] root password",
"formatZH": "更新数据库 [database] root 密码",
"paramKeys": []
}
}
},
"/databases/common/info": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OperationWithNameAndType"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.DBBaseInfo"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load base info",
"tags": [
"Database Common"
]
}
},
"/databases/common/load/file": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OperationWithNameAndType"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "string"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load Database conf",
"tags": [
"Database Common"
]
}
},
"/databases/common/update/conf": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.DBConfUpdateByFile"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update conf by upload file",
"tags": [
"Database Common"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"type",
"database"
],
"formatEN": "update the [type] [database] database configuration information",
"formatZH": "更新 [type] 数据库 [database] 配置信息",
"paramKeys": []
}
}
},
"/databases/db": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.DatabaseCreate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Create database",
"tags": [
"Database"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"name",
"type"
],
"formatEN": "create database [name][type]",
"formatZH": "创建远程数据库 [name][type]",
"paramKeys": []
}
}
},
"/databases/db/:name": {
"get": {
"parameters": [
{
"description": "name",
"in": "path",
"name": "name",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.DatabaseInfo"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Get databases",
"tags": [
"Database"
]
}
},
"/databases/db/check": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.DatabaseCreate"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "boolean"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Check database",
"tags": [
"Database"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"name",
"type"
],
"formatEN": "check if database [name][type] is connectable",
"formatZH": "检测远程数据库 [name][type] 连接性",
"paramKeys": []
}
}
},
"/databases/db/del": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.DatabaseDelete"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Delete database",
"tags": [
"Database"
],
"x-panel-log": {
"BeforeFunctions": [
{
"db": "databases",
"input_column": "id",
"input_value": "ids",
"isList": true,
"output_column": "name",
"output_value": "names"
}
],
"bodyKeys": [
"ids"
],
"formatEN": "delete database [names]",
"formatZH": "删除远程数据库 [names]",
"paramKeys": []
}
}
},
"/databases/db/del/check": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OperateByID"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"type": "string"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Check before delete remote database",
"tags": [
"Database"
]
}
},
"/databases/db/item/:type": {
"get": {
"parameters": [
{
"description": "type",
"in": "path",
"name": "type",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.DatabaseItem"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "List databases",
"tags": [
"Database"
]
}
},
"/databases/db/list/:type": {
"get": {
"parameters": [
{
"description": "type",
"in": "path",
"name": "type",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.DatabaseOption"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "List databases",
"tags": [
"Database"
]
}
},
"/databases/db/search": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.DatabaseSearch"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.PageResult"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Page databases",
"tags": [
"Database"
]
}
},
"/databases/db/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.DatabaseUpdate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update database",
"tags": [
"Database"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"name"
],
"formatEN": "update database [name]",
"formatZH": "更新远程数据库 [name]",
"paramKeys": []
}
}
},
"/databases/del": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.MysqlDBDelete"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Delete mysql database",
"tags": [
"Database Mysql"
],
"x-panel-log": {
"BeforeFunctions": [
{
"db": "database_mysqls",
"input_column": "id",
"input_value": "id",
"isList": false,
"output_column": "name",
"output_value": "name"
}
],
"bodyKeys": [
"id"
],
"formatEN": "delete mysql database [name]",
"formatZH": "删除 mysql 数据库 [name]",
"paramKeys": []
}
}
},
"/databases/del/check": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.MysqlDBDeleteCheck"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"type": "string"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Check before delete mysql database",
"tags": [
"Database Mysql"
]
}
},
"/databases/description/update": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.UpdateDescription"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update mysql database description",
"tags": [
"Database Mysql"
],
"x-panel-log": {
"BeforeFunctions": [
{
"db": "database_mysqls",
"input_column": "id",
"input_value": "id",
"isList": false,
"output_column": "name",
"output_value": "name"
}
],
"bodyKeys": [
"id",
"description"
],
"formatEN": "The description of the mysql database [name] is modified =\u003e [description]",
"formatZH": "mysql 数据库 [name] 描述信息修改 [description]",
"paramKeys": []
}
}
},
"/databases/format/options": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.OperationWithName"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.MysqlFormatCollationOption"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "List mysql database format collation options",
"tags": [
"Database Mysql"
]
}
},
"/databases/grants": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.MysqlGrantCreate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Grant mysql user",
"tags": [
"Database Mysql"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"database",
"db",
"username",
"host"
],
"formatEN": "grant mysql database [database] user [username]@[host] access to [db]",
"formatZH": "授权 mysql 数据库 [database] 用户 [username]@[host] 访问 [db]",
"paramKeys": []
}
}
},
"/databases/grants/del": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.MysqlGrantDelete"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Revoke mysql grant",
"tags": [
"Database Mysql"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"database",
"db",
"username",
"host"
],
"formatEN": "revoke mysql database [database] user [username]@[host] access to [db]",
"formatZH": "取消 mysql 数据库 [database] 用户 [username]@[host] 对 [db] 的授权",
"paramKeys": []
}
}
},
"/databases/grants/search": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.MysqlUserSearch"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"$ref": "#/definitions/dto.MysqlGrant"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "List mysql grants",
"tags": [
"Database Mysql"
]
}
},
"/databases/grants/summary": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.MysqlGrantSummarySearch"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"additionalProperties": {
"items": {
"$ref": "#/definitions/dto.MysqlUser"
},
"type": "array"
},
"type": "object"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "List mysql grant summary",
"tags": [
"Database Mysql"
]
}
},
"/databases/load": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.MysqlLoadDB"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load mysql database from remote",
"tags": [
"Database Mysql"
]
}
},
"/databases/mongodb": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.MongodbDBCreate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Create mongodb database",
"tags": [
"Database Mongodb"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"name"
],
"formatEN": "create mongodb database [name]",
"formatZH": "创建 mongodb 数据库 [name]",
"paramKeys": []
}
}
},
"/databases/mongodb/bind": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.MongodbBind"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Bind mongodb database user info",
"tags": [
"Database Mongodb"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"database",
"name",
"username"
],
"formatEN": "bind mongodb database [database] [name] user [username]",
"formatZH": "绑定 mongodb 数据库 [database] [name] 用户 [username]",
"paramKeys": []
}
}
},
"/databases/mongodb/del": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.MongodbDBDelete"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Delete mongodb database",
"tags": [
"Database Mongodb"
],
"x-panel-log": {
"BeforeFunctions": [
{
"db": "database_mongodbs",
"input_column": "id",
"input_value": "id",
"isList": false,
"output_column": "name",
"output_value": "name"
}
],
"bodyKeys": [
"id"
],
"formatEN": "delete mongodb database [name]",
"formatZH": "删除 mongodb 数据库 [name]",
"paramKeys": []
}
}
},
"/databases/mongodb/del/check": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.MongodbDBDeleteCheck"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"type": "string"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Check before delete mongodb database",
"tags": [
"Database Mongodb"
]
}
},
"/databases/mongodb/description": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.UpdateDescription"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update mongodb database description",
"tags": [
"Database Mongodb"
],
"x-panel-log": {
"BeforeFunctions": [
{
"db": "database_mongodbs",
"input_column": "id",
"input_value": "id",
"isList": false,
"output_column": "name",
"output_value": "name"
}
],
"bodyKeys": [
"id",
"description"
],
"formatEN": "The description of the mongodb database [name] is modified =\u003e [description]",
"formatZH": "mongodb 数据库 [name] 描述信息修改 [description]",
"paramKeys": []
}
}
},
"/databases/mongodb/load": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.MongodbLoadDB"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load mongodb database from remote",
"tags": [
"Database Mongodb"
]
}
},
"/databases/mongodb/password": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.MongodbPassword"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Change mongodb database password",
"tags": [
"Database Mongodb"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"database",
"name"
],
"formatEN": "update mongodb database [database] [name] password",
"formatZH": "更新 mongodb 数据库 [database] [name] 密码",
"paramKeys": []
}
}
},
"/databases/mongodb/privileges": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.MongodbPrivilegesLoad"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "string"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load mongodb privileges",
"tags": [
"Database Mongodb"
]
}
},
"/databases/mongodb/privileges/change": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.MongodbPrivileges"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Change mongodb privileges",
"tags": [
"Database Mongodb"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"database",
"username"
],
"formatEN": "update mongodb database [database] user [username] privileges",
"formatZH": "更新 mongodb 数据库 [database] 用户 [username] 权限",
"paramKeys": []
}
}
},
"/databases/mongodb/root/password": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ChangeDBInfo"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Change mongodb root password",
"tags": [
"Database Mongodb"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"database"
],
"formatEN": "update mongodb database [database] root password",
"formatZH": "更新 mongodb 数据库 [database] root 密码",
"paramKeys": []
}
}
},
"/databases/mongodb/search": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.MongodbDBSearch"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.PageResult"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Page mongodb databases",
"tags": [
"Database Mongodb"
]
}
},
"/databases/pg": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.PostgresqlDBCreate"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Create postgresql database",
"tags": [
"Database PostgreSQL"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"name"
],
"formatEN": "create postgresql database [name]",
"formatZH": "创建 postgresql 数据库 [name]",
"paramKeys": []
}
}
},
"/databases/pg/:database/load": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.PostgresqlLoadDB"
}
},
{
"description": "database",
"in": "path",
"name": "database",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load postgresql database from remote",
"tags": [
"Database PostgreSQL"
]
}
},
"/databases/pg/bind": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.PostgresqlBindUser"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Bind postgresql user",
"tags": [
"Database PostgreSQL"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"name",
"username"
],
"formatEN": "bind postgresql database [name] user [username]",
"formatZH": "绑定 postgresql 数据库 [name] 用户 [username]",
"paramKeys": []
}
}
},
"/databases/pg/del": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.PostgresqlDBDelete"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Delete postgresql database",
"tags": [
"Database PostgreSQL"
],
"x-panel-log": {
"BeforeFunctions": [
{
"db": "database_postgresqls",
"input_column": "id",
"input_value": "id",
"isList": false,
"output_column": "name",
"output_value": "name"
}
],
"bodyKeys": [
"id"
],
"formatEN": "delete postgresql database [name]",
"formatZH": "删除 postgresql 数据库 [name]",
"paramKeys": []
}
}
},
"/databases/pg/del/check": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.PostgresqlDBDeleteCheck"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"items": {
"type": "string"
},
"type": "array"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Check before delete postgresql database",
"tags": [
"Database PostgreSQL"
]
}
},
"/databases/pg/description": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.UpdateDescription"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Update postgresql database description",
"tags": [
"Database PostgreSQL"
],
"x-panel-log": {
"BeforeFunctions": [
{
"db": "database_postgresqls",
"input_column": "id",
"input_value": "id",
"isList": false,
"output_column": "name",
"output_value": "name"
}
],
"bodyKeys": [
"id",
"description"
],
"formatEN": "The description of the postgresql database [name] is modified =\u003e [description]",
"formatZH": "postgresql 数据库 [name] 描述信息修改 [description]",
"paramKeys": []
}
}
},
"/databases/pg/password": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ChangeDBInfo"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Change postgresql password",
"tags": [
"Database PostgreSQL"
],
"x-panel-log": {
"BeforeFunctions": [
{
"db": "database_postgresqls",
"input_column": "id",
"input_value": "id",
"isList": false,
"output_column": "name",
"output_value": "name"
}
],
"bodyKeys": [
"id"
],
"formatEN": "Update database [name] password",
"formatZH": "更新数据库 [name] 密码",
"paramKeys": []
}
}
},
"/databases/pg/privileges": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ChangeDBInfo"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Change postgresql privileges",
"tags": [
"Database PostgreSQL"
],
"x-panel-log": {
"BeforeFunctions": [],
"bodyKeys": [
"database",
"username"
],
"formatEN": "Update [username] privileges of database [database]",
"formatZH": "更新数据库 [database] 用户 [username] 权限",
"paramKeys": []
}
}
},
"/databases/pg/search": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.PostgresqlDBSearch"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.PageResult"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Page postgresql databases",
"tags": [
"Database PostgreSQL"
]
}
},
"/databases/redis/check": {
"get": {
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Check has cli",
"tags": [
"Database Redis"
]
}
},
"/databases/redis/conf": {
"post": {
"consumes": [
"application/json"
],
"parameters": [
{
"description": "request",
"in": "body",
"name": "request",
"required": true,
"schema": {
"$ref": "#/definitions/dto.LoadRedisStatus"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/dto.RedisConf"
}
}
},
"security": [
{
"ApiKeyAuth": []
},
{
"Timestamp": []
}
],
"summary": "Load redis conf",
"tags": [