feat: integrate creator hub douyin workflows

This commit is contained in:
2026-09-14 19:22:07 +08:00
parent 025fe62c37
commit 44a28954cf
42 changed files with 2850 additions and 880 deletions
+9 -6
View File
@@ -1387,6 +1387,8 @@ OP-08的UI注入在浏览器Console执行 `Object.defineProperty(crypto, 'random
| GET `/api/creator/accounts/{A}/profile` | 无;不是 `/accounts/{A}` | UI、STR-01 |
| PUT `/api/creator/accounts/{A}/profile` | E-profile | UI、STR-01/07 |
| POST `/api/creator/accounts/{A}/login-result` | `{"status":"manual_required","reason":"RUN需账号所有者人工登录","actual_platform_account_key":""}`;仅negative状态;logged_in用于拒绝验证 | **API-only**、AC-06、STR-07 |
| POST `/api/creator/accounts/{A}/verify` | 无;核对已人工登录的受管浏览器身份 | UI、AC-06 |
| GET `/api/creator/listeners` | `?account_id=A` | UI、EVT-01/02 |
| POST `/api/creator/accounts/{A}/big-account` | `{"enabled":true}` / false | UI、STR-03 |
| GET `/api/creator/relations` | `?big_account_id=A` | UI、STR-03 |
| POST `/api/creator/relations` | `{"big_account_id":"A","small_account_id":"S1","enabled":true}`;false解除 | UI、STR-03/05 |
@@ -1430,7 +1432,7 @@ E-strategy:
| POST `/api/creator/competitors/{C}/resume` | 无 | UI、COL-02 |
| POST `/api/creator/competitors/{C}/sync` | `{"account_id":"A"}` | UI、COL-02/03/09 |
| GET `/api/creator/works` | `?platform=douyin&source_type=competitor&source_id=C&published_after=2026-09-01T00%3A00%3A00Z&published_before=2026-09-14T00%3A00%3A00Z&min_likes=0&min_comments=0&min_shares=0`;时间换本轮窗口 | UI仅平台/计数,其余**API-only筛选**,COL-07 |
| POST `/api/creator/works` | F-work;仅API补充数据 | **API-only导入**、API-01 |
| POST `/api/creator/test/works` | F-work;仅隔离测试补充数据 | **API-only导入**、API-01;生产入口拒绝客户端伪造 |
| GET `/api/creator/works/{W}` | 无 | **API-only详情**、COL-07 |
| GET `/api/creator/works/{W}/metrics` | 无 | **API-only快照**、COL-08、API-02 |
| POST `/api/creator/works/{W}/metrics` | `{"collected_at":"2026-09-13T12:00:00Z","likes":0,"comments_count":null,"shares":1}`;当轮时间 | **API-only导入**、API-02 |
@@ -1438,9 +1440,10 @@ E-strategy:
| POST `/api/creator/works/{W}/material/select` | 无 | UI、MAT-01 |
| POST `/api/creator/works/{W}/material/process` | 无;会真实下载/处理文件 | UI、MAT-02~04 |
| POST `/api/creator/works/{W}/material/rewrite/confirm` | `{"requirement":"RUN保留事实,使用测试口播风格"}` | UI、MAT-05/06 |
| POST `/api/creator/works/{W}/material/rewrite/generate` | 无;需 AI 设置已批准 | UI、MAT-05/06 |
| PUT `/api/creator/works/{W}/material/rewrite` | `{"title":"RUN人工编辑标题","script":"RUN人工编辑口播正文"}` | UI、MAT-05/06 |
| GET `/api/creator/comments` | `?platform=douyin&work_id=W` | UI、LEAD-03/07 |
| POST `/api/creator/comments` | F-comment | **API-only导入**、API-03 |
| POST `/api/creator/test/comments` | F-comment | **隔离测试导入**、API-03;生产入口拒绝客户端伪造 |
| GET `/api/creator/comments/{K}` | 无 | **API-only详情**、LEAD-07 |
| GET `/api/creator/rules` | 无,或 `?enabled_only=true` | UI及**API-only启用过滤**、LEAD-01/07 |
| POST `/api/creator/rules` | F-rule | UI、LEAD-01 |
@@ -1450,10 +1453,10 @@ E-strategy:
| POST `/api/creator/rules/{R}/disable` | 无 | UI、LEAD-02 |
| GET `/api/creator/rule-results` | `?comment_id=K&rule_id=R` | **API-only结果详情**、LEAD-04/07 |
| GET `/api/creator/leads` | `?platform=douyin` | UI、LEAD-04/06 |
| POST `/api/creator/comments/{K}/analyze` | `{"rule_id":"R"}` | UI、LEAD-03~05 |
| POST `/api/creator/comments/analyze` | `{"comment_ids":["K1","K2"],"rule_id":"R"}` | UI批量分析、LEAD-03~05 |
| GET `/api/creator/events` | `?account_id=A` | **API-only**、EVT、API-04 |
| POST `/api/creator/events` | F-event | **API-only导入**、API-04;不证明监听 |
| POST `/api/creator/events/process` | F-event;可触发真实写,API补充仅baseline/无启用策略账号 | **API-only**、API-04 |
| POST `/api/creator/test/events` | F-event | **隔离测试导入**、API-04;不证明监听 |
| POST `/api/creator/test/events/process` | F-event;仅隔离测试,可触发真实写 | **隔离测试**、API-04;不证明监听 |
| POST `/api/creator/events/{event_id}/display` | 无 | **API-only**、API-04;不作为实际页面可见证据 |
| GET `/api/creator/operations` | `?account_id=S1` | UI、OP-08 |
| POST `/api/creator/operations` | F-operation | UI回复/私信;其他动作**API-only**、OP-01~07 |
@@ -1461,7 +1464,7 @@ E-strategy:
| POST `/api/creator/operations/{operation_id}/execute` | 无;仅在逐次确认/已批准API动作后执行 | UI或API、OP-01~07 |
| GET `/api/creator/conversations` | `?account_id=A` | UI、OP-02 |
| GET `/api/creator/conversations/{conversation_id}/messages` | 无 | UI、OP-02/03 |
| POST `/api/creator/messages` | F-message;仅存储,不发平台消息 | **API-only导入**、API-05 |
| POST `/api/creator/test/messages` | F-message;仅隔离测试存储,不发平台消息 | **隔离测试导入**、API-05 |
F-competitor(主页与标识换为C真实资料;这里不是一键解析真实身份):