Skip to content

集成 API

管理工作空间级别的集成配置(Git、CI/CD 等)。

列出集成

http
GET /api/v1/workspaces/{workspace_id}/integrations
Authorization: Bearer <token>

配置集成

http
PUT /api/v1/workspaces/{workspace_id}/integrations/{type}
Content-Type: application/json

{
  "config": {
    "url": "https://github.com",
    "token": "ghp_..."
  },
  "enabled": true
}

支持的集成类型

类型说明
githubGitHub 代码托管
gitlabGitLab 代码托管
jiraJira 项目管理
smtp邮件发送

测试连接

http
POST /api/v1/workspaces/{workspace_id}/integrations/{type}/test

配置继承

工作空间集成配置继承自组织级配置,并可覆盖。详见组织集成

Forgexa — AI 软件工厂