@yixiaoermail/cli 3.2.27 → 3.2.29
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.
- package/README.md +54 -54
- package/bin/ensure-executable.js +25 -25
- package/bin/install.js +311 -311
- package/bin/postinstall.js +14 -14
- package/bin/resolve-binary.js +22 -22
- package/bin/yxer.js +100 -100
- package/checksums.txt +6 -6
- package/package.json +30 -30
- package/references/cli/command-design.md +306 -306
- package/references/cli/command-reference.md +271 -271
- package/references/cli/publish-channels.md +77 -77
- package/references/create-account-group.md +27 -27
- package/references/delete-account-group.md +20 -20
- package/references/domains/accounts-and-env.md +46 -46
- package/references/domains/draft-and-material.md +41 -41
- package/references/domains/install-and-sync.md +63 -63
- package/references/domains/publish.md +87 -87
- package/references/domains/troubleshooting.md +38 -38
- package/references/execution-standard.md +145 -145
- package/references/get-account-groups.md +15 -15
- package/references/get-account-increments.md +55 -55
- package/references/get-account-overviews.md +56 -56
- package/references/get-challenges.md +14 -14
- package/references/get-collections.md +41 -34
- package/references/get-content-overviews.md +59 -59
- package/references/get-drama-tasks.md +43 -43
- package/references/get-friends.md +48 -48
- package/references/get-games.md +39 -39
- package/references/get-goods.md +52 -52
- package/references/get-groups.md +35 -35
- package/references/get-hot-events.md +14 -14
- package/references/get-locations.md +48 -48
- package/references/get-members.md +28 -28
- package/references/get-miniapps.md +38 -38
- package/references/get-music-categories.md +44 -44
- package/references/get-music.md +69 -69
- package/references/get-publish-activities.md +40 -40
- package/references/get-publish-categories.md +67 -67
- package/references/get-sync-apps.md +14 -14
- package/references/get-topics.md +13 -13
- package/references/go-live-process.md +160 -160
- package/references/keyword-reference.md +115 -115
- package/references/legacy/capabilities.md +39 -39
- package/references/material-resource.md +88 -88
- package/references/platform-doc-maintenance.md +33 -33
- package/references/platform.md +62 -62
- package/references/platforms/article/acfun.md +90 -90
- package/references/platforms/article/aiqiyi.md +56 -56
- package/references/platforms/article/baijiahao.md +94 -94
- package/references/platforms/article/bilibili.md +88 -88
- package/references/platforms/article/chejiahao.md +81 -81
- package/references/platforms/article/csdn.md +86 -86
- package/references/platforms/article/dayuhao.md +78 -78
- package/references/platforms/article/douban.md +62 -62
- package/references/platforms/article/douyin.md +106 -106
- package/references/platforms/article/index.md +158 -157
- package/references/platforms/article/jianshu.md +56 -56
- package/references/platforms/article/kuaichuanhao.md +78 -78
- package/references/platforms/article/qiehao.md +78 -78
- package/references/platforms/article/souhuhao.md +75 -75
- package/references/platforms/article/toutiaohao.md +80 -80
- package/references/platforms/article/wangyihao.md +79 -79
- package/references/platforms/article/weixingongzhonghao-open.md +86 -0
- package/references/platforms/article/weixingongzhonghao.md +174 -137
- package/references/platforms/article/xinlangweibo.md +75 -75
- package/references/platforms/article/xueqiuhao.md +73 -73
- package/references/platforms/article/yichehao.md +92 -92
- package/references/platforms/article/yidianhao.md +76 -76
- package/references/platforms/article/zhihu.md +75 -75
- package/references/platforms/imageText/baijiahao.md +102 -102
- package/references/platforms/imageText/douyin.md +111 -111
- package/references/platforms/imageText/index.md +117 -117
- package/references/platforms/imageText/kuaishou.md +106 -106
- package/references/platforms/imageText/shipinhao.md +112 -112
- package/references/platforms/imageText/taobaoguanghe.md +26 -26
- package/references/platforms/imageText/toutiaohao.md +78 -78
- package/references/platforms/imageText/weixingongzhonghao.md +106 -90
- package/references/platforms/imageText/xiaohongshu.md +98 -98
- package/references/platforms/imageText/xinlangweibo.md +77 -77
- package/references/platforms/imageText/zhihu.md +92 -92
- package/references/platforms/index.md +20 -20
- package/references/platforms/video/acfun.md +82 -82
- package/references/platforms/video/aiqiyi.md +89 -89
- package/references/platforms/video/baijiahao.md +130 -130
- package/references/platforms/video/bilibili-open.md +59 -59
- package/references/platforms/video/bilibili.md +80 -80
- package/references/platforms/video/chejiahao.md +63 -63
- package/references/platforms/video/dayuhao.md +91 -91
- package/references/platforms/video/dewu.md +80 -80
- package/references/platforms/video/douyin.md +173 -173
- package/references/platforms/video/duoduoshipin.md +82 -82
- package/references/platforms/video/facebook.md +37 -37
- package/references/platforms/video/fengwang.md +81 -81
- package/references/platforms/video/index.md +176 -176
- package/references/platforms/video/instagram.md +40 -40
- package/references/platforms/video/kuaishou-open.md +44 -44
- package/references/platforms/video/kuaishou.md +77 -77
- package/references/platforms/video/meipai.md +79 -79
- package/references/platforms/video/meiyou.md +59 -59
- package/references/platforms/video/pipixia.md +58 -58
- package/references/platforms/video/qiehao.md +91 -91
- package/references/platforms/video/shipinhao.md +142 -141
- package/references/platforms/video/souhuhao.md +107 -107
- package/references/platforms/video/souhushipin.md +64 -64
- package/references/platforms/video/taobaoguanghe.md +26 -26
- package/references/platforms/video/tengxunshipin.md +63 -63
- package/references/platforms/video/tiktok.md +52 -50
- package/references/platforms/video/toutiaohao.md +68 -68
- package/references/platforms/video/wangyihao.md +93 -93
- package/references/platforms/video/weishi.md +61 -61
- package/references/platforms/video/xiaohongshu.md +150 -150
- package/references/platforms/video/xiaohongshushop.md +92 -92
- package/references/platforms/video/xinlangweibo.md +79 -79
- package/references/platforms/video/yichehao.md +61 -61
- package/references/platforms/video/yidianhao.md +85 -85
- package/references/platforms/video/youtube.md +53 -53
- package/references/platforms/video/zhihu.md +85 -85
- package/references/protocols/confirmation.md +63 -63
- package/references/protocols/error-recovery.md +51 -51
- package/references/protocols/execution.md +65 -65
- package/references/protocols/provenance.md +62 -62
- package/references/proxy-management.md +69 -69
- package/references/query-accounts.md +85 -85
- package/references/save-draft.md +75 -75
- package/references/topic-tags.md +140 -140
- package/references/troubleshooting-guide.md +105 -105
- package/references/update-account-group.md +28 -28
- package/references/usage-workflow.md +208 -208
- package/references/workflows/account-selection.md +38 -38
- package/references/workflows/common-rules.md +1 -1
- package/references/workflows/data-accuracy.md +86 -86
- package/references/workflows/draft-workflow.md +47 -47
- package/references/workflows/local-vs-cloud.md +57 -57
- package/references/workflows/material-workflow.md +64 -64
- package/references/workflows/payload-sourcing.md +82 -82
- package/references/workflows/publish-article.md +73 -73
- package/references/workflows/publish-imageText.md +67 -67
- package/references/workflows/publish-troubleshooting.md +59 -59
- package/references/workflows/publish-video.md +72 -72
- package/references/yixiaoer-shared.md +106 -106
- package/schemas/account.schema.json +19 -19
- package/schemas/platforms/acfun.article.schema.json +117 -117
- package/schemas/platforms/acfun.video.schema.json +139 -139
- package/schemas/platforms/aiqiyi.article.schema.json +29 -29
- package/schemas/platforms/aiqiyi.video.schema.json +154 -154
- package/schemas/platforms/baijiahao.article.schema.json +168 -168
- package/schemas/platforms/baijiahao.imageText.schema.json +111 -111
- package/schemas/platforms/baijiahao.video.schema.json +227 -227
- package/schemas/platforms/bilibili-open.video.schema.json +168 -168
- package/schemas/platforms/bilibili.article.schema.json +109 -109
- package/schemas/platforms/bilibili.video.schema.json +175 -175
- package/schemas/platforms/chejiahao.article.schema.json +108 -108
- package/schemas/platforms/chejiahao.video.schema.json +111 -111
- package/schemas/platforms/csdn.article.schema.json +106 -106
- package/schemas/platforms/dayuhao.article.schema.json +106 -106
- package/schemas/platforms/dayuhao.video.schema.json +174 -174
- package/schemas/platforms/dewu.video.schema.json +134 -134
- package/schemas/platforms/douban.article.schema.json +48 -48
- package/schemas/platforms/douyin.article.schema.json +326 -326
- package/schemas/platforms/douyin.imageText.schema.json +301 -301
- package/schemas/platforms/douyin.video.schema.json +930 -930
- package/schemas/platforms/duoduoshipin.video.schema.json +124 -124
- package/schemas/platforms/facebook.video.schema.json +28 -28
- package/schemas/platforms/fengwang.video.schema.json +135 -135
- package/schemas/platforms/instagram.video.schema.json +28 -28
- package/schemas/platforms/jianshu.article.schema.json +33 -33
- package/schemas/platforms/kuaichuanhao.article.schema.json +95 -95
- package/schemas/platforms/kuaishou-open.video.schema.json +102 -102
- package/schemas/platforms/kuaishou.imageText.schema.json +181 -181
- package/schemas/platforms/kuaishou.video.schema.json +274 -274
- package/schemas/platforms/meipai.video.schema.json +123 -123
- package/schemas/platforms/meiyou.video.schema.json +96 -96
- package/schemas/platforms/pipixia.video.schema.json +94 -94
- package/schemas/platforms/qiehao.article.schema.json +89 -89
- package/schemas/platforms/qiehao.video.schema.json +147 -147
- package/schemas/platforms/shipinhao.imageText.schema.json +151 -151
- package/schemas/platforms/shipinhao.video.schema.json +283 -283
- package/schemas/platforms/souhuhao.article.schema.json +73 -73
- package/schemas/platforms/souhuhao.video.schema.json +171 -171
- package/schemas/platforms/souhushipin.video.schema.json +115 -115
- package/schemas/platforms/taobaoguanghe.imageText.schema.json +56 -56
- package/schemas/platforms/taobaoguanghe.video.schema.json +40 -40
- package/schemas/platforms/tengxunshipin.video.schema.json +115 -115
- package/schemas/platforms/tiktok.video.schema.json +72 -72
- package/schemas/platforms/toutiaohao.article.schema.json +162 -162
- package/schemas/platforms/toutiaohao.imageText.schema.json +87 -87
- package/schemas/platforms/toutiaohao.video.schema.json +138 -138
- package/schemas/platforms/wangyihao.article.schema.json +86 -86
- package/schemas/platforms/wangyihao.video.schema.json +152 -152
- package/schemas/platforms/weishi.video.schema.json +101 -101
- package/schemas/platforms/weixin.account-open.article.schema.json +106 -0
- package/schemas/platforms/weixin.account.article.schema.json +257 -148
- package/schemas/platforms/weixin.account.imageText.schema.json +218 -118
- package/schemas/platforms/xhs.imageText.schema.json +133 -133
- package/schemas/platforms/xiaohongshu.video.schema.json +226 -226
- package/schemas/platforms/xiaohongshushop.video.schema.json +142 -142
- package/schemas/platforms/xinlang.article.schema.json +69 -69
- package/schemas/platforms/xinlang.imageText.schema.json +107 -107
- package/schemas/platforms/xinlang.video.schema.json +182 -182
- package/schemas/platforms/xueqiuhao.article.schema.json +84 -84
- package/schemas/platforms/yichehao.article.schema.json +140 -140
- package/schemas/platforms/yichehao.video.schema.json +101 -101
- package/schemas/platforms/yidianhao.article.schema.json +78 -78
- package/schemas/platforms/yidianhao.video.schema.json +152 -152
- package/schemas/platforms/youtube.video.schema.json +92 -92
- package/schemas/platforms/zhihu.article.schema.json +104 -104
- package/schemas/platforms/zhihu.imageText.schema.json +61 -61
- package/schemas/platforms/zhihu.video.schema.json +144 -144
- package/schemas/publish.schema.json +26 -26
- package/skills/yixiaoer/QUICKSTART.md +265 -265
- package/skills/yixiaoer/SKILL.md +1 -1
- package/skills/yixiaoer/references/cli/command-design.md +306 -306
- package/skills/yixiaoer/references/cli/command-reference.md +271 -271
- package/skills/yixiaoer/references/cli/publish-channels.md +77 -77
- package/skills/yixiaoer/references/create-account-group.md +27 -27
- package/skills/yixiaoer/references/delete-account-group.md +20 -20
- package/skills/yixiaoer/references/domains/accounts-and-env.md +46 -46
- package/skills/yixiaoer/references/domains/draft-and-material.md +41 -41
- package/skills/yixiaoer/references/domains/install-and-sync.md +63 -63
- package/skills/yixiaoer/references/domains/publish.md +87 -87
- package/skills/yixiaoer/references/domains/troubleshooting.md +38 -38
- package/skills/yixiaoer/references/execution-standard.md +145 -145
- package/skills/yixiaoer/references/get-account-groups.md +15 -15
- package/skills/yixiaoer/references/get-account-increments.md +55 -55
- package/skills/yixiaoer/references/get-account-overviews.md +56 -56
- package/skills/yixiaoer/references/get-challenges.md +14 -14
- package/skills/yixiaoer/references/get-collections.md +41 -34
- package/skills/yixiaoer/references/get-content-overviews.md +59 -59
- package/skills/yixiaoer/references/get-drama-tasks.md +43 -43
- package/skills/yixiaoer/references/get-friends.md +48 -48
- package/skills/yixiaoer/references/get-games.md +39 -39
- package/skills/yixiaoer/references/get-goods.md +52 -52
- package/skills/yixiaoer/references/get-groups.md +35 -35
- package/skills/yixiaoer/references/get-hot-events.md +14 -14
- package/skills/yixiaoer/references/get-locations.md +48 -48
- package/skills/yixiaoer/references/get-members.md +28 -28
- package/skills/yixiaoer/references/get-miniapps.md +38 -38
- package/skills/yixiaoer/references/get-music-categories.md +44 -44
- package/skills/yixiaoer/references/get-music.md +69 -69
- package/skills/yixiaoer/references/get-publish-activities.md +40 -40
- package/skills/yixiaoer/references/get-publish-categories.md +67 -67
- package/skills/yixiaoer/references/get-sync-apps.md +14 -14
- package/skills/yixiaoer/references/get-topics.md +13 -13
- package/skills/yixiaoer/references/go-live-process.md +160 -160
- package/skills/yixiaoer/references/keyword-reference.md +115 -115
- package/skills/yixiaoer/references/legacy/capabilities.md +39 -39
- package/skills/yixiaoer/references/material-resource.md +88 -88
- package/skills/yixiaoer/references/platform-doc-maintenance.md +33 -33
- package/skills/yixiaoer/references/platform.md +62 -62
- package/skills/yixiaoer/references/platforms/article/acfun.md +90 -90
- package/skills/yixiaoer/references/platforms/article/aiqiyi.md +56 -56
- package/skills/yixiaoer/references/platforms/article/baijiahao.md +94 -94
- package/skills/yixiaoer/references/platforms/article/bilibili.md +88 -88
- package/skills/yixiaoer/references/platforms/article/chejiahao.md +81 -81
- package/skills/yixiaoer/references/platforms/article/csdn.md +86 -86
- package/skills/yixiaoer/references/platforms/article/dayuhao.md +78 -78
- package/skills/yixiaoer/references/platforms/article/douban.md +62 -62
- package/skills/yixiaoer/references/platforms/article/douyin.md +106 -106
- package/skills/yixiaoer/references/platforms/article/index.md +158 -157
- package/skills/yixiaoer/references/platforms/article/jianshu.md +56 -56
- package/skills/yixiaoer/references/platforms/article/kuaichuanhao.md +78 -78
- package/skills/yixiaoer/references/platforms/article/qiehao.md +78 -78
- package/skills/yixiaoer/references/platforms/article/souhuhao.md +75 -75
- package/skills/yixiaoer/references/platforms/article/toutiaohao.md +80 -80
- package/skills/yixiaoer/references/platforms/article/wangyihao.md +79 -79
- package/skills/yixiaoer/references/platforms/article/weixingongzhonghao-open.md +86 -0
- package/skills/yixiaoer/references/platforms/article/weixingongzhonghao.md +174 -137
- package/skills/yixiaoer/references/platforms/article/xinlangweibo.md +75 -75
- package/skills/yixiaoer/references/platforms/article/xueqiuhao.md +73 -73
- package/skills/yixiaoer/references/platforms/article/yichehao.md +92 -92
- package/skills/yixiaoer/references/platforms/article/yidianhao.md +76 -76
- package/skills/yixiaoer/references/platforms/article/zhihu.md +75 -75
- package/skills/yixiaoer/references/platforms/imageText/baijiahao.md +102 -102
- package/skills/yixiaoer/references/platforms/imageText/douyin.md +111 -111
- package/skills/yixiaoer/references/platforms/imageText/index.md +117 -117
- package/skills/yixiaoer/references/platforms/imageText/kuaishou.md +106 -106
- package/skills/yixiaoer/references/platforms/imageText/shipinhao.md +112 -112
- package/skills/yixiaoer/references/platforms/imageText/taobaoguanghe.md +26 -26
- package/skills/yixiaoer/references/platforms/imageText/toutiaohao.md +78 -78
- package/skills/yixiaoer/references/platforms/imageText/weixingongzhonghao.md +106 -90
- package/skills/yixiaoer/references/platforms/imageText/xiaohongshu.md +98 -98
- package/skills/yixiaoer/references/platforms/imageText/xinlangweibo.md +77 -77
- package/skills/yixiaoer/references/platforms/imageText/zhihu.md +92 -92
- package/skills/yixiaoer/references/platforms/index.md +20 -20
- package/skills/yixiaoer/references/platforms/video/acfun.md +82 -82
- package/skills/yixiaoer/references/platforms/video/aiqiyi.md +89 -89
- package/skills/yixiaoer/references/platforms/video/baijiahao.md +130 -130
- package/skills/yixiaoer/references/platforms/video/bilibili-open.md +59 -59
- package/skills/yixiaoer/references/platforms/video/bilibili.md +80 -80
- package/skills/yixiaoer/references/platforms/video/chejiahao.md +63 -63
- package/skills/yixiaoer/references/platforms/video/dayuhao.md +91 -91
- package/skills/yixiaoer/references/platforms/video/dewu.md +80 -80
- package/skills/yixiaoer/references/platforms/video/douyin.md +173 -173
- package/skills/yixiaoer/references/platforms/video/duoduoshipin.md +82 -82
- package/skills/yixiaoer/references/platforms/video/facebook.md +37 -37
- package/skills/yixiaoer/references/platforms/video/fengwang.md +81 -81
- package/skills/yixiaoer/references/platforms/video/index.md +176 -176
- package/skills/yixiaoer/references/platforms/video/instagram.md +40 -40
- package/skills/yixiaoer/references/platforms/video/kuaishou-open.md +44 -44
- package/skills/yixiaoer/references/platforms/video/kuaishou.md +77 -77
- package/skills/yixiaoer/references/platforms/video/meipai.md +79 -79
- package/skills/yixiaoer/references/platforms/video/meiyou.md +59 -59
- package/skills/yixiaoer/references/platforms/video/pipixia.md +58 -58
- package/skills/yixiaoer/references/platforms/video/qiehao.md +91 -91
- package/skills/yixiaoer/references/platforms/video/shipinhao.md +142 -141
- package/skills/yixiaoer/references/platforms/video/souhuhao.md +107 -107
- package/skills/yixiaoer/references/platforms/video/souhushipin.md +64 -64
- package/skills/yixiaoer/references/platforms/video/taobaoguanghe.md +26 -26
- package/skills/yixiaoer/references/platforms/video/tengxunshipin.md +63 -63
- package/skills/yixiaoer/references/platforms/video/tiktok.md +52 -50
- package/skills/yixiaoer/references/platforms/video/toutiaohao.md +68 -68
- package/skills/yixiaoer/references/platforms/video/wangyihao.md +93 -93
- package/skills/yixiaoer/references/platforms/video/weishi.md +61 -61
- package/skills/yixiaoer/references/platforms/video/xiaohongshu.md +150 -150
- package/skills/yixiaoer/references/platforms/video/xiaohongshushop.md +92 -92
- package/skills/yixiaoer/references/platforms/video/xinlangweibo.md +79 -79
- package/skills/yixiaoer/references/platforms/video/yichehao.md +61 -61
- package/skills/yixiaoer/references/platforms/video/yidianhao.md +85 -85
- package/skills/yixiaoer/references/platforms/video/youtube.md +53 -53
- package/skills/yixiaoer/references/platforms/video/zhihu.md +85 -85
- package/skills/yixiaoer/references/protocols/confirmation.md +63 -63
- package/skills/yixiaoer/references/protocols/error-recovery.md +51 -51
- package/skills/yixiaoer/references/protocols/execution.md +65 -65
- package/skills/yixiaoer/references/protocols/provenance.md +62 -62
- package/skills/yixiaoer/references/proxy-management.md +69 -69
- package/skills/yixiaoer/references/query-accounts.md +85 -85
- package/skills/yixiaoer/references/save-draft.md +75 -75
- package/skills/yixiaoer/references/topic-tags.md +140 -140
- package/skills/yixiaoer/references/troubleshooting-guide.md +105 -105
- package/skills/yixiaoer/references/update-account-group.md +28 -28
- package/skills/yixiaoer/references/usage-workflow.md +208 -208
- package/skills/yixiaoer/references/workflows/account-selection.md +38 -38
- package/skills/yixiaoer/references/workflows/common-rules.md +1 -1
- package/skills/yixiaoer/references/workflows/data-accuracy.md +86 -86
- package/skills/yixiaoer/references/workflows/draft-workflow.md +47 -47
- package/skills/yixiaoer/references/workflows/local-vs-cloud.md +57 -57
- package/skills/yixiaoer/references/workflows/material-workflow.md +64 -64
- package/skills/yixiaoer/references/workflows/payload-sourcing.md +82 -82
- package/skills/yixiaoer/references/workflows/publish-article.md +73 -73
- package/skills/yixiaoer/references/workflows/publish-imageText.md +67 -67
- package/skills/yixiaoer/references/workflows/publish-troubleshooting.md +59 -59
- package/skills/yixiaoer/references/workflows/publish-video.md +72 -72
- package/skills/yixiaoer/references/yixiaoer-shared.md +106 -106
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
# 获取音乐素材列表 (Get Music)
|
|
2
|
-
|
|
3
|
-
获取发布内容时可供选择的平台背景音乐素材。支持平台:**抖音、快手、视频号**。
|
|
4
|
-
|
|
5
|
-
## 触发场景 (Trigger)
|
|
6
|
-
- **意图辨析**:当用户在准备发布短视频内容,并要求添加特定背景音乐、搜寻热门歌曲或按分类查找音乐时触发。
|
|
7
|
-
- **典型提示词**:
|
|
8
|
-
- “帮我找一下适合跳舞的抖音音乐”
|
|
9
|
-
- “搜索周杰伦的《稻香》用于这个视频”
|
|
10
|
-
- “获取热门音乐分类”
|
|
11
|
-
- “我的视频号发布需要配乐”
|
|
12
|
-
|
|
13
|
-
## 参数定义 (Parameters)
|
|
14
|
-
|
|
15
|
-
### 参数列表 (Payload Properties)
|
|
16
|
-
|
|
17
|
-
| 字段名 | 类型 | 是否必填 | 说明 |
|
|
18
|
-
| :--- | :--- | :--- | :--- |
|
|
19
|
-
| `action` | `string` | **是** | 固定值:`music` |
|
|
20
|
-
| `account_id` | `string` | **是** | 蚁小二账号 ID (32位十六进制) |
|
|
21
|
-
| `keyword` | `string` | 否 | 搜索音乐关键词 (别名: `keyWord`) |
|
|
22
|
-
| `categoryId` | `string` | 否 | 音乐分类 ID。**需与 categoryName 同时提供,仅支持抖音**,优先级高于 `keyword` |
|
|
23
|
-
| `categoryName`| `string` | 否 | 音乐分类名称。**需与 categoryId 同时提供,仅支持抖音** |
|
|
24
|
-
| `nextPage` | `string` | 否 | 分页标识,在返回结果中获取 |
|
|
25
|
-
|
|
26
|
-
## 执行逻辑 (Logic Flow)
|
|
27
|
-
1. **参数前置**:必须先获取有效的 `account_id`(通过 `accounts` action)。
|
|
28
|
-
2. **场景匹配**:判断是否指定了特定分类 (Category)。若指定,则优先注入 `categoryId`。
|
|
29
|
-
3. **参数装配**:构造 `action: "music"` 及其余查询参数。
|
|
30
|
-
4. **指令执行**:调用 `yxer query music <account_id> [--query 关键词] [--json]`。
|
|
31
|
-
5. **素材交付**:将返回的 `MusicItem` 列表展示给用户,或直接提取 `raw` 字段用于发布 Payload。
|
|
32
|
-
|
|
33
|
-
## 返回结果 (Response)
|
|
34
|
-
|
|
35
|
-
返回一个包含音乐素材对象的数组。发布时请将整个对象(使用 `MusicItem` 结构)作为 `music` 参数传递给发布脚本,不能只摘取 ID、名称或少数字段。如果在获取时 `raw` 字段有值,发布表单中必须完整保留并透传;`playUrl` / `url` 作为查询结果元数据也应保留,不要手动删除。
|
|
36
|
-
|
|
37
|
-
```json
|
|
38
|
-
[
|
|
39
|
-
{
|
|
40
|
-
"yixiaoerId": "music_123",
|
|
41
|
-
"yixiaoerName": "稻香",
|
|
42
|
-
"artist": "周杰伦",
|
|
43
|
-
"playUrl": "http://...",
|
|
44
|
-
"duration": 240,
|
|
45
|
-
"raw": { ... }
|
|
46
|
-
}
|
|
47
|
-
]
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
### 复杂对象:MusicItem
|
|
51
|
-
- `yixiaoerId`: (必填) 蚁小二端统一音乐 ID。
|
|
52
|
-
- `yixiaoerName`: (必填) 歌曲名称。
|
|
53
|
-
- `duration`: (必填) 音乐时长(单位:秒)。
|
|
54
|
-
- `playUrl`: (必填) 试听/播放链接。
|
|
55
|
-
- `artist`: (可选)歌手/作者名。
|
|
56
|
-
- `raw`: (可选) 平台原始数据。如果在音乐列表获取时该字段存在,发布表单中必须携带并完整透传。
|
|
57
|
-
|
|
58
|
-
## 调用指令 (Command)
|
|
59
|
-
|
|
60
|
-
```bash
|
|
61
|
-
yxer query music XXX --query 周杰伦 --json
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
未指定关键词或榜单时,抖音账号默认查询推荐榜。查询其他榜单时,先执行 `yxer query music-categories XXX --json`,再将返回的 `yixiaoerId` 与 `yixiaoerName` 一并传入 `--category-id` 和 `--category-name`。
|
|
65
|
-
|
|
66
|
-
## 注意事项
|
|
67
|
-
- **抖音专用**:`categoryId` 搜索目前仅在抖音平台调用时生效。
|
|
68
|
-
- **透传规则**:`raw` 字段非常关键,某些平台校验严格,必须原样透传。
|
|
69
|
-
|
|
1
|
+
# 获取音乐素材列表 (Get Music)
|
|
2
|
+
|
|
3
|
+
获取发布内容时可供选择的平台背景音乐素材。支持平台:**抖音、快手、视频号**。
|
|
4
|
+
|
|
5
|
+
## 触发场景 (Trigger)
|
|
6
|
+
- **意图辨析**:当用户在准备发布短视频内容,并要求添加特定背景音乐、搜寻热门歌曲或按分类查找音乐时触发。
|
|
7
|
+
- **典型提示词**:
|
|
8
|
+
- “帮我找一下适合跳舞的抖音音乐”
|
|
9
|
+
- “搜索周杰伦的《稻香》用于这个视频”
|
|
10
|
+
- “获取热门音乐分类”
|
|
11
|
+
- “我的视频号发布需要配乐”
|
|
12
|
+
|
|
13
|
+
## 参数定义 (Parameters)
|
|
14
|
+
|
|
15
|
+
### 参数列表 (Payload Properties)
|
|
16
|
+
|
|
17
|
+
| 字段名 | 类型 | 是否必填 | 说明 |
|
|
18
|
+
| :--- | :--- | :--- | :--- |
|
|
19
|
+
| `action` | `string` | **是** | 固定值:`music` |
|
|
20
|
+
| `account_id` | `string` | **是** | 蚁小二账号 ID (32位十六进制) |
|
|
21
|
+
| `keyword` | `string` | 否 | 搜索音乐关键词 (别名: `keyWord`) |
|
|
22
|
+
| `categoryId` | `string` | 否 | 音乐分类 ID。**需与 categoryName 同时提供,仅支持抖音**,优先级高于 `keyword` |
|
|
23
|
+
| `categoryName`| `string` | 否 | 音乐分类名称。**需与 categoryId 同时提供,仅支持抖音** |
|
|
24
|
+
| `nextPage` | `string` | 否 | 分页标识,在返回结果中获取 |
|
|
25
|
+
|
|
26
|
+
## 执行逻辑 (Logic Flow)
|
|
27
|
+
1. **参数前置**:必须先获取有效的 `account_id`(通过 `accounts` action)。
|
|
28
|
+
2. **场景匹配**:判断是否指定了特定分类 (Category)。若指定,则优先注入 `categoryId`。
|
|
29
|
+
3. **参数装配**:构造 `action: "music"` 及其余查询参数。
|
|
30
|
+
4. **指令执行**:调用 `yxer query music <account_id> [--query 关键词] [--json]`。
|
|
31
|
+
5. **素材交付**:将返回的 `MusicItem` 列表展示给用户,或直接提取 `raw` 字段用于发布 Payload。
|
|
32
|
+
|
|
33
|
+
## 返回结果 (Response)
|
|
34
|
+
|
|
35
|
+
返回一个包含音乐素材对象的数组。发布时请将整个对象(使用 `MusicItem` 结构)作为 `music` 参数传递给发布脚本,不能只摘取 ID、名称或少数字段。如果在获取时 `raw` 字段有值,发布表单中必须完整保留并透传;`playUrl` / `url` 作为查询结果元数据也应保留,不要手动删除。
|
|
36
|
+
|
|
37
|
+
```json
|
|
38
|
+
[
|
|
39
|
+
{
|
|
40
|
+
"yixiaoerId": "music_123",
|
|
41
|
+
"yixiaoerName": "稻香",
|
|
42
|
+
"artist": "周杰伦",
|
|
43
|
+
"playUrl": "http://...",
|
|
44
|
+
"duration": 240,
|
|
45
|
+
"raw": { ... }
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### 复杂对象:MusicItem
|
|
51
|
+
- `yixiaoerId`: (必填) 蚁小二端统一音乐 ID。
|
|
52
|
+
- `yixiaoerName`: (必填) 歌曲名称。
|
|
53
|
+
- `duration`: (必填) 音乐时长(单位:秒)。
|
|
54
|
+
- `playUrl`: (必填) 试听/播放链接。
|
|
55
|
+
- `artist`: (可选)歌手/作者名。
|
|
56
|
+
- `raw`: (可选) 平台原始数据。如果在音乐列表获取时该字段存在,发布表单中必须携带并完整透传。
|
|
57
|
+
|
|
58
|
+
## 调用指令 (Command)
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
yxer query music XXX --query 周杰伦 --json
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
未指定关键词或榜单时,抖音账号默认查询推荐榜。查询其他榜单时,先执行 `yxer query music-categories XXX --json`,再将返回的 `yixiaoerId` 与 `yixiaoerName` 一并传入 `--category-id` 和 `--category-name`。
|
|
65
|
+
|
|
66
|
+
## 注意事项
|
|
67
|
+
- **抖音专用**:`categoryId` 搜索目前仅在抖音平台调用时生效。
|
|
68
|
+
- **透传规则**:`raw` 字段非常关键,某些平台校验严格,必须原样透传。
|
|
69
|
+
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
# 获取征文活动列表 (Get Activities)
|
|
2
|
-
|
|
3
|
-
获取各媒体平台(如百家号、企鹅号等)当前正在开展的征文任务或激励活动信息。
|
|
4
|
-
|
|
5
|
-
## 触发场景 (Trigger)
|
|
6
|
-
- **意图辨析**:当用户希望参加平台官方活动以获取额外流量激励或奖金,并需要获取活动 ID 进行发布挂载时触发。
|
|
7
|
-
- **典型提示词**:
|
|
8
|
-
- “最近百家号有什么征文活动?”
|
|
9
|
-
- “帮我找一下适合这个视频参加的活动”
|
|
10
|
-
- “查看特定分类下的激励任务”
|
|
11
|
-
|
|
12
|
-
## 参数定义 (Parameters)
|
|
13
|
-
|
|
14
|
-
### 参数列表 (Payload Properties)
|
|
15
|
-
|
|
16
|
-
| 字段名 | 类型 | 是否必填 | 说明 |
|
|
17
|
-
| :--- | :--- | :--- | :--- |
|
|
18
|
-
| `action` | `string` | **是** | 固定值:`activities` |
|
|
19
|
-
| `account_id` | `string` | **是** | 蚁小二账号 ID (ObjectId) |
|
|
20
|
-
| `type` | `string` | 否 | 发布类型:`video` 或 `article` (默认) |
|
|
21
|
-
| `categoryId` | `string` | 否 | 仅查询特定分类下的活动 |
|
|
22
|
-
| `keyword` | `string` | 否 | 按关键字搜索 (别名: `keyWord`) |
|
|
23
|
-
|
|
24
|
-
## 执行逻辑 (Logic Flow)
|
|
25
|
-
1. **意图解析**:识别目标平台账号及活动所属类别。
|
|
26
|
-
2. **关键词过滤**:提取用户提到的活动名称作为 `keyword`。
|
|
27
|
-
3. **参数装配**:构造 `action: "activities"` 负载。
|
|
28
|
-
4. **指令执行**:当前能力正在迁移到 `yxer` CLI,本文档不再推荐脚本直调。
|
|
29
|
-
5. **挂载建议**:获取活动列表后,将 `activityId` 反馈给用户或自动准备发布 Payload。
|
|
30
|
-
|
|
31
|
-
## 返回数据 (Response)
|
|
32
|
-
|
|
33
|
-
返回包含活动对象的数组。参与活动时,请将对应的 `id` 填入发布表单。
|
|
34
|
-
|
|
35
|
-
## 调用指令 (Command)
|
|
36
|
-
|
|
37
|
-
```text
|
|
38
|
-
当前版本尚未提供独立 `yxer` 子命令。
|
|
39
|
-
本页仅保留字段结构说明,执行时应优先扩展 Go CLI,而不是寻找旧脚本入口。
|
|
40
|
-
```
|
|
1
|
+
# 获取征文活动列表 (Get Activities)
|
|
2
|
+
|
|
3
|
+
获取各媒体平台(如百家号、企鹅号等)当前正在开展的征文任务或激励活动信息。
|
|
4
|
+
|
|
5
|
+
## 触发场景 (Trigger)
|
|
6
|
+
- **意图辨析**:当用户希望参加平台官方活动以获取额外流量激励或奖金,并需要获取活动 ID 进行发布挂载时触发。
|
|
7
|
+
- **典型提示词**:
|
|
8
|
+
- “最近百家号有什么征文活动?”
|
|
9
|
+
- “帮我找一下适合这个视频参加的活动”
|
|
10
|
+
- “查看特定分类下的激励任务”
|
|
11
|
+
|
|
12
|
+
## 参数定义 (Parameters)
|
|
13
|
+
|
|
14
|
+
### 参数列表 (Payload Properties)
|
|
15
|
+
|
|
16
|
+
| 字段名 | 类型 | 是否必填 | 说明 |
|
|
17
|
+
| :--- | :--- | :--- | :--- |
|
|
18
|
+
| `action` | `string` | **是** | 固定值:`activities` |
|
|
19
|
+
| `account_id` | `string` | **是** | 蚁小二账号 ID (ObjectId) |
|
|
20
|
+
| `type` | `string` | 否 | 发布类型:`video` 或 `article` (默认) |
|
|
21
|
+
| `categoryId` | `string` | 否 | 仅查询特定分类下的活动 |
|
|
22
|
+
| `keyword` | `string` | 否 | 按关键字搜索 (别名: `keyWord`) |
|
|
23
|
+
|
|
24
|
+
## 执行逻辑 (Logic Flow)
|
|
25
|
+
1. **意图解析**:识别目标平台账号及活动所属类别。
|
|
26
|
+
2. **关键词过滤**:提取用户提到的活动名称作为 `keyword`。
|
|
27
|
+
3. **参数装配**:构造 `action: "activities"` 负载。
|
|
28
|
+
4. **指令执行**:当前能力正在迁移到 `yxer` CLI,本文档不再推荐脚本直调。
|
|
29
|
+
5. **挂载建议**:获取活动列表后,将 `activityId` 反馈给用户或自动准备发布 Payload。
|
|
30
|
+
|
|
31
|
+
## 返回数据 (Response)
|
|
32
|
+
|
|
33
|
+
返回包含活动对象的数组。参与活动时,请将对应的 `id` 填入发布表单。
|
|
34
|
+
|
|
35
|
+
## 调用指令 (Command)
|
|
36
|
+
|
|
37
|
+
```text
|
|
38
|
+
当前版本尚未提供独立 `yxer` 子命令。
|
|
39
|
+
本页仅保留字段结构说明,执行时应优先扩展 Go CLI,而不是寻找旧脚本入口。
|
|
40
|
+
```
|
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
# 获取发布分类/话题 (Get Categories)
|
|
2
|
-
|
|
3
|
-
获取特定平台账号支持的文章分类、视频分类或话题标签列表。
|
|
4
|
-
|
|
5
|
-
当前支持平台:百家号、爱奇艺、哔哩哔哩、企鹅号、搜狐号、网易号、一点号、大鱼号、知乎、蜂网、AcFun。
|
|
6
|
-
|
|
7
|
-
## 触发场景 (Trigger)
|
|
8
|
-
- **意图辨析**:在准备发布内容时,为了确保 `platformSettings` 中的分类/话题符合平台标准,不产生非法值,必须预先查询合法值。
|
|
9
|
-
- **典型提示词**:
|
|
10
|
-
- “获取这个百家号的视频分类”
|
|
11
|
-
- “查看百家号支持的文章类别”
|
|
12
|
-
- “查询可以挂载的话题”
|
|
13
|
-
|
|
14
|
-
## 参数定义 (Parameters)
|
|
15
|
-
|
|
16
|
-
### 参数列表 (Payload Properties)
|
|
17
|
-
|
|
18
|
-
| 字段名 | 类型 | 是否必填 | 说明 |
|
|
19
|
-
| :--- | :--- | :--- | :--- |
|
|
20
|
-
| `action` | `string` | **是** | 固定值:`categories` |
|
|
21
|
-
| `account_id` | `string` | **是** | 蚁小二账号 ID (ObjectId) |
|
|
22
|
-
| `type` | `string` | 否 | 发布类型:`video` (默认) 或 `article` |
|
|
23
|
-
| `paths` | `boolean` | 否 | 传给 CLI 时显示完整的根分类到末级分类路径 |
|
|
24
|
-
|
|
25
|
-
## 执行逻辑 (Logic Flow)
|
|
26
|
-
1. **身份锚定**:识别目标账号 `account_id`(通过 `accounts` action 获取)。
|
|
27
|
-
2. **场景对齐**:根据发布内容决定 `type`。
|
|
28
|
-
3. **参数装配**:构造 `action: "categories"` 负载。
|
|
29
|
-
4. **指令执行**:调用 `yxer query categories <account_id> [--type video|article] [--paths] --json`。搜狐号视频建议使用 `--paths`。
|
|
30
|
-
5. **值注入**:将 CLI 返回的完整分类对象填入发布 Payload 的对应位置,不能只摘取 `id`、`name` 或局部 `raw` 字段。
|
|
31
|
-
|
|
32
|
-
## 返回数据说明 (Response Details)
|
|
33
|
-
|
|
34
|
-
返回包含分类对象(`Category` 结构)的树形或扁平结构。发布时必须使用 `yxer query categories` 返回的完整对象数据。
|
|
35
|
-
- 使用 `--paths` 时,`data` 结构为 `{ "categories": [...], "paths": [...] }`。`paths` 中的 `path` 是可读的父子路径,`nodes` 保留任意深度的 ID/名称,`category` 是可直接回填的完整分类对象数组;两级路径还会提供 `parentId`、`parentName`、`childId`、`childName`。
|
|
36
|
-
- 搜狐号视频必须使用最新查询结果中从父分类到末级分类的完整 `category` 路径,不能只提交末级分类。
|
|
37
|
-
- 大鱼号视频必须选择至少一个分类;使用目标账号的 `yxer query categories <account_id> --type video --json` 结果,保留完整分类对象。
|
|
38
|
-
- 大鱼号视频分类按蚁小二 Web 端固定目录提供。CLI 内置并嵌入这份目录,确认账号属于大鱼号后直接返回,不请求不支持大鱼号的账号分类接口;返回的对象包含 `yixiaoerId`、`yixiaoerName` 和 `raw`。
|
|
39
|
-
- **Agent 手动铺平 (Flattening)**:若返回的数据包含嵌套的 `children` 数组,Agent **必须自行递归遍历**,以便在组装发布表单时能够获取任何层级的分类。
|
|
40
|
-
- **层级路径组装 (Cascading Path)**:
|
|
41
|
-
- 对于要求多级分类的平台 (如 Bilibili),Agent 在组装表单时,不能只填入最终选中的子分类。
|
|
42
|
-
- **必须组装一个数组**:包含从根节点到选中节点的所有路径对象。
|
|
43
|
-
- **包含 `raw` 对象**:路径中每一个对象除 `yixiaoerId` 和 `yixiaoerName` 外,**必须同步传入其对应的 `raw` 对象**(若存在)。
|
|
44
|
-
|
|
45
|
-
### 复杂对象:CategoryItem
|
|
46
|
-
- `yixiaoerId`: 内部分类 ID。
|
|
47
|
-
- `yixiaoerName`: 分类名称。
|
|
48
|
-
- `raw`: 原始平台返回的分类对象(组装表单时必须保留)。
|
|
49
|
-
- `children`: 子分类数组(若存在,需递归处理)。
|
|
50
|
-
- **示例**:
|
|
51
|
-
- 父分类:`{"yixiaoerId": "18", "yixiaoerName": "动漫"}`
|
|
52
|
-
- 子分类:`{"yixiaoerId": "1", "yixiaoerName": "国产动漫"}`
|
|
53
|
-
- 最终处理后的 `category` 字段:
|
|
54
|
-
```json
|
|
55
|
-
"category": [
|
|
56
|
-
{ "yixiaoerId": "18", "yixiaoerName": "动漫", "raw": {} },
|
|
57
|
-
{ "yixiaoerId": "1", "yixiaoerName": "国产动漫", "raw": {} }
|
|
58
|
-
]
|
|
59
|
-
```
|
|
60
|
-
- `raw`: 原始平台返回的分类对象。
|
|
61
|
-
|
|
62
|
-
## 调用指令 (Command)
|
|
63
|
-
|
|
64
|
-
```bash
|
|
65
|
-
yxer query categories YOUR_ACCOUNT_ID --type video --paths --json
|
|
66
|
-
```
|
|
67
|
-
|
|
1
|
+
# 获取发布分类/话题 (Get Categories)
|
|
2
|
+
|
|
3
|
+
获取特定平台账号支持的文章分类、视频分类或话题标签列表。
|
|
4
|
+
|
|
5
|
+
当前支持平台:百家号、爱奇艺、哔哩哔哩、企鹅号、搜狐号、网易号、一点号、大鱼号、知乎、蜂网、AcFun。
|
|
6
|
+
|
|
7
|
+
## 触发场景 (Trigger)
|
|
8
|
+
- **意图辨析**:在准备发布内容时,为了确保 `platformSettings` 中的分类/话题符合平台标准,不产生非法值,必须预先查询合法值。
|
|
9
|
+
- **典型提示词**:
|
|
10
|
+
- “获取这个百家号的视频分类”
|
|
11
|
+
- “查看百家号支持的文章类别”
|
|
12
|
+
- “查询可以挂载的话题”
|
|
13
|
+
|
|
14
|
+
## 参数定义 (Parameters)
|
|
15
|
+
|
|
16
|
+
### 参数列表 (Payload Properties)
|
|
17
|
+
|
|
18
|
+
| 字段名 | 类型 | 是否必填 | 说明 |
|
|
19
|
+
| :--- | :--- | :--- | :--- |
|
|
20
|
+
| `action` | `string` | **是** | 固定值:`categories` |
|
|
21
|
+
| `account_id` | `string` | **是** | 蚁小二账号 ID (ObjectId) |
|
|
22
|
+
| `type` | `string` | 否 | 发布类型:`video` (默认) 或 `article` |
|
|
23
|
+
| `paths` | `boolean` | 否 | 传给 CLI 时显示完整的根分类到末级分类路径 |
|
|
24
|
+
|
|
25
|
+
## 执行逻辑 (Logic Flow)
|
|
26
|
+
1. **身份锚定**:识别目标账号 `account_id`(通过 `accounts` action 获取)。
|
|
27
|
+
2. **场景对齐**:根据发布内容决定 `type`。
|
|
28
|
+
3. **参数装配**:构造 `action: "categories"` 负载。
|
|
29
|
+
4. **指令执行**:调用 `yxer query categories <account_id> [--type video|article] [--paths] --json`。搜狐号视频建议使用 `--paths`。
|
|
30
|
+
5. **值注入**:将 CLI 返回的完整分类对象填入发布 Payload 的对应位置,不能只摘取 `id`、`name` 或局部 `raw` 字段。
|
|
31
|
+
|
|
32
|
+
## 返回数据说明 (Response Details)
|
|
33
|
+
|
|
34
|
+
返回包含分类对象(`Category` 结构)的树形或扁平结构。发布时必须使用 `yxer query categories` 返回的完整对象数据。
|
|
35
|
+
- 使用 `--paths` 时,`data` 结构为 `{ "categories": [...], "paths": [...] }`。`paths` 中的 `path` 是可读的父子路径,`nodes` 保留任意深度的 ID/名称,`category` 是可直接回填的完整分类对象数组;两级路径还会提供 `parentId`、`parentName`、`childId`、`childName`。
|
|
36
|
+
- 搜狐号视频必须使用最新查询结果中从父分类到末级分类的完整 `category` 路径,不能只提交末级分类。
|
|
37
|
+
- 大鱼号视频必须选择至少一个分类;使用目标账号的 `yxer query categories <account_id> --type video --json` 结果,保留完整分类对象。
|
|
38
|
+
- 大鱼号视频分类按蚁小二 Web 端固定目录提供。CLI 内置并嵌入这份目录,确认账号属于大鱼号后直接返回,不请求不支持大鱼号的账号分类接口;返回的对象包含 `yixiaoerId`、`yixiaoerName` 和 `raw`。
|
|
39
|
+
- **Agent 手动铺平 (Flattening)**:若返回的数据包含嵌套的 `children` 数组,Agent **必须自行递归遍历**,以便在组装发布表单时能够获取任何层级的分类。
|
|
40
|
+
- **层级路径组装 (Cascading Path)**:
|
|
41
|
+
- 对于要求多级分类的平台 (如 Bilibili),Agent 在组装表单时,不能只填入最终选中的子分类。
|
|
42
|
+
- **必须组装一个数组**:包含从根节点到选中节点的所有路径对象。
|
|
43
|
+
- **包含 `raw` 对象**:路径中每一个对象除 `yixiaoerId` 和 `yixiaoerName` 外,**必须同步传入其对应的 `raw` 对象**(若存在)。
|
|
44
|
+
|
|
45
|
+
### 复杂对象:CategoryItem
|
|
46
|
+
- `yixiaoerId`: 内部分类 ID。
|
|
47
|
+
- `yixiaoerName`: 分类名称。
|
|
48
|
+
- `raw`: 原始平台返回的分类对象(组装表单时必须保留)。
|
|
49
|
+
- `children`: 子分类数组(若存在,需递归处理)。
|
|
50
|
+
- **示例**:
|
|
51
|
+
- 父分类:`{"yixiaoerId": "18", "yixiaoerName": "动漫"}`
|
|
52
|
+
- 子分类:`{"yixiaoerId": "1", "yixiaoerName": "国产动漫"}`
|
|
53
|
+
- 最终处理后的 `category` 字段:
|
|
54
|
+
```json
|
|
55
|
+
"category": [
|
|
56
|
+
{ "yixiaoerId": "18", "yixiaoerName": "动漫", "raw": {} },
|
|
57
|
+
{ "yixiaoerId": "1", "yixiaoerName": "国产动漫", "raw": {} }
|
|
58
|
+
]
|
|
59
|
+
```
|
|
60
|
+
- `raw`: 原始平台返回的分类对象。
|
|
61
|
+
|
|
62
|
+
## 调用指令 (Command)
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
yxer query categories YOUR_ACCOUNT_ID --type video --paths --json
|
|
66
|
+
```
|
|
67
|
+
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
# 获取同步发布应用列表 (Get Sync Apps)
|
|
2
|
-
|
|
3
|
-
获取发布当前作品时,可同时同步到的其他平台或应用列表(如抖音发布时同步到今日头条)。
|
|
4
|
-
|
|
5
|
-
## 1. 调用指令
|
|
6
|
-
|
|
7
|
-
```text
|
|
8
|
-
当前版本尚未提供独立 `yxer` 子命令。
|
|
9
|
-
本页仅保留字段结构说明,执行时应优先扩展 Go CLI,而不是寻找旧脚本入口。
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
## 2. 返回数据结构
|
|
13
|
-
|
|
14
|
-
返回 `Category` 数组。如果在获取时 `raw` 字段有值,发布表单中必须完整保留并透传。
|
|
1
|
+
# 获取同步发布应用列表 (Get Sync Apps)
|
|
2
|
+
|
|
3
|
+
获取发布当前作品时,可同时同步到的其他平台或应用列表(如抖音发布时同步到今日头条)。
|
|
4
|
+
|
|
5
|
+
## 1. 调用指令
|
|
6
|
+
|
|
7
|
+
```text
|
|
8
|
+
当前版本尚未提供独立 `yxer` 子命令。
|
|
9
|
+
本页仅保留字段结构说明,执行时应优先扩展 Go CLI,而不是寻找旧脚本入口。
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
## 2. 返回数据结构
|
|
13
|
+
|
|
14
|
+
返回 `Category` 数组。如果在获取时 `raw` 字段有值,发布表单中必须完整保留并透传。
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
# 获取话题列表 (Get Topics)
|
|
2
|
-
|
|
3
|
-
本页是历史别名,兼容旧平台文档中的 `get-topics.md` 引用。
|
|
4
|
-
|
|
5
|
-
## 当前建议
|
|
6
|
-
|
|
7
|
-
- 通用话题/挑战赛场景:优先读取 [`./get-challenges.md`](./get-challenges.md)
|
|
8
|
-
- 平台热点/活动话题场景:按需补读 [`./get-hot-events.md`](./get-hot-events.md)
|
|
9
|
-
|
|
10
|
-
## CLI 优先级
|
|
11
|
-
|
|
12
|
-
- 如平台提供 `yxer query challenges <account_id> [--query 关键词]`,优先使用该命令
|
|
13
|
-
- 如平台文档明确要求活动对象,再按平台规则使用活动或热点数据
|
|
1
|
+
# 获取话题列表 (Get Topics)
|
|
2
|
+
|
|
3
|
+
本页是历史别名,兼容旧平台文档中的 `get-topics.md` 引用。
|
|
4
|
+
|
|
5
|
+
## 当前建议
|
|
6
|
+
|
|
7
|
+
- 通用话题/挑战赛场景:优先读取 [`./get-challenges.md`](./get-challenges.md)
|
|
8
|
+
- 平台热点/活动话题场景:按需补读 [`./get-hot-events.md`](./get-hot-events.md)
|
|
9
|
+
|
|
10
|
+
## CLI 优先级
|
|
11
|
+
|
|
12
|
+
- 如平台提供 `yxer query challenges <account_id> [--query 关键词]`,优先使用该命令
|
|
13
|
+
- 如平台文档明确要求活动对象,再按平台规则使用活动或热点数据
|