支持验收项目空飞书链接更新
This commit is contained in:
@@ -67,10 +67,10 @@
|
||||
"/api/v1/acceptance-tasks/{task_id}": {
|
||||
"patch": {
|
||||
"summary": "修改验收项目配置",
|
||||
"description": "修改根项目名称、搜索关键词和匹配关键词,并同步更新相同 dashboard_batch_key 的数据看板主体和问题选项。",
|
||||
"description": "修改根项目名称、可选飞书链接、搜索关键词、匹配关键词和采集周期,并同步更新相同 dashboard_batch_key 的数据看板主体和问题选项。飞书链接允许传空数组。",
|
||||
"tags": ["项目验收"],
|
||||
"parameters": [{"$ref": "#/components/parameters/TaskId"}],
|
||||
"requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "required": ["name", "keywords", "match_keywords"], "properties": {"name": {"type": "string"}, "keywords": {"type": "array", "items": {"type": "string"}}, "match_keywords": {"type": "array", "items": {"type": "string"}}}}}}},
|
||||
"requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "required": ["keywords", "match_keywords"], "properties": {"name": {"type": "string"}, "feishu_links": {"type": "array", "items": {"type": "string"}}, "keywords": {"type": "array", "items": {"type": "string"}}, "match_keywords": {"type": "array", "items": {"type": "string"}}, "schedule_weekdays": {"type": "array", "items": {"type": "integer", "minimum": 1, "maximum": 7}}, "schedule_start_time": {"type": "string", "example": "20:00"}, "schedule_end_time": {"type": "string", "example": "22:00"}}}}}},
|
||||
"responses": {"200": {"description": "项目与数据看板配置同步成功"}}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user