次幂数据定制服务接口文档

API接口


订阅公众号V3

<p><strong>简要描述:</strong> </p> <ul> <li>获取公众号文章前,需要先订阅公众号</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>/api/v3/accounts/subscribe</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST</li> </ul> <p><strong>查询参数:</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">access_token</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>请求凭证</td> </tr> </tbody> </table> <p><strong> body 参数 </strong></p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">username</td> <td style="text-align: left;">是</td> <td style="text-align: left;">str</td> <td>公众号的微信ID,例如人民日报的id为 rmrbwx</td> </tr> </tbody> </table> <p><img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=38e78552cea9337e85d442e557e5fc08&amp;amp;file=file.png" alt="" /></p> <p><strong>返回成功示例</strong></p> <pre><code>{     &amp;quot;code&amp;quot;: 200,     &amp;quot;data&amp;quot;: null,     &amp;quot;msg&amp;quot;: &amp;quot;success&amp;quot; }</code></pre> <p><strong> 失败示例 </strong> 如果需要订阅公众号的唯一id不在系统中,会出现订阅不成功的情况,此时需要等待30秒或者直接将数据提交给咱们技术处理。</p> <pre><code>{ 'code': 200, 'msg': '正在同步该账号请30秒后重试,或检查账号是否正确' }</code></pre>

页面列表

ITEM_HTML