API 参考 / project-config
GET /api/v1/projects/{projectId}/config · getProjectConfig
读取项目级配置(模块 / 部门 / 字段命名 / AI 开关)。首份读取时若无配置行返回默认配置。 需要 view_project(项目成员)。
鉴权:项目 API Token(Authorization: Bearer wfp_…)。详见 Agent 接入。
projectId(必填)modules(必填)departments(必填)fieldLabels(必填)fieldLabels.requirementsfieldLabels.workfieldLabels.bugsfieldLabels.milestonesaiEnabled(必填)feishuWebhookConfigured401:Problem 错误响应403:Problem 错误响应curl -X GET "https://你的项目.workflow.games/api/v1/projects/{projectId}/config" \
-H "Authorization: Bearer wfp_…"HTTP/1.1 200
{
"modules": [
"示例文本"
],
"departments": [
"示例文本"
],
"fieldLabels": {
"requirements": "示例文本",
"work": "示例文本",
"bugs": "示例文本"
},
"aiEnabled": true
}合同真值:OpenAPI 3.1(0.1.0)。
相关:Agent 接入指南 · 使用指南 · API 参考索引