Files
ai_wht_B/文章接口文档_20251229.csv
“shengyudong” 5a384b694e 2026-1-6
2026-01-06 14:18:39 +08:00

9 lines
1.3 KiB
CSV
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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",发布结果统计和详细列表