Files
xiaoxia-saas/apps/api
灵应 6182aa4682
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 189h53m28s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 189h53m31s
Deploy / Deploy Staging (push) Failing after 190h12m9s
CI/CD Pipeline / Frontend Lint (push) Failing after 190h12m43s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 190h12m47s
feat(phase8): 实现模板管理 CRUD API (#2.03)
- 新增 5 个 RESTful 端点: GET/POST/PUT/DELETE /api/v1/edit-templates
- 支持分页、按类型/状态筛选
- Pydantic Schema 请求/响应验证
- 软删除模式 (DELETE → inactive)
- 扩展 Repository.count() 支持 template_type 筛选
- 28 个单元测试全部通过

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-01 14:33:11 +08:00
..
2026-06-15 15:17:40 +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