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