渠道管理/内容发布
更新作品链接状态
接口说明:更新当前用户发布记录的作品链接状态;ready 时会解析作品链接并同步作品 ID 等派生字段。
PATCH
更新作品链接状态
授权
AiToEarn Open Platform API Key。
路径参数
发布记录 ID
请求体
application/json
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
接口说明:更新当前用户发布记录的作品链接状态;ready 时会解析作品链接并同步作品 ID 等派生字段。
curl --request PATCH \
--url https://aitoearn.cn/api/v2/channels/publish/records/{recordId}/work-link \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"workLink": "<string>",
"dataId": "<string>",
"platformWorkId": "<string>",
"linkStatus": "ready",
"linkError": "<string>",
"linkMeta": {}
}
'{
"code": 0,
"message": "请求成功",
"data": {
"id": "string",
"accountType": "douyin",
"type": "video",
"status": -1,
"publishTime": "2026-07-02T12:00:00.000Z",
"flowId": "string",
"taskId": "string",
"userTaskId": "string",
"accountId": "string",
"title": "string",
"desc": "string",
"platformWorkId": "string"
}
}AiToEarn Open Platform API Key。
发布记录 ID
请求已被服务处理。业务是否成功以响应体 code === 0 为准。
业务状态码。0 表示成功,非 0 表示业务错误。
响应消息。
Hide child attributes
发布记录 ID
账号平台
douyin, xhs, wxSph, KWAI, youtube, wxGzh, bilibili, twitter, tiktok, facebook, instagram, threads, pinterest, linkedin, google_business 发布类型
video, article 发布状态
-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 发布时间
发布 Flow ID
外部任务 ID
用户任务 ID
账号 ID
标题
正文
平台作品 ID
作品链接
作品链接状态
pending, ready, failed 作品链接获取错误
作品链接扩展信息
视频 URL
封面 URL
图片 URL 列表
发布来源
publish, task_link, offline_qr, btl, web, api, internal, mcp 错误信息
创建时间
更新时间
请求 ID。
错误响应时间戳,Unix 毫秒。
curl --request PATCH \
--url https://aitoearn.cn/api/v2/channels/publish/records/{recordId}/work-link \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"workLink": "<string>",
"dataId": "<string>",
"platformWorkId": "<string>",
"linkStatus": "ready",
"linkError": "<string>",
"linkMeta": {}
}
'{
"code": 0,
"message": "请求成功",
"data": {
"id": "string",
"accountType": "douyin",
"type": "video",
"status": -1,
"publishTime": "2026-07-02T12:00:00.000Z",
"flowId": "string",
"taskId": "string",
"userTaskId": "string",
"accountId": "string",
"title": "string",
"desc": "string",
"platformWorkId": "string"
}
}