Files
xiaoxia-saas/apps/api
CI Bot ef897cba78 feat: 字幕管理 - 增删改查 + 批量导入(基于片段config)
- EditPlanService 字幕管理 6 个方法:
  - list_subtitles / get_subtitle
  - add_subtitle / update_subtitle / delete_subtitle
  - batch_update_subtitles(全量替换,支持SRT/ASR导入)
- 字幕存储在 clip.config["subtitles"] 中,无需 migration
- 每条字幕: id / start / end / text / style
- 自动按时间排序、校验时间合法性
- API: 5个接口(列表/新增/更新/删除/批量更新)
  - 项目级权限校验
- 16个单元测试全覆盖
2026-07-17 10:02:27 +08:00
..
2026-06-15 15:17:40 +08:00
2026-07-11 16:29:07 +08:00
2026-06-15 15:17:40 +08:00
2026-06-15 15:17:40 +08:00

xiaoxia-saas API

结构

  • app/core/:配置与基础能力
  • app/api/:路由组织
  • app/schemas/:请求响应模型
  • app/dependencies.py:依赖注入入口
  • main.pyFastAPI 启动入口

当前可用接口

  • GET /api/health
  • GET /api/projects?workspace_id=...
  • POST /api/projects