This commit is contained in:
“shengyudong”
2026-01-06 14:18:39 +08:00
commit 5a384b694e
10345 changed files with 2050918 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
endpoint,method,description,auth,params,response
/api/articles/list,GET,获取文章列表(聚合图片和标签),需要认证,"page, pageSize, keyword, product_id, status",返回文章列表,包含图片和标签信息
/api/articles/list_dashboard,GET,获取文章仪表盘统计(总数、可发、已发),需要认证,,"articles_total, articles_available, articles_published"
/api/articles/generate,POST,生成文案(批量生成文章),需要认证,"product_id, prompt_workflow_id, topics, count",返回生成的文章ID和标题列表
/api/articles/<article_id>,GET,获取文章详情(包含图片、标签、发布记录),需要认证,article_id (路径参数),完整的文章信息包括images、tags、publish_records
/api/articles/<article_id>,PUT,更新文章信息,需要认证,"article_id (路径), title, content, status等字段",更新成功消息
/api/articles/batch-published-account-cycle,POST,批量发布文章 - 账号循环分配,需要认证+角色(admin/editor/reviewer/publisher/enterprise),"article_ids (数组), author_ids (数组)",发布结果统计和详细列表
/api/articles/batch-published-review,POST,批量发布文章到指定作者,需要认证+角色(admin/editor/reviewer/publisher/enterprise),"article_ids (数组), author_id",发布结果统计和详细列表
1 endpoint method description auth params response
2 /api/articles/list GET 获取文章列表(聚合图片和标签) 需要认证 page, pageSize, keyword, product_id, status 返回文章列表,包含图片和标签信息
3 /api/articles/list_dashboard GET 获取文章仪表盘统计(总数、可发、已发) 需要认证 articles_total, articles_available, articles_published
4 /api/articles/generate POST 生成文案(批量生成文章) 需要认证 product_id, prompt_workflow_id, topics, count 返回生成的文章ID和标题列表
5 /api/articles/<article_id> GET 获取文章详情(包含图片、标签、发布记录) 需要认证 article_id (路径参数) 完整的文章信息,包括images、tags、publish_records
6 /api/articles/<article_id> PUT 更新文章信息 需要认证 article_id (路径), title, content, status等字段 更新成功消息
7 /api/articles/batch-published-account-cycle POST 批量发布文章 - 账号循环分配 需要认证+角色(admin/editor/reviewer/publisher/enterprise) article_ids (数组), author_ids (数组) 发布结果统计和详细列表
8 /api/articles/batch-published-review POST 批量发布文章到指定作者 需要认证+角色(admin/editor/reviewer/publisher/enterprise) article_ids (数组), author_id 发布结果统计和详细列表