wechat.json 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632
  1. {
  2. "wechat_channels.v2.fetch_channel_info": [
  3. {
  4. "name": "username",
  5. "in": "body",
  6. "type": "string",
  7. "required": true,
  8. "desc": "视频号 finder username(v2_…@finder 格式)/WeChat Channels finder username (v2_…@finder format)"
  9. },
  10. {
  11. "name": "raw",
  12. "in": "body",
  13. "type": "boolean",
  14. "required": false,
  15. "default": true,
  16. "desc": "True=原始响应;False=精简解析结构/True=raw response; False=simplified parsed structure"
  17. }
  18. ],
  19. "wechat_channels.v2.fetch_channel_id_to_username": [
  20. {
  21. "name": "channel_id",
  22. "in": "body",
  23. "type": "string",
  24. "required": true,
  25. "desc": "视频号 ID(sph 开头的短号)/WeChat Channels ID (short ID starting with sph)"
  26. },
  27. {
  28. "name": "raw",
  29. "in": "body",
  30. "type": "boolean",
  31. "required": false,
  32. "default": false,
  33. "desc": "True=原始响应;False=精简解析结构/True=raw response; False=simplified parsed structure"
  34. }
  35. ],
  36. "wechat_channels.v2.fetch_user_videos": [
  37. {
  38. "name": "username",
  39. "in": "body",
  40. "type": "string",
  41. "required": true,
  42. "desc": "视频号 finder username(v2_…@finder 格式)/WeChat Channels finder username (v2_…@finder format)"
  43. },
  44. {
  45. "name": "last_buffer",
  46. "in": "body",
  47. "type": "string",
  48. "required": false,
  49. "default": "",
  50. "desc": "翻页游标(base64),首页留空/Pagination cursor (base64), leave empty for first page"
  51. },
  52. {
  53. "name": "raw",
  54. "in": "body",
  55. "type": "boolean",
  56. "required": false,
  57. "default": true,
  58. "desc": "True=原始响应;False=精简解析结构(推荐做媒体下载)/True=raw response; False=simplified parsed structure (recommended for media download)"
  59. }
  60. ],
  61. "wechat_channels.v2.fetch_video_detail": [
  62. {
  63. "name": "object_id",
  64. "in": "body",
  65. "type": "string",
  66. "required": false,
  67. "default": "",
  68. "desc": "作品 objectId(纯数字,最优先)/Video objectId (numeric, highest priority)"
  69. },
  70. {
  71. "name": "export_id",
  72. "in": "body",
  73. "type": "string",
  74. "required": false,
  75. "default": "",
  76. "desc": "搜索结果中的 exportId(export/ 开头,会过期,需尽快使用)/exportId from search results (starts with export/, expires soon)"
  77. },
  78. {
  79. "name": "object_nonce_id",
  80. "in": "body",
  81. "type": "string",
  82. "required": false,
  83. "default": "",
  84. "desc": "配套 objectNonceId(纯数字,可选,提升命中率)/Optional objectNonceId (numeric, improves hit rate)"
  85. },
  86. {
  87. "name": "share_url",
  88. "in": "body",
  89. "type": "string",
  90. "required": false,
  91. "default": "",
  92. "desc": "视频号分享短链( object_id 与 export_id 都为空时使用/Share URL ( used only when object_id and export_id are empty"
  93. },
  94. {
  95. "name": "raw",
  96. "in": "body",
  97. "type": "boolean",
  98. "required": false,
  99. "default": true,
  100. "desc": "True=原始响应;False=精简解析结构(推荐做媒体下载)/True=raw response; False=simplified parsed structure (recommended for media download)"
  101. }
  102. ],
  103. "wechat_channels.v2.fetch_video_comments": [
  104. {
  105. "name": "object_id",
  106. "in": "body",
  107. "type": "string",
  108. "required": true,
  109. "desc": "作品 objectId(纯数字)/Video objectId (numeric)"
  110. },
  111. {
  112. "name": "last_buffer",
  113. "in": "body",
  114. "type": "string",
  115. "required": false,
  116. "default": "",
  117. "desc": "翻页游标(base64),首页留空/Pagination cursor (base64), leave empty for first page"
  118. },
  119. {
  120. "name": "comment_id",
  121. "in": "body",
  122. "type": "string",
  123. "required": false,
  124. "default": "",
  125. "desc": "展开某条评论的二级回复时传其 commentId(纯数字),首页留空/Pass a commentId (numeric) to expand its replies, leave empty for first-level comment"
  126. },
  127. {
  128. "name": "raw",
  129. "in": "body",
  130. "type": "boolean",
  131. "required": false,
  132. "default": true,
  133. "desc": "True=原始响应;False=精简解析结构/True=raw response; False=simplified parsed structure"
  134. }
  135. ],
  136. "wechat_channels.v2.fetch_video_share_url": [
  137. {
  138. "name": "object_id",
  139. "in": "body",
  140. "type": "string",
  141. "required": true,
  142. "desc": "作品 objectId(纯数字)/Video objectId (numeric)"
  143. },
  144. {
  145. "name": "raw",
  146. "in": "body",
  147. "type": "boolean",
  148. "required": false,
  149. "default": true,
  150. "desc": "True=原始响应;False=精简解析结构/True=raw response; False=simplified parsed structure"
  151. }
  152. ],
  153. "wechat_channels.v2.fetch_user_profile": [
  154. {
  155. "name": "username",
  156. "in": "body",
  157. "type": "string",
  158. "required": true,
  159. "desc": "视频号 finder username(v2_…@finder 格式)/WeChat Channels finder username (v2_…@finder format)"
  160. },
  161. {
  162. "name": "raw",
  163. "in": "body",
  164. "type": "boolean",
  165. "required": false,
  166. "default": true,
  167. "desc": "True=原始响应;False=精简解析结构/True=raw response; False=simplified parsed structure"
  168. }
  169. ],
  170. "wechat_channels.v2.fetch_user_collections": [
  171. {
  172. "name": "username",
  173. "in": "body",
  174. "type": "string",
  175. "required": true,
  176. "desc": "视频号 finder username(v2_…@finder 格式)/WeChat Channels finder username (v2_…@finder format)"
  177. },
  178. {
  179. "name": "raw",
  180. "in": "body",
  181. "type": "boolean",
  182. "required": false,
  183. "default": true,
  184. "desc": "True=原始响应;False=精简解析结构/True=raw response; False=simplified parsed structure"
  185. }
  186. ],
  187. "wechat_channels.v2.fetch_collection_videos": [
  188. {
  189. "name": "topic_id",
  190. "in": "body",
  191. "type": "string",
  192. "required": true,
  193. "desc": "合集 ID(纯数字,来自 fetch_user_collections 的 topic_id)/Collection ID (numeric, from topic_id of fetch_user_collections)"
  194. },
  195. {
  196. "name": "topic",
  197. "in": "body",
  198. "type": "string",
  199. "required": false,
  200. "default": "",
  201. "desc": "合集名(可选,提高命中)/Collection name (optional, improves hit rate)"
  202. },
  203. {
  204. "name": "username",
  205. "in": "body",
  206. "type": "string",
  207. "required": false,
  208. "default": "",
  209. "desc": "创作者 finder username(可选,提高命中)/Creator finder username (optional, improves hit rate)"
  210. },
  211. {
  212. "name": "last_buffer",
  213. "in": "body",
  214. "type": "string",
  215. "required": false,
  216. "default": "",
  217. "desc": "翻页游标(base64),首页留空/Pagination cursor (base64), leave empty for first page"
  218. },
  219. {
  220. "name": "topic_type",
  221. "in": "body",
  222. "type": "integer",
  223. "required": false,
  224. "default": 16,
  225. "desc": "合集类型,默认 16(与 fetch_user_collections 返回的 topic_type 对齐)/Collection type, default 16 (align with topic_type from fetch_use"
  226. },
  227. {
  228. "name": "raw",
  229. "in": "body",
  230. "type": "boolean",
  231. "required": false,
  232. "default": true,
  233. "desc": "True=原始响应;False=精简解析结构(推荐做媒体下载)/True=raw response; False=simplified parsed structure (recommended for media download)"
  234. }
  235. ],
  236. "wechat_channels.v2.fetch_live_history": [
  237. {
  238. "name": "username",
  239. "in": "body",
  240. "type": "string",
  241. "required": true,
  242. "desc": "视频号 finder username(v2_…@finder 格式)/WeChat Channels finder username (v2_…@finder format)"
  243. },
  244. {
  245. "name": "last_buffer",
  246. "in": "body",
  247. "type": "string",
  248. "required": false,
  249. "default": "",
  250. "desc": "翻页游标(base64),首页留空/Pagination cursor (base64), leave empty for first page"
  251. },
  252. {
  253. "name": "flag",
  254. "in": "body",
  255. "type": "integer",
  256. "required": false,
  257. "default": 12,
  258. "desc": "拉取标志,默认 12/Fetch flag, default 12"
  259. },
  260. {
  261. "name": "raw",
  262. "in": "body",
  263. "type": "boolean",
  264. "required": false,
  265. "default": true,
  266. "desc": "True=原始响应;False=精简解析结构(推荐做媒体下载)/True=raw response; False=simplified parsed structure (recommended for media download)"
  267. }
  268. ],
  269. "wechat_channels.v2.fetch_live_detail": [
  270. {
  271. "name": "live_id",
  272. "in": "body",
  273. "type": "string",
  274. "required": true,
  275. "desc": "直播 ID(纯数字)/Live ID (numeric)"
  276. },
  277. {
  278. "name": "scene",
  279. "in": "body",
  280. "type": "integer",
  281. "required": false,
  282. "default": 5,
  283. "desc": "进入场景,默认 5/Entry scene, default 5"
  284. },
  285. {
  286. "name": "finder_username",
  287. "in": "body",
  288. "type": "string",
  289. "required": false,
  290. "default": "",
  291. "desc": "主播 finder username(可选,提高命中)/Anchor finder username (optional, improves hit rate)"
  292. },
  293. {
  294. "name": "raw",
  295. "in": "body",
  296. "type": "boolean",
  297. "required": false,
  298. "default": true,
  299. "desc": "True=原始响应;False=精简解析结构/True=raw response; False=simplified parsed structure"
  300. }
  301. ],
  302. "wechat_channels.v2.fetch_search_channel_videos": [
  303. {
  304. "name": "username",
  305. "in": "body",
  306. "type": "string",
  307. "required": true,
  308. "desc": "创作者 finder username(v2_…@finder 格式)/Creator finder username (v2_…@finder format)"
  309. },
  310. {
  311. "name": "keyword",
  312. "in": "body",
  313. "type": "string",
  314. "required": true,
  315. "desc": "在该号内搜索的关键词(1-100 字)/Keyword to search within this channel (1-100 chars)"
  316. },
  317. {
  318. "name": "raw",
  319. "in": "body",
  320. "type": "boolean",
  321. "required": false,
  322. "default": true,
  323. "desc": "True=原始响应;False=精简解析结构/True=raw response; False=simplified parsed structure"
  324. }
  325. ],
  326. "wechat_mp.v2.fetch_article_detail": [
  327. {
  328. "name": "url",
  329. "in": "body",
  330. "type": "string",
  331. "required": true,
  332. "desc": "公众号文章链接( 或带 __biz 的长链)/WeChat MP article URL ( or long URL with __biz)"
  333. },
  334. {
  335. "name": "raw",
  336. "in": "body",
  337. "type": "boolean",
  338. "required": false,
  339. "default": true,
  340. "desc": "True=原始响应;False=精简解析结构/True=raw response; False=simplified parsed structure"
  341. }
  342. ],
  343. "wechat_mp.v2.fetch_article_stats": [
  344. {
  345. "name": "url",
  346. "in": "body",
  347. "type": "string",
  348. "required": true,
  349. "desc": "公众号文章链接( 或带 __biz 的长链)/WeChat MP article URL ( or long URL with __biz)"
  350. },
  351. {
  352. "name": "raw",
  353. "in": "body",
  354. "type": "boolean",
  355. "required": false,
  356. "default": true,
  357. "desc": "True=原始响应;False=精简解析结构/True=raw response; False=simplified parsed structure"
  358. }
  359. ],
  360. "wechat_mp.v2.fetch_article_comments": [
  361. {
  362. "name": "url",
  363. "in": "body",
  364. "type": "string",
  365. "required": true,
  366. "desc": "公众号文章链接( MP article URL ("
  367. },
  368. {
  369. "name": "buffer",
  370. "in": "body",
  371. "type": "string",
  372. "required": false,
  373. "default": "",
  374. "desc": "翻页游标,首页留空;翻页传上一页响应的 buffer/Pagination cursor, leave empty for first page; pass buffer from the previous response"
  375. },
  376. {
  377. "name": "raw",
  378. "in": "body",
  379. "type": "boolean",
  380. "required": false,
  381. "default": true,
  382. "desc": "True=原始响应;False=精简解析结构/True=raw response; False=simplified parsed structure"
  383. }
  384. ],
  385. "wechat_mp.v2.fetch_comment_replies": [
  386. {
  387. "name": "url",
  388. "in": "body",
  389. "type": "string",
  390. "required": true,
  391. "desc": "公众号文章链接( MP article URL ("
  392. },
  393. {
  394. "name": "content_id",
  395. "in": "body",
  396. "type": "string",
  397. "required": false,
  398. "default": "",
  399. "desc": "目标一级评论的 content_id(纯数字),不传则自动取第一条有回复的评论/content_id (numeric) of the target first-level comment; defaults to the first co"
  400. },
  401. {
  402. "name": "offset",
  403. "in": "body",
  404. "type": "integer",
  405. "required": false,
  406. "default": 0,
  407. "desc": "回复翻页偏移,首页 0;has_more=true 时传上次返回的 next_offset/Reply pagination offset, 0 for first page; pass next_offset from the previ"
  408. },
  409. {
  410. "name": "all_pages",
  411. "in": "body",
  412. "type": "boolean",
  413. "required": false,
  414. "default": false,
  415. "desc": "为 true 时忽略 offset,一次取全部回复/When true, ignore offset and fetch all replies at once"
  416. },
  417. {
  418. "name": "raw",
  419. "in": "body",
  420. "type": "boolean",
  421. "required": false,
  422. "default": true,
  423. "desc": "True=原始响应;False=精简解析结构/True=raw response; False=simplified parsed structure"
  424. }
  425. ],
  426. "wechat_mp.v2.fetch_related_articles": [
  427. {
  428. "name": "url",
  429. "in": "body",
  430. "type": "string",
  431. "required": true,
  432. "desc": "公众号文章链接( 或带 __biz 的长链)/WeChat MP article URL ( or long URL with __biz)"
  433. },
  434. {
  435. "name": "raw",
  436. "in": "body",
  437. "type": "boolean",
  438. "required": false,
  439. "default": true,
  440. "desc": "True=原始响应;False=精简解析结构/True=raw response; False=simplified parsed structure"
  441. }
  442. ],
  443. "wechat_mp.v2.fetch_article_ad": [
  444. {
  445. "name": "url",
  446. "in": "body",
  447. "type": "string",
  448. "required": true,
  449. "desc": "公众号文章链接( 或带 __biz 的长链)/WeChat MP article URL ( or long URL with __biz)"
  450. },
  451. {
  452. "name": "raw",
  453. "in": "body",
  454. "type": "boolean",
  455. "required": false,
  456. "default": true,
  457. "desc": "True=原始响应;False=精简解析结构/True=raw response; False=simplified parsed structure"
  458. }
  459. ],
  460. "wechat_mp.v2.fetch_account_profile": [
  461. {
  462. "name": "username",
  463. "in": "body",
  464. "type": "string",
  465. "required": true,
  466. "desc": "公众号 gh_username(gh_…)/Official account gh_username (gh_…)"
  467. },
  468. {
  469. "name": "raw",
  470. "in": "body",
  471. "type": "boolean",
  472. "required": false,
  473. "default": true,
  474. "desc": "True=原始响应;False=精简解析结构/True=raw response; False=simplified parsed structure"
  475. }
  476. ],
  477. "wechat_mp.v2.fetch_account_articles": [
  478. {
  479. "name": "username",
  480. "in": "body",
  481. "type": "string",
  482. "required": true,
  483. "desc": "公众号 gh_username(gh_…)/Official account gh_username (gh_…)"
  484. },
  485. {
  486. "name": "page_size",
  487. "in": "body",
  488. "type": "integer",
  489. "required": false,
  490. "default": 20,
  491. "desc": "每页文章数,范围 10-20,默认 20/Articles per page, range 10-20, default 20"
  492. },
  493. {
  494. "name": "offset",
  495. "in": "body",
  496. "type": "string",
  497. "required": false,
  498. "default": "",
  499. "desc": "翻页游标(base64),首页留空;翻页传上一页响应的 next_offset/Pagination cursor (base64), leave empty for first page; for the next page pass n"
  500. },
  501. {
  502. "name": "item_show_type",
  503. "in": "body",
  504. "type": "integer",
  505. "required": false,
  506. "desc": "内容栏目:留空/0=文章(默认)、5=视频、7=音频、8=贴图/Content tab: empty/0=articles (default), 5=videos, 7=audios, 8=image-text posts"
  507. },
  508. {
  509. "name": "raw",
  510. "in": "body",
  511. "type": "boolean",
  512. "required": false,
  513. "default": true,
  514. "desc": "True=原始响应;False=精简解析结构/True=raw response; False=simplified parsed structure"
  515. }
  516. ],
  517. "wechat_mp.v2.fetch_account_services": [
  518. {
  519. "name": "username",
  520. "in": "body",
  521. "type": "string",
  522. "required": true,
  523. "desc": "公众号 gh_username(gh_…)/Official account gh_username (gh_…)"
  524. },
  525. {
  526. "name": "raw",
  527. "in": "body",
  528. "type": "boolean",
  529. "required": false,
  530. "default": true,
  531. "desc": "True=原始响应;False=精简解析结构/True=raw response; False=simplified parsed structure"
  532. }
  533. ],
  534. "wechat_search.v2.fetch_search": [
  535. {
  536. "name": "keyword",
  537. "in": "body",
  538. "type": "string",
  539. "required": true,
  540. "desc": "搜索关键词(1-100 字)/Search keyword (1-100 chars)"
  541. },
  542. {
  543. "name": "business_type",
  544. "in": "body",
  545. "type": "string",
  546. "required": false,
  547. "default": "all",
  548. "desc": "垂类字符串键:综合 all / 公众号 account / 文章 article / 视频 video / 直播 live_stream / 朋友圈 moments / 新闻 news / 读书 book / 听书 listen / 图片 "
  549. },
  550. {
  551. "name": "sort",
  552. "in": "body",
  553. "type": "integer",
  554. "required": false,
  555. "default": "default",
  556. "desc": "排序(结果页「排序」下拉,综合与各垂类通用):不限(相关性) default/0 / 最新(发布时间降序) latest/1 / 最热(点赞降序) hot/2,字符串键或整数均可/Sort (result page 'sort' dropd"
  557. },
  558. {
  559. "name": "publish_time",
  560. "in": "body",
  561. "type": "integer",
  562. "required": false,
  563. "default": "all",
  564. "desc": "发布时间(结果页「时间」下拉,通用):不限 all/0 / 最近一天 day/1 / 最近七天 week/2 / 最近半年 half_year/3,字符串键或整数均可/Publish time (result page 'time' dro"
  565. },
  566. {
  567. "name": "offset",
  568. "in": "body",
  569. "type": "integer",
  570. "required": false,
  571. "default": 0,
  572. "desc": "翻页游标:首页传 0;翻页时把上一页响应返回的 offset 传回(配合 continue_flag 判断是否还有下一页)/Pagination cursor: pass 0 for the first page; for the next"
  573. },
  574. {
  575. "name": "raw",
  576. "in": "body",
  577. "type": "boolean",
  578. "required": false,
  579. "default": true,
  580. "desc": "True=原始搜索响应;False=精简解析结构/True=raw search response; False=simplified parsed structure"
  581. }
  582. ],
  583. "wechat_search.v2.fetch_search_videos": [
  584. {
  585. "name": "keyword",
  586. "in": "body",
  587. "type": "string",
  588. "required": true,
  589. "desc": "搜索关键词(1-100 字)/Search keyword (1-100 chars)"
  590. },
  591. {
  592. "name": "duration",
  593. "in": "body",
  594. "type": "integer",
  595. "required": false,
  596. "default": "all",
  597. "desc": "时长档(video 垂类专属):不限 all/0 / 短(<5min) short/1 / 中(5-10min) medium/2 / 长(20min+) long/3,字符串键或整数均可/Duration tier (Channels v"
  598. },
  599. {
  600. "name": "sort",
  601. "in": "body",
  602. "type": "integer",
  603. "required": false,
  604. "default": "default",
  605. "desc": "排序:不限(相关性) default/0 / 最新(发布时间降序) latest/1 / 最热(点赞降序) hot/2,字符串键或整数均可/Sort: default/0 (relevance) / latest/1 (newest) / "
  606. },
  607. {
  608. "name": "publish_time",
  609. "in": "body",
  610. "type": "integer",
  611. "required": false,
  612. "default": "all",
  613. "desc": "发布时间:不限 all/0 / 最近一天 day/1 / 最近七天 week/2 / 最近半年 half_year/3,字符串键或整数均可/Publish time: all/0 / day/1 / week/2 / half_year/3"
  614. },
  615. {
  616. "name": "offset",
  617. "in": "body",
  618. "type": "integer",
  619. "required": false,
  620. "default": 0,
  621. "desc": "翻页游标:首页传 0;翻页时把上一页响应返回的 offset 传回,用法同综合搜索/Pagination cursor: pass 0 for the first page; for the next page pass back the "
  622. },
  623. {
  624. "name": "raw",
  625. "in": "body",
  626. "type": "boolean",
  627. "required": false,
  628. "default": true,
  629. "desc": "True=原始搜索响应;False=精简解析结构/True=raw search response; False=simplified parsed structure"
  630. }
  631. ]
  632. }