@yixiaoermail/cli 3.2.3 → 3.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (244) hide show
  1. package/bin/install.js +46 -2
  2. package/bin/yxer.js +31 -2
  3. package/checksums.txt +6 -6
  4. package/package.json +1 -1
  5. package/references/cli/command-design.md +1 -1
  6. package/references/cli/command-reference.md +30 -39
  7. package/references/cli/publish-channels.md +77 -0
  8. package/references/create-account-group.md +27 -0
  9. package/references/delete-account-group.md +20 -0
  10. package/references/domains/accounts-and-env.md +43 -0
  11. package/references/domains/draft-and-material.md +34 -0
  12. package/references/domains/install-and-sync.md +63 -0
  13. package/references/domains/publish.md +84 -0
  14. package/references/domains/troubleshooting.md +34 -0
  15. package/references/execution-standard.md +144 -0
  16. package/references/get-account-groups.md +15 -0
  17. package/references/get-account-overviews.md +56 -0
  18. package/references/get-challenges.md +14 -0
  19. package/references/get-collections.md +34 -0
  20. package/references/get-content-overviews.md +59 -0
  21. package/references/get-friends.md +9 -0
  22. package/references/get-games.md +39 -0
  23. package/references/get-goods.md +42 -0
  24. package/references/get-groups.md +35 -0
  25. package/references/get-hot-events.md +14 -0
  26. package/references/get-locations.md +48 -0
  27. package/references/get-members.md +28 -0
  28. package/references/get-miniapps.md +38 -0
  29. package/references/get-music-categories.md +41 -0
  30. package/references/get-music.md +67 -0
  31. package/references/get-publish-activities.md +40 -0
  32. package/references/get-publish-categories.md +62 -0
  33. package/references/get-sync-apps.md +14 -0
  34. package/references/get-topics.md +13 -0
  35. package/references/go-live-process.md +160 -0
  36. package/references/keyword-reference.md +114 -0
  37. package/references/legacy/capabilities.md +1 -1
  38. package/references/material-resource.md +88 -0
  39. package/references/platform-doc-maintenance.md +33 -0
  40. package/references/platform.md +62 -0
  41. package/references/platforms/article/acfun.md +90 -0
  42. package/references/platforms/article/aiqiyi.md +56 -0
  43. package/references/platforms/article/baijiahao.md +94 -0
  44. package/references/platforms/article/bilibili.md +88 -0
  45. package/references/platforms/article/chejiahao.md +81 -0
  46. package/references/platforms/article/csdn.md +86 -0
  47. package/references/platforms/article/dayuhao.md +78 -0
  48. package/references/platforms/article/douban.md +62 -0
  49. package/references/platforms/article/douyin.md +106 -0
  50. package/references/platforms/article/index.md +157 -0
  51. package/references/platforms/article/jianshu.md +58 -0
  52. package/references/platforms/article/kuaichuanhao.md +78 -0
  53. package/references/platforms/article/qiehao.md +78 -0
  54. package/references/platforms/article/souhuhao.md +75 -0
  55. package/references/platforms/article/toutiaohao.md +78 -0
  56. package/references/platforms/article/wangyihao.md +79 -0
  57. package/references/platforms/article/weixingongzhonghao.md +135 -0
  58. package/references/platforms/article/xinlangweibo.md +75 -0
  59. package/references/platforms/article/xueqiuhao.md +73 -0
  60. package/references/platforms/article/yichehao.md +92 -0
  61. package/references/platforms/article/yidianhao.md +76 -0
  62. package/references/platforms/article/zhihu.md +75 -0
  63. package/references/platforms/imageText/baijiahao.md +102 -0
  64. package/references/platforms/imageText/douyin.md +111 -0
  65. package/references/platforms/imageText/index.md +113 -0
  66. package/references/platforms/imageText/kuaishou.md +106 -0
  67. package/references/platforms/imageText/shipinhao.md +112 -0
  68. package/references/platforms/imageText/toutiaohao.md +76 -0
  69. package/references/platforms/imageText/xiaohongshu.md +85 -0
  70. package/references/platforms/imageText/xinlangweibo.md +77 -0
  71. package/references/platforms/imageText/zhihu.md +92 -0
  72. package/references/platforms/index.md +6 -6
  73. package/references/platforms/video/acfun.md +82 -0
  74. package/references/platforms/video/aiqiyi.md +89 -0
  75. package/references/platforms/video/baijiahao.md +89 -0
  76. package/references/platforms/video/bilibili-open.md +59 -0
  77. package/references/platforms/video/bilibili.md +80 -0
  78. package/references/platforms/video/chejiahao.md +63 -0
  79. package/references/platforms/video/dayuhao.md +91 -0
  80. package/references/platforms/video/dewu.md +80 -0
  81. package/references/platforms/video/douyin.md +173 -0
  82. package/references/platforms/video/duoduoshipin.md +64 -0
  83. package/references/platforms/video/facebook.md +37 -0
  84. package/references/platforms/video/fengwang.md +81 -0
  85. package/references/platforms/video/index.md +173 -0
  86. package/references/platforms/video/instagram.md +40 -0
  87. package/references/platforms/video/kuaishou-open.md +44 -0
  88. package/references/platforms/video/kuaishou.md +77 -0
  89. package/references/platforms/video/meipai.md +79 -0
  90. package/references/platforms/video/meiyou.md +59 -0
  91. package/references/platforms/video/pipixia.md +58 -0
  92. package/references/platforms/video/qiehao.md +91 -0
  93. package/references/platforms/video/shipinhao.md +100 -0
  94. package/references/platforms/video/souhuhao.md +91 -0
  95. package/references/platforms/video/souhushipin.md +64 -0
  96. package/references/platforms/video/tengxunshipin.md +63 -0
  97. package/references/platforms/video/tiktok.md +50 -0
  98. package/references/platforms/video/toutiaohao.md +66 -0
  99. package/references/platforms/video/wangyihao.md +93 -0
  100. package/references/platforms/video/weishi.md +61 -0
  101. package/references/platforms/video/xiaohongshu.md +133 -0
  102. package/references/platforms/video/xiaohongshushop.md +92 -0
  103. package/references/platforms/video/xinlangweibo.md +79 -0
  104. package/references/platforms/video/yichehao.md +61 -0
  105. package/references/platforms/video/yidianhao.md +85 -0
  106. package/references/platforms/video/youtube.md +53 -0
  107. package/references/platforms/video/zhihu.md +85 -0
  108. package/references/protocols/confirmation.md +62 -0
  109. package/references/protocols/error-recovery.md +50 -0
  110. package/references/protocols/execution.md +65 -0
  111. package/references/protocols/provenance.md +61 -0
  112. package/references/proxy-management.md +69 -0
  113. package/references/query-accounts.md +85 -0
  114. package/references/save-draft.md +75 -0
  115. package/references/topic-tags.md +140 -0
  116. package/references/troubleshooting-guide.md +105 -0
  117. package/references/update-account-group.md +28 -0
  118. package/references/upload-resource.md +70 -0
  119. package/references/usage-workflow.md +207 -0
  120. package/references/workflows/common-rules.md +57 -27
  121. package/references/workflows/data-accuracy.md +83 -0
  122. package/references/workflows/local-vs-cloud.md +12 -5
  123. package/references/workflows/payload-sourcing.md +3 -0
  124. package/references/workflows/publish-article.md +5 -3
  125. package/references/workflows/publish-imageText.md +5 -3
  126. package/references/workflows/publish-troubleshooting.md +1 -1
  127. package/references/workflows/publish-video.md +6 -4
  128. package/references/yixiaoer-shared.md +106 -0
  129. package/schemas/platforms/acfun.article.schema.json +9 -9
  130. package/schemas/platforms/baijiahao.article.schema.json +8 -0
  131. package/schemas/platforms/baijiahao.video.schema.json +19 -2
  132. package/schemas/platforms/bilibili-open.video.schema.json +188 -0
  133. package/schemas/platforms/chejiahao.article.schema.json +7 -7
  134. package/schemas/platforms/dayuhao.video.schema.json +26 -0
  135. package/schemas/platforms/douyin.article.schema.json +8 -0
  136. package/schemas/platforms/douyin.imageText.schema.json +16 -2
  137. package/schemas/platforms/douyin.video.schema.json +88 -6
  138. package/schemas/platforms/kuaichuanhao.article.schema.json +20 -8
  139. package/schemas/platforms/kuaishou-open.video.schema.json +102 -0
  140. package/schemas/platforms/kuaishou.imageText.schema.json +12 -2
  141. package/schemas/platforms/kuaishou.video.schema.json +31 -0
  142. package/schemas/platforms/shipinhao.imageText.schema.json +13 -1
  143. package/schemas/platforms/shipinhao.video.schema.json +31 -0
  144. package/schemas/platforms/souhushipin.video.schema.json +3 -3
  145. package/schemas/platforms/tengxunshipin.video.schema.json +1 -0
  146. package/schemas/platforms/toutiaohao.imageText.schema.json +2 -1
  147. package/schemas/platforms/toutiaohao.video.schema.json +2 -1
  148. package/schemas/platforms/wangyihao.article.schema.json +6 -5
  149. package/schemas/platforms/wangyihao.video.schema.json +1 -0
  150. package/schemas/platforms/xhs.imageText.schema.json +27 -25
  151. package/schemas/platforms/xiaohongshu.video.schema.json +2 -1
  152. package/schemas/platforms/xinlang.imageText.schema.json +23 -2
  153. package/schemas/platforms/xinlang.video.schema.json +40 -10
  154. package/schemas/platforms/yidianhao.article.schema.json +1 -0
  155. package/schemas/platforms/yidianhao.video.schema.json +9 -8
  156. package/skills/yixiaoer/SKILL.md +30 -4
  157. package/skills/yixiaoer/references/cli/command-design.md +305 -0
  158. package/skills/yixiaoer/references/cli/command-reference.md +21 -8
  159. package/skills/yixiaoer/references/cli/publish-channels.md +77 -0
  160. package/skills/yixiaoer/references/domains/accounts-and-env.md +6 -2
  161. package/skills/yixiaoer/references/domains/draft-and-material.md +8 -3
  162. package/skills/yixiaoer/references/domains/install-and-sync.md +5 -7
  163. package/skills/yixiaoer/references/domains/publish.md +17 -10
  164. package/skills/yixiaoer/references/domains/troubleshooting.md +6 -2
  165. package/skills/yixiaoer/references/get-account-groups.md +2 -1
  166. package/skills/yixiaoer/references/go-live-process.md +2 -2
  167. package/skills/yixiaoer/references/keyword-reference.md +3 -2
  168. package/skills/yixiaoer/references/legacy/capabilities.md +37 -0
  169. package/skills/yixiaoer/references/platform.md +2 -1
  170. package/skills/yixiaoer/references/platforms/article/acfun.md +1 -1
  171. package/skills/yixiaoer/references/platforms/article/aiqiyi.md +1 -1
  172. package/skills/yixiaoer/references/platforms/article/baijiahao.md +1 -1
  173. package/skills/yixiaoer/references/platforms/article/bilibili.md +1 -1
  174. package/skills/yixiaoer/references/platforms/article/chejiahao.md +1 -1
  175. package/skills/yixiaoer/references/platforms/article/csdn.md +1 -1
  176. package/skills/yixiaoer/references/platforms/article/dayuhao.md +1 -1
  177. package/skills/yixiaoer/references/platforms/article/douban.md +1 -1
  178. package/skills/yixiaoer/references/platforms/article/douyin.md +1 -1
  179. package/skills/yixiaoer/references/platforms/article/index.md +2 -2
  180. package/skills/yixiaoer/references/platforms/article/jianshu.md +1 -1
  181. package/skills/yixiaoer/references/platforms/article/kuaichuanhao.md +1 -1
  182. package/skills/yixiaoer/references/platforms/article/qiehao.md +1 -1
  183. package/skills/yixiaoer/references/platforms/article/souhuhao.md +1 -1
  184. package/skills/yixiaoer/references/platforms/article/toutiaohao.md +1 -1
  185. package/skills/yixiaoer/references/platforms/article/wangyihao.md +1 -1
  186. package/skills/yixiaoer/references/platforms/article/weixingongzhonghao.md +1 -1
  187. package/skills/yixiaoer/references/platforms/article/xinlangweibo.md +1 -1
  188. package/skills/yixiaoer/references/platforms/article/xueqiuhao.md +1 -1
  189. package/skills/yixiaoer/references/platforms/article/yichehao.md +1 -1
  190. package/skills/yixiaoer/references/platforms/article/yidianhao.md +1 -1
  191. package/skills/yixiaoer/references/platforms/article/zhihu.md +1 -1
  192. package/skills/yixiaoer/references/platforms/imageText/baijiahao.md +1 -1
  193. package/skills/yixiaoer/references/platforms/imageText/douyin.md +1 -1
  194. package/skills/yixiaoer/references/platforms/imageText/index.md +5 -8
  195. package/skills/yixiaoer/references/platforms/imageText/kuaishou.md +1 -1
  196. package/skills/yixiaoer/references/platforms/imageText/shipinhao.md +4 -17
  197. package/skills/yixiaoer/references/platforms/imageText/toutiaohao.md +1 -1
  198. package/skills/yixiaoer/references/platforms/imageText/xiaohongshu.md +4 -7
  199. package/skills/yixiaoer/references/platforms/imageText/xinlangweibo.md +1 -1
  200. package/skills/yixiaoer/references/platforms/imageText/zhihu.md +1 -1
  201. package/skills/yixiaoer/references/platforms/video/acfun.md +1 -1
  202. package/skills/yixiaoer/references/platforms/video/aiqiyi.md +1 -1
  203. package/skills/yixiaoer/references/platforms/video/baijiahao.md +1 -1
  204. package/skills/yixiaoer/references/platforms/video/bilibili-open.md +33 -61
  205. package/skills/yixiaoer/references/platforms/video/bilibili.md +1 -1
  206. package/skills/yixiaoer/references/platforms/video/chejiahao.md +1 -1
  207. package/skills/yixiaoer/references/platforms/video/dayuhao.md +3 -1
  208. package/skills/yixiaoer/references/platforms/video/dewu.md +1 -1
  209. package/skills/yixiaoer/references/platforms/video/douyin.md +41 -11
  210. package/skills/yixiaoer/references/platforms/video/duoduoshipin.md +1 -1
  211. package/skills/yixiaoer/references/platforms/video/fengwang.md +1 -1
  212. package/skills/yixiaoer/references/platforms/video/index.md +6 -2
  213. package/skills/yixiaoer/references/platforms/video/kuaishou-open.md +20 -39
  214. package/skills/yixiaoer/references/platforms/video/kuaishou.md +1 -1
  215. package/skills/yixiaoer/references/platforms/video/meipai.md +1 -1
  216. package/skills/yixiaoer/references/platforms/video/meiyou.md +1 -1
  217. package/skills/yixiaoer/references/platforms/video/pipixia.md +1 -1
  218. package/skills/yixiaoer/references/platforms/video/qiehao.md +1 -1
  219. package/skills/yixiaoer/references/platforms/video/shipinhao.md +7 -2
  220. package/skills/yixiaoer/references/platforms/video/souhuhao.md +1 -1
  221. package/skills/yixiaoer/references/platforms/video/souhushipin.md +1 -1
  222. package/skills/yixiaoer/references/platforms/video/tengxunshipin.md +1 -1
  223. package/skills/yixiaoer/references/platforms/video/toutiaohao.md +1 -1
  224. package/skills/yixiaoer/references/platforms/video/wangyihao.md +1 -1
  225. package/skills/yixiaoer/references/platforms/video/weishi.md +1 -1
  226. package/skills/yixiaoer/references/platforms/video/xiaohongshu.md +1 -1
  227. package/skills/yixiaoer/references/platforms/video/xiaohongshushop.md +1 -1
  228. package/skills/yixiaoer/references/platforms/video/xinlangweibo.md +1 -1
  229. package/skills/yixiaoer/references/platforms/video/yichehao.md +1 -1
  230. package/skills/yixiaoer/references/platforms/video/yidianhao.md +1 -1
  231. package/skills/yixiaoer/references/platforms/video/zhihu.md +1 -1
  232. package/skills/yixiaoer/references/protocols/confirmation.md +62 -0
  233. package/skills/yixiaoer/references/protocols/error-recovery.md +50 -0
  234. package/skills/yixiaoer/references/protocols/execution.md +65 -0
  235. package/skills/yixiaoer/references/protocols/provenance.md +61 -0
  236. package/skills/yixiaoer/references/upload-resource.md +7 -0
  237. package/skills/yixiaoer/references/usage-workflow.md +1 -1
  238. package/skills/yixiaoer/references/workflows/common-rules.md +37 -16
  239. package/skills/yixiaoer/references/workflows/local-vs-cloud.md +12 -5
  240. package/skills/yixiaoer/references/workflows/publish-troubleshooting.md +1 -1
  241. package/skills/yixiaoer/references/workflows/publish-video.md +1 -1
  242. package/skills/yixiaoer/references/yixiaoer-shared.md +20 -9
  243. package/skills/yixiaoer/references/platforms/get-locations.md +0 -5
  244. package/skills/yixiaoer/references/platforms/imageText/weixinshipinhao.md +0 -7
@@ -0,0 +1,62 @@
1
+ # 平台定义 (Platform Definitions)
2
+ 如无特殊声明,API 接口中 `platforms` 数组中需要填写的名称为**平台中文名**。
3
+
4
+ 详细的发布接口结构请参考: [平台参考索引](./platforms/index.md)
5
+
6
+ ## 平台标识枚举 (Platform Codes)
7
+
8
+ | 平台标识 (Code) | 平台中文名 (Name) |
9
+ | :--- | :--- |
10
+ | `DouYin` | `抖音` |
11
+ | `KuaiShou` | `快手` |
12
+ | `KuaiShou-Open` | `快手-Open` |
13
+ | `ShiPinHao` | `视频号` |
14
+ | `BiLiBiLi` | `哔哩哔哩` |
15
+ | `BiLiBiLi-Open` | `哔哩哔哩-Open` |
16
+ | `XiaoHongShu` | `小红书` |
17
+ | `BaiJiaHao` | `百家号` |
18
+ | `TouTiaoHao` | `头条号` |
19
+ | `XiGuaShiPin` | `西瓜视频` |
20
+ | `ZhiHu` | `知乎` |
21
+ | `QiEHao` | `企鹅号` |
22
+ | `XinLangWeiBo` | `新浪微博` |
23
+ | `SouHuHao` | `搜狐号` |
24
+ | `YiDianHao` | `一点号` |
25
+ | `DaYuHao` | `大鱼号` |
26
+ | `WangYiHao` | `网易号` |
27
+ | `AiQiYi` | `爱奇艺` |
28
+ | `TengXunWeiShi` | `腾讯微视` |
29
+ | `WeiXinGongZhongHao` | `微信公众号` |
30
+ | `WeiXin` | `微信` |
31
+ | `Tiktok` | `TikTok` |
32
+ | `Youtube` | `Youtube` |
33
+ | `Twitter` | `X` |
34
+ | `Facebook` | `Facebook` |
35
+ | `Instagram` | `Instagram` |
36
+ | `Other` | `其他账号` |
37
+ | `SouHuShiPin` | `搜狐视频` |
38
+ | `PiPiXia` | `皮皮虾` |
39
+ | `TengXunShiPin` | `腾讯视频` |
40
+ | `DuoDuoShiPin` | `多多视频` |
41
+ | `MeiPai` | `美拍` |
42
+ | `AcFun` | `AcFun` |
43
+ | `KuaiChuanHao` | `快传号` |
44
+ | `XueQiuHao` | `雪球号` |
45
+ | `CheJiaHao` | `车家号` |
46
+ | `XiaoHongShuShangJiaHao` | `小红书商家号` |
47
+ | `YiCheHao` | `易车号` |
48
+ | `FengWang` | `蜂网` |
49
+ | `DouBan` | `豆瓣` |
50
+ | `CSDN` | `CSDN` |
51
+ | `DeWu` | `得物` |
52
+ | `JianShu` | `简书` |
53
+ | `MeiYou` | `美柚` |
54
+ | `WeiXinGongZhongHao-Open` | `微信公众号-Open` |
55
+
56
+ ## 平台类型枚举 (PlatformType)
57
+
58
+ | 值 (Value) | 定义 | 说明 |
59
+ | :--- | :--- | :--- |
60
+ | `0` | `Crawler` | 其他/爬虫账号 |
61
+ | `1` | `OpenPlatform` | 开放平台账号 |
62
+ | `2` | `Overseas` | 海外平台账号 |
@@ -0,0 +1,90 @@
1
+ # AcFun文章发布参数 (AcFun Article)
2
+
3
+ > [!IMPORTANT]
4
+ > **前提条件 (Prerequisite)**:
5
+ > 在使用本平台的特定参数之前,你 **必须** 已经阅读并理解了 [文章发布首页 (Index)](./index.md) 中定义的 Payload 根结构。本页仅描述 `contentPublishForm` 内部的平台差异化字段。
6
+
7
+
8
+ ## 触发场景 (Trigger)
9
+ - **意图辨析**:用户指定在“Acfun”平台发布文章内容时触发。
10
+ - **典型提示词**:
11
+ - “发布这篇文章到Acfun”
12
+ - “并在Acfun上同步更新”
13
+
14
+ ## 执行逻辑 (Logic Flow)
15
+ 1. **内容处理**:确保文章正文符合Acfun要求的格式。
16
+ 2. **参数装配**:提取标题、正文及封面信息至 `contentPublishForm`。
17
+ 3. **指令执行**:先执行 `yxer validate <platform> <type> <payload.json>`,再执行 `yxer publish <type> <platform> <payload.json> [--publish-channel local --client-id <clientId>]`。
18
+
19
+
20
+ 本平台文章发布通过 `contentPublishForm` 承载以下参数。
21
+
22
+ ## 1. contentPublishForm 参数定义
23
+
24
+ | 字段名 | 类型 | 必填 | 说明 | 默认值 |
25
+ | :--- | :--- | :--- | :--- | :--- |
26
+ | `formType` | `string` | **是** | 固定值: `task` | `task` |
27
+ | `title` | `string` | **是** | 文章标题 (长度: 1-50) | - |
28
+ | `content` | `string` | **是** | 文章内容 (HTML 格式,最多 50000 字符) | - |
29
+ | `desc` | `string` | 否 | 文章摘要/描述 (最多 200 字) | - |
30
+ | `covers` | `Array` | **是** | 文章封面列表 (`OldCover[]`, 至少 1 张) | - |
31
+ | `tags` | `string[]` | 否 | 话题标签 (最多 1 个) | - |
32
+ | `category` | `Array` | **是** | 文章分类 (`Category[]`, 1-2 个) | - |
33
+ | `type` | `number` | **是** | 创作类型: 0-不申明, 1-申明原创 | - |
34
+ | `contentSourceUrl` | `string` | 否 | 原文链接 (转载时必填) | - |
35
+
36
+ ## 2. Payload 完整示例
37
+
38
+ ```json
39
+ {
40
+ "action": "publish",
41
+ "publishType": "article",
42
+ "platforms": ["AcFun"],
43
+ "publishArgs": {
44
+ "accountForms": [
45
+ {
46
+ "platformAccountId": "acc_ac_001",
47
+ "coverKey": "article_cover_key",
48
+ "cover": { "key": "article_cover_key", "size": 102400, "width": 800, "height": 600 },
49
+ "contentPublishForm": {
50
+ "formType": "task",
51
+ "title": "这是文章标题",
52
+ "content": "<h1>文章标题</h1><p>正文内容...</p>",
53
+ "covers": [
54
+ { "key": "article_cover_key", "size": 102400, "width": 800, "height": 600 }
55
+ ],
56
+ "tags": ["综合"],
57
+ "type": 1,
58
+ "category": [
59
+ { "yixiaoerId": "cat_001", "yixiaoerName": "综合", "raw": {} }
60
+ ]
61
+ }
62
+ }
63
+ ]
64
+ }
65
+ }
66
+ ```
67
+
68
+ ## 3. 复杂对象结构说明
69
+
70
+ ### 3.1 OldCover
71
+ | 字段名 | 类型 | 必填 | 说明 |
72
+ | :--- | :--- | :--- | :--- |
73
+ | `key` | `string` | **是** | OSS 资源 Key |
74
+ | `size` | `number` | **是** | 文件大小 (Bytes) |
75
+ | `width` | `number` | **是** | 宽度 |
76
+ | `height` | `number` | **是** | 高度 |
77
+
78
+ ### 3.2 Category (分类对象)
79
+ | 字段名 | 类型 | 必填 | 说明 |
80
+ | :--- | :--- | :--- | :--- |
81
+ | `yixiaoerId` | `string` | **是** | ID |
82
+ | `yixiaoerName` | `string` | **是** | 名称 |
83
+ | `raw` | `Object` | **是** | 原始对象 (透传) |
84
+
85
+ ## 相关接口
86
+
87
+ | 目标数据 | 对应 Action | 相关文档 |
88
+ | :--- | :--- | :--- |
89
+ | `covers.key` | `upload` | [资源上传](../../upload-resource.md) |
90
+ | `category` | `categories` | [获取发布分类](../../get-publish-categories.md) |
@@ -0,0 +1,56 @@
1
+ # 爱奇艺文章发布参数 (AiQiYi Article)
2
+
3
+ > [!IMPORTANT]
4
+ > **前提条件 (Prerequisite)**:
5
+ > 在使用本平台的特定参数之前,你 **必须** 已经阅读并理解了 [文章发布首页 (Index)](./index.md) 中定义的 Payload 根结构。本页仅描述 `contentPublishForm` 内部的平台差异化字段。
6
+
7
+
8
+ ## 触发场景 (Trigger)
9
+ - **意图辨析**:用户指定在“Aiqiyi”平台发布文章内容时触发。
10
+ - **典型提示词**:
11
+ - “发布这篇文章到Aiqiyi”
12
+ - “并在Aiqiyi上同步更新”
13
+
14
+ ## 执行逻辑 (Logic Flow)
15
+ 1. **内容处理**:确保文章正文符合Aiqiyi要求的格式。
16
+ 2. **参数装配**:提取标题、正文及封面信息至 `contentPublishForm`。
17
+ 3. **指令执行**:先执行 `yxer validate <platform> <type> <payload.json>`,再执行 `yxer publish <type> <platform> <payload.json> [--publish-channel local --client-id <clientId>]`。
18
+
19
+ 本平台文章发布通过 `contentPublishForm` 承载以下参数。
20
+
21
+ ## 1. contentPublishForm 参数定义
22
+
23
+ | 字段名 | 类型 | 必填 | 说明 | 默认值 |
24
+ | :--- | :--- | :--- | :--- | :--- |
25
+ | `formType` | `string` | **是** | 固定值: `task` | `task` |
26
+ | `title` | `string` | **是** | 文章标题 (长度: 1-50 字符) | - |
27
+ | `pubType` | `number` | **是** | 发布类型:0-草稿,1-直接发布 | 1 |
28
+
29
+ ## 2. Payload 完整示例
30
+
31
+ ```json
32
+ {
33
+ "action": "publish",
34
+ "publishType": "article",
35
+ "platforms": ["爱奇艺"],
36
+ "publishArgs": {
37
+ "accountForms": [
38
+ {
39
+ "platformAccountId": "acc_aqy_001",
40
+ "contentPublishForm": {
41
+ "formType": "task",
42
+ "title": "这是文章标题",
43
+ "pubType": 1
44
+ }
45
+ }
46
+ ]
47
+ }
48
+ }
49
+ ```
50
+
51
+ ## 相关接口
52
+
53
+ | 目标数据 | 对应 Action | 相关文档 |
54
+ | :--- | :--- | :--- |
55
+ | `covers.key` | `upload` | [资源上传](../../upload-resource.md) |
56
+
@@ -0,0 +1,94 @@
1
+ # 百家号文章发布参数 (BaiJiaHao Article)
2
+
3
+ > [!IMPORTANT]
4
+ > **前提条件 (Prerequisite)**:
5
+ > 在使用本平台的特定参数之前,你 **必须** 已经阅读并理解了 [文章发布首页 (Index)](./index.md) 中定义的 Payload 根结构。本页仅描述 `contentPublishForm` 内部的 platform 差异化字段。
6
+
7
+
8
+ ## 触发场景 (Trigger)
9
+ - **意图辨析**:用户指定在“Baijiahao”平台发布文章内容时触发。
10
+ - **典型提示词**:
11
+ - “发布这篇文章到Baijiahao”
12
+ - “并在Baijiahao上同步更新”
13
+
14
+ ## 执行逻辑 (Logic Flow)
15
+ 1. **内容处理**:确保文章正文符合Baijiahao要求的格式。
16
+ 2. **参数装配**:提取标题、正文及封面信息至 `contentPublishForm`。
17
+ 3. **指令执行**:先执行 `yxer validate <platform> <type> <payload.json>`,再执行 `yxer publish <type> <platform> <payload.json> [--publish-channel local --client-id <clientId>]`。
18
+
19
+ 本平台文章发布通过 `contentPublishForm` 承载以下参数。
20
+
21
+ ## 1. contentPublishForm 参数定义
22
+
23
+ | 字段名 | 类型 | 必填 | 说明 | 默认值 |
24
+ | :--- | :--- | :--- | :--- | :--- |
25
+ | `formType` | `string` | **是** | 固定值: `task` | `task` |
26
+ | `title` | `string` | **是** | 文章标题 (2-30 字符) | - |
27
+ | `content` | `string` | **是** | 文章正文 (HTML 格式, 9-10000 字符) | - |
28
+ | `covers` | `Array` | **是** | 文章封面列表 (`OldCover[]`, 1-3 张) | - |
29
+ | `category` | `Array` | **是** | 文章分类列表 (`Category[]`, 1-2 个) | - |
30
+ | `pubType` | `number` | **是** | 发布类型: 0-草稿, 1-直接发布 | - |
31
+ | `declaration` | `number` | 否 | 内容声明: 0-不声明, 1-内容由 AI 生成 | - |
32
+ | `scheduledTime` | `number` | 否 | 定时发布时间 (13 位 Unix 时间戳,单位: 毫秒) | - |
33
+ | `activity` | `Object` | 否 | 征文活动数据对象,使用 `Activity` 结构 | - |
34
+
35
+ ## 2. Payload 完整示例
36
+
37
+ ```json
38
+ {
39
+ "action": "publish",
40
+ "publishType": "article",
41
+ "platforms": ["百家号"],
42
+ "publishArgs": {
43
+ "accountForms": [
44
+ {
45
+ "platformAccountId": "acc_bjh_001",
46
+ "contentPublishForm": {
47
+ "formType": "task",
48
+ "title": "百家号文章标题",
49
+ "content": "<h1>文章标题</h1><p>正文内容至少需要9个字以上。</p>",
50
+ "covers": [
51
+ { "key": "article_cover_key", "size": 102400, "width": 800, "height": 600 }
52
+ ],
53
+ "category": [
54
+ { "yixiaoerId": "cat_001", "yixiaoerName": "文化", "raw": {} }
55
+ ],
56
+ "pubType": 1,
57
+ "declaration": 0
58
+ }
59
+ }
60
+ ]
61
+ }
62
+ }
63
+ ```
64
+
65
+ ## 3. 复杂对象结构说明
66
+
67
+ ### 3.1 OldCover
68
+ | 字段名 | 类型 | 必填 | 说明 |
69
+ | :--- | :--- | :--- | :--- |
70
+ | `key` | `string` | **是** | OSS 资源 Key |
71
+ | `size` | `number` | **是** | 文件大小 (Bytes) |
72
+ | `width` | `number` | **是** | 宽度 |
73
+ | `height` | `number` | **是** | 高度 |
74
+
75
+ ### 3.2 Category (分类)
76
+ | 字段名 | 类型 | 必填 | 说明 |
77
+ | :--- | :--- | :--- | :--- |
78
+ | `yixiaoerId` | `string` | **是** | 分类 ID |
79
+ | `yixiaoerName` | `string` | **是** | 分类名称 |
80
+ | `raw` | `object` | 否 | 原始分类对象 |
81
+
82
+ ### 3.3 Activity (活动)
83
+ | 字段名 | 类型 | 必填 | 说明 |
84
+ | :--- | :--- | :--- | :--- |
85
+ | `yixiaoerId` | `string` | **是** | 活动 ID |
86
+ | `yixiaoerName` | `string` | **是** | 活动名称 |
87
+
88
+ ## 相关接口
89
+
90
+ | 目标数据 | 对应 Action | 文档参考 |
91
+ | :--- | :--- | :--- |
92
+ | `category` | `categories` | [获取账号分类](../../get-publish-categories.md) |
93
+ | `activity` | `activities` | [获取征文活动](../../get-publish-activities.md) |
94
+ | `covers.key` | `upload` | [资源上传](../../upload-resource.md) |
@@ -0,0 +1,88 @@
1
+ # 哔哩哔哩文章发布参数 (BiLiBiLi Article)
2
+
3
+ > [!IMPORTANT]
4
+ > **前提条件 (Prerequisite)**:
5
+ > 在使用本平台的特定参数之前,你 **必须** 已经阅读并理解了 [文章发布首页 (Index)](./index.md) 中定义的 Payload 根结构。本页仅描述 `contentPublishForm` 内部的平台差异化字段。
6
+
7
+
8
+ ## 触发场景 (Trigger)
9
+ - **意图辨析**:用户指定在“Bilibili”平台发布文章内容时触发。
10
+ - **典型提示词**:
11
+ - “发布这篇文章到Bilibili”
12
+ - “并在Bilibili上同步更新”
13
+
14
+ ## 执行逻辑 (Logic Flow)
15
+ 1. **内容处理**:确保文章正文符合Bilibili要求的格式。
16
+ 2. **参数装配**:提取标题、正文及封面信息至 `contentPublishForm`。
17
+ 3. **指令执行**:先执行 `yxer validate <platform> <type> <payload.json>`,再执行 `yxer publish <type> <platform> <payload.json> [--publish-channel local --client-id <clientId>]`。
18
+
19
+
20
+ 本平台文章发布通过 `contentPublishForm` 承载以下参数。
21
+
22
+ ## 1. contentPublishForm 参数定义
23
+
24
+ | 字段名 | 类型 | 必填 | 说明 | 默认值 |
25
+ | :--- | :--- | :--- | :--- | :--- |
26
+ | `formType` | `string` | **是** | 固定值: `task` | `task` |
27
+ | `title` | `string` | **是** | 文章标题 (最多 80 字符) | - |
28
+ | `content` | `string` | **是** | 文章内容 (HTML 格式,最多 100000 字符) | - |
29
+ | `covers` | `Array` | **是** | 文章封面列表 (`OldCover[]`, 1-20 张) | - |
30
+ | `tags` | `string[]` | 否 | 文章标签 (最多 12 个) | - |
31
+ | `createType` | `number` | 否 | 原创类型: 0-非原创, 1-原创 | - |
32
+ | `pubType` | `number` | **是** | 发布类型: 0-草稿, 1-直接发布 | 1 |
33
+ | `category` | `Array` | 否 | 文章分类 (`Category[]`) | - |
34
+ | `scheduledTime` | `number` | 否 | 定时发布时间 (13 位 Unix 时间戳,单位: 毫秒) | - |
35
+
36
+ ## 2. Payload 完整示例
37
+
38
+ ```json
39
+ {
40
+ "action": "publish",
41
+ "publishType": "article",
42
+ "platforms": ["哔哩哔哩"],
43
+ "publishArgs": {
44
+ "accountForms": [
45
+ {
46
+ "platformAccountId": "acc_bili_001",
47
+ "coverKey": "article_cover_key",
48
+ "cover": { "key": "article_cover_key", "size": 102400, "width": 800, "height": 600 },
49
+ "contentPublishForm": {
50
+ "formType": "task",
51
+ "title": "这是文章标题",
52
+ "content": "<h1>B站专栏文章</h1><p>正文内容...</p>",
53
+ "covers": [
54
+ { "key": "article_cover_key", "size": 102400, "width": 800, "height": 600 }
55
+ ],
56
+ "createType": 1,
57
+ "pubType": 1,
58
+ "tags": ["生活", "科技"]
59
+ }
60
+ }
61
+ ]
62
+ }
63
+ }
64
+ ```
65
+
66
+ ## 3. 复杂对象结构说明
67
+
68
+ ### 3.1 OldCover
69
+ | 字段名 | 类型 | 必填 | 说明 |
70
+ | :--- | :--- | :--- | :--- |
71
+ | `key` | `string` | **是** | OSS 资源 Key |
72
+ | `size` | `number` | **是** | 文件大小 (Bytes) |
73
+ | `width` | `number` | **是** | 宽度 |
74
+ | `height` | `number` | **是** | 高度 |
75
+
76
+ ### 3.2 Category (分类对象)
77
+ | 字段名 | 类型 | 必填 | 说明 |
78
+ | :--- | :--- | :--- | :--- |
79
+ | `yixiaoerId` | `string` | **是** | ID |
80
+ | `yixiaoerName` | `string` | **是** | 名称 |
81
+ | `raw` | `Object` | **是** | 原始对象 (透传) |
82
+
83
+ ## 相关接口
84
+
85
+ | 目标数据 | 对应 Action | 相关文档 |
86
+ | :--- | :--- | :--- |
87
+ | `covers.key` | `upload` | [资源上传](../../upload-resource.md) |
88
+ | `category` | `categories` | [获取发布分类](../../get-publish-categories.md) |
@@ -0,0 +1,81 @@
1
+ # 车家号文章发布参数 (Chejiahao Article)
2
+
3
+ > [!IMPORTANT]
4
+ > **前提条件 (Prerequisite)**:
5
+ > 在使用本平台的特定参数之前,你 **必须** 已经阅读并理解了 [文章发布首页 (Index)](./index.md) 中定义的 Payload 根结构。本页仅描述 `contentPublishForm` 内部的平台差异化字段。
6
+
7
+
8
+ ## 触发场景 (Trigger)
9
+ - **意图辨析**:用户指定在“Chejiahao”平台发布文章内容时触发。
10
+ - **典型提示词**:
11
+ - “发布这篇文章到Chejiahao”
12
+ - “并在Chejiahao上同步更新”
13
+
14
+ ## 执行逻辑 (Logic Flow)
15
+ 1. **内容处理**:确保文章正文符合Chejiahao要求的格式。
16
+ 2. **参数装配**:提取标题、正文及封面信息至 `contentPublishForm`。
17
+ 3. **指令执行**:先执行 `yxer validate <platform> <type> <payload.json>`,再执行 `yxer publish <type> <platform> <payload.json> [--publish-channel local --client-id <clientId>]`。
18
+
19
+
20
+ 本平台文章发布通过 `contentPublishForm` 承载以下参数。
21
+
22
+ ## 1. contentPublishForm 参数定义
23
+
24
+ | 字段名 | 类型 | 必填 | 说明 | 默认值 |
25
+ | :--- | :--- | :--- | :--- | :--- |
26
+ | `formType` | `string` | **是** | 固定值: `task` | `task` |
27
+ | `title` | `string` | **是** | 文章标题 | - |
28
+ | `content` | `string` | **是** | 文章内容 (HTML 格式) | - |
29
+ | `covers` | `Array` | **是** | 文章封面列表 (`OldCover[]`) | - |
30
+ | `verticalCovers` | `Array` | **是** | 文章竖版封面列表 (`OldCover[]`) | - |
31
+ | `type` | `number` | 否 | 创作类型: 1-原创, 3-首发, 13-原创首发 | 1 |
32
+ | `pubType` | `number` | **是** | 发布类型: 0-草稿, 1-直接发布 | 1 |
33
+ | `scheduledTime` | `number` | 否 | 定时发布时间 (13 位 Unix 时间戳,单位: 毫秒) | - |
34
+
35
+ ## 2. Payload 完整示例
36
+
37
+ ```json
38
+ {
39
+ "action": "publish",
40
+ "publishType": "article",
41
+ "platforms": ["车家号"],
42
+ "publishArgs": {
43
+ "accountForms": [
44
+ {
45
+ "platformAccountId": "acc_cjh_001",
46
+ "coverKey": "article_cover_key",
47
+ "cover": { "key": "article_cover_key", "size": 102400, "width": 800, "height": 600 },
48
+ "contentPublishForm": {
49
+ "formType": "task",
50
+ "title": "这是文章标题",
51
+ "content": "<h1>文章标题</h1><p>正文内容...</p>",
52
+ "covers": [
53
+ { "key": "article_cover_key", "size": 102400, "width": 800, "height": 600 }
54
+ ],
55
+ "verticalCovers": [
56
+ { "key": "v_cover_key", "size": 102400, "width": 600, "height": 800 }
57
+ ],
58
+ "type": 1,
59
+ "pubType": 1
60
+ }
61
+ }
62
+ ]
63
+ }
64
+ }
65
+ ```
66
+
67
+ ## 3. 复杂对象结构说明
68
+
69
+ ### 3.1 OldCover
70
+ | 字段名 | 类型 | 必填 | 说明 |
71
+ | :--- | :--- | :--- | :--- |
72
+ | `key` | `string` | **是** | OSS 资源 Key |
73
+ | `size` | `number` | **是** | 文件大小 (Bytes) |
74
+ | `width` | `number` | **是** | 宽度 |
75
+ | `height` | `number` | **是** | 高度 |
76
+
77
+ ## 相关接口
78
+
79
+ | 目标数据 | 对应 Action | 相关文档 |
80
+ | :--- | :--- | :--- |
81
+ | `covers.key` | `upload` | [资源上传](../../upload-resource.md) |
@@ -0,0 +1,86 @@
1
+ # CSDN文章发布参数 (CSDN Article)
2
+
3
+ > [!IMPORTANT]
4
+ > **前提条件 (Prerequisite)**:
5
+ > 在使用本平台的特定参数之前,你 **必须** 已经阅读并理解了 [文章发布首页 (Index)](./index.md) 中定义的 Payload 根结构。本页仅描述 `contentPublishForm` 内部的平台差异化字段。
6
+
7
+
8
+ ## 触发场景 (Trigger)
9
+ - **意图辨析**:用户指定在“Csdn”平台发布文章内容时触发。
10
+ - **典型提示词**:
11
+ - “发布这篇文章到Csdn”
12
+ - “并在Csdn上同步更新”
13
+
14
+ ## 执行逻辑 (Logic Flow)
15
+ 1. **内容处理**:确保文章正文符合Csdn要求的格式。
16
+ 2. **参数装配**:提取标题、正文及封面信息至 `contentPublishForm`。
17
+ 3. **指令执行**:先执行 `yxer validate <platform> <type> <payload.json>`,再执行 `yxer publish <type> <platform> <payload.json> [--publish-channel local --client-id <clientId>]`。
18
+
19
+ 本平台文章发布通过 `contentPublishForm` 承载以下参数。
20
+
21
+ ## 1. contentPublishForm 参数定义
22
+
23
+ | 字段名 | 类型 | 必填 | 说明 | 默认值 |
24
+ | :--- | :--- | :--- | :--- | :--- |
25
+ | `formType` | `string` | **是** | 固定值: `task` | `task` |
26
+ | `title` | `string` | **是** | 文章标题 | - |
27
+ | `content` | `string` | **是** | 文章内容 (HTML 格式) | - |
28
+ | `desc` | `string` | **是** | 文章内容摘要 | - |
29
+ | `covers` | `OldCover[]` | **是** | 文章封面列表 | - |
30
+ | `tags` | `string[]` | **是** | 文章标签 (字符串数组) | - |
31
+ | `createType` | `number` | **是** | 创作类型: 1-原创, 2-转载, 4-翻译 | 1 |
32
+ | `contentSourceUrl` | `string` | 否 | 原文链接 (当 `createType` 为 2 时必填) | - |
33
+ | `declaration` | `number` | **否** | 声明: 0-无, 1-AI 辅助生成, 2-内容来源网络, 3-个人观点仅供参考 | 0 |
34
+ | `pubType` | `number` | **是** | 发布类型: 0-草稿, 1-直接发布 | 1 |
35
+ | `scheduledTime` | `number` | **否** | 定时发布时间 (13 位 Unix 时间戳,单位: 毫秒) | - |
36
+
37
+ ## 2. Payload 完整示例
38
+
39
+ ```json
40
+ {
41
+ "action": "publish",
42
+ "publishType": "article",
43
+ "platforms": ["CSDN"],
44
+ "publishArgs": {
45
+ "accountForms": [
46
+ {
47
+ "platformAccountId": "acc_csdn_001",
48
+ "contentPublishForm": {
49
+ "formType": "task",
50
+ "title": "如何使用 CSDN 发布 API",
51
+ "content": "<h1>CSDN 文章发布演示</h1><p>这是正文内容。</p>",
52
+ "desc": "本文介绍了 CSDN 发布 API 的具体参数和使用方法。",
53
+ "covers": [
54
+ {
55
+ "key": "csdn_cover_key_001",
56
+ "size": 102400,
57
+ "width": 800,
58
+ "height": 600
59
+ }
60
+ ],
61
+ "tags": ["开发者", "编程", "API"],
62
+ "createType": 1,
63
+ "declaration": 0,
64
+ "pubType": 1
65
+ }
66
+ }
67
+ ]
68
+ }
69
+ }
70
+ ```
71
+
72
+ ## 3. 复杂对象结构说明
73
+
74
+ ### 3.1 OldCover
75
+ | 字段名 | 类型 | 必填 | 说明 |
76
+ | :--- | :--- | :--- | :--- |
77
+ | `key` | `string` | **是** | OSS 资源 Key |
78
+ | `size` | `number` | **是** | 文件大小 (Bytes) |
79
+ | `width` | `number` | **是** | 宽度 |
80
+ | `height` | `number` | **是** | 高度 |
81
+
82
+ ## 相关接口
83
+
84
+ | 目标数据 | 对应 Action | 相关文档 |
85
+ | :--- | :--- | :--- |
86
+ | `covers.key` | `upload` | [资源上传](../../upload-resource.md) |
@@ -0,0 +1,78 @@
1
+ # 大鱼号文章发布参数 (DaYuHao Article)
2
+
3
+ > [!IMPORTANT]
4
+ > **前提条件 (Prerequisite)**:
5
+ > 在使用本平台的特定参数之前,你 **必须** 已经阅读并理解了 [文章发布首页 (Index)](./index.md) 中定义的 Payload 根结构。本页仅描述 `contentPublishForm` 内部的平台差异化字段。
6
+
7
+
8
+ ## 触发场景 (Trigger)
9
+ - **意图辨析**:用户指定在“Dayuhao”平台发布文章内容时触发。
10
+ - **典型提示词**:
11
+ - “发布这篇文章到Dayuhao”
12
+ - “并在Dayuhao上同步更新”
13
+
14
+ ## 执行逻辑 (Logic Flow)
15
+ 1. **内容处理**:确保文章正文符合Dayuhao要求的格式。
16
+ 2. **参数装配**:提取标题、正文及封面信息至 `contentPublishForm`。
17
+ 3. **指令执行**:先执行 `yxer validate <platform> <type> <payload.json>`,再执行 `yxer publish <type> <platform> <payload.json> [--publish-channel local --client-id <clientId>]`。
18
+
19
+
20
+ 本平台文章发布通过 `contentPublishForm` 承载以下参数。
21
+
22
+ ## 1. contentPublishForm 参数定义
23
+
24
+ | 字段名 | 类型 | 必填 | 说明 | 默认值 |
25
+ | :--- | :--- | :--- | :--- | :--- |
26
+ | `formType` | `string` | **是** | 固定值: `task` | `task` |
27
+ | `title` | `string` | **是** | 文章标题 (最多 50 字符) | - |
28
+ | `content` | `string` | **是** | 文章内容 (HTML 格式,最多 50000 字符) | - |
29
+ | `covers` | `Array` | 否 | 文章封面列表 (`OldCover[]`) | - |
30
+ | `verticalCovers` | `Array` | 否 | 文章竖版封面列表 (`OldCover[]`) | - |
31
+ | `declaration` | `number` | 否 | 声明: 0-无, 3-虚构演绎, 4-AI生成 | 0 |
32
+ | `pubType` | `number` | **是** | 发布类型: 0-草稿, 1-直接发布 | 1 |
33
+ | `scheduledTime` | `number` | 否 | 定时发布时间 (13 位 Unix 时间戳,单位: 毫秒) | - |
34
+
35
+ ## 2. Payload 完整示例
36
+
37
+ ```json
38
+ {
39
+ "action": "publish",
40
+ "publishType": "article",
41
+ "platforms": ["大鱼号"],
42
+ "publishArgs": {
43
+ "accountForms": [
44
+ {
45
+ "platformAccountId": "acc_dy_001",
46
+ "coverKey": "article_cover_key",
47
+ "cover": { "key": "article_cover_key", "size": 102400, "width": 800, "height": 600 },
48
+ "contentPublishForm": {
49
+ "formType": "task",
50
+ "title": "这是大鱼号文章标题",
51
+ "content": "<h1>大鱼号文章标题</h1><p>正文内容...</p>",
52
+ "pubType": 1,
53
+ "declaration": 0,
54
+ "covers": [
55
+ { "key": "article_cover_key", "size": 102400, "width": 800, "height": 600 }
56
+ ]
57
+ }
58
+ }
59
+ ]
60
+ }
61
+ }
62
+ ```
63
+
64
+ ## 3. 复杂对象结构说明
65
+
66
+ ### 3.1 OldCover
67
+ | 字段名 | 类型 | 必填 | 说明 |
68
+ | :--- | :--- | :--- | :--- |
69
+ | `key` | `string` | **是** | OSS 资源 Key |
70
+ | `size` | `number` | **是** | 文件大小 (Bytes) |
71
+ | `width` | `number` | **是** | 宽度 |
72
+ | `height` | `number` | **是** | 高度 |
73
+
74
+ ## 相关接口
75
+
76
+ | 目标数据 | 对应 Action | 相关文档 |
77
+ | :--- | :--- | :--- |
78
+ | `covers.key` | `upload` | [资源上传](../../upload-resource.md) |