omni-db-backups
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->
<!-- 由 src/lib/agentSkills/generator.ts 生成;手动修改将被覆盖 -->
Overview
概述
Trigger system backups, restore from backup files, and manage the SQLite database lifecycle. Supports export, import, and incremental snapshot strategies.
触发系统备份、从备份文件恢复,以及管理 SQLite 数据库生命周期。支持导出、导入和增量快照策略。
Authentication
身份验证
All requests require a valid Bearer token or session cookie. Obtain a token via or configure for local development.
POST /api/auth/loginREQUIRE_API_KEY=false所有请求都需要有效的 Bearer token 或 session cookie。可通过 获取 token,或在本地开发环境中配置 。
POST /api/auth/loginREQUIRE_API_KEY=falseEndpoints
API 端点
GET /api/system/env/repair
GET /api/system/env/repair
GET system › env › repair
bash
curl http://localhost:20128/api/system/env/repair \
-H "Authorization: Bearer $OMNIROUTE_TOKEN"GET system › env › repair
bash
curl http://localhost:20128/api/system/env/repair \
-H "Authorization: Bearer $OMNIROUTE_TOKEN"POST /api/system/env/repair
POST /api/system/env/repair
POST system › env › repair
bash
curl -X POST http://localhost:20128/api/system/env/repair \
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'POST system › env › repair
bash
curl -X POST http://localhost:20128/api/system/env/repair \
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'GET /api/system/version
GET /api/system/version
GET system › version
Running version, latest published version, auto-update status and npm release channel. and are additive (rail 3.8.54); keeps meaning the deployment mode used by the dashboard updater.
releaseChannelchannelschannelbash
curl http://localhost:20128/api/system/version \
-H "Authorization: Bearer $OMNIROUTE_TOKEN"GET system › version
当前运行版本、最新发布版本、自动更新状态和 npm 发布渠道。 和 是新增字段(rail 3.8.54); 仍表示 Dashboard 更新器所使用的部署模式。
releaseChannelchannelschannelbash
curl http://localhost:20128/api/system/version \
-H "Authorization: Bearer $OMNIROUTE_TOKEN"POST /api/system/version
POST /api/system/version
POST system › version
bash
curl -X POST http://localhost:20128/api/system/version \
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'POST system › version
bash
curl -X POST http://localhost:20128/api/system/version \
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'Payloads
请求载荷
See the full OpenAPI specification at or for detailed request/response schemas.
GET /api/openapi/specdocs/openapi.yaml有关详细的请求/响应 schema,请参阅 或 中的完整 OpenAPI specification。
GET /api/openapi/specdocs/openapi.yaml