GitHub Raw JSON API

ltaoo / wx_channels_download

8,342 Go

微信视频号下载器

WeChat Channels Download API Specification

Located in docs/public/openapi.json on branch HEAD

3.0.0 JSON 33 Endpoints 4.2 KB
Raw JSON Specification
{
  "openapi": "3.0.0",
  "info": {
    "title": "WeChat Channels Download API",
    "version": "v260613",
    "description": "可以通过 HTTP 请求来调用下载器的 API,现在提供了以下几类接口:\n\n- 视频号相关\n- 公众号相关\n- 下载器相关"
  },
  "servers": [
    {
      "url": "http://127.0.0.1:2022",
      "description": "本地服务器"
    }
  ],
  "tags": [
    {
      "name": "视频号",
      "description": "调用时保持视频号页面打开的状态,否则调用接口时会提示 `{\"code\":400,\"msg\":\"请先初始化客户端 socket 连接\"}`。当出现该提示时,打开视频号页面即可,如果已经打开,刷新一下。"
    },
    {
      "name": "公众号",
      "description": "部分接口需要保持任意文章页面打开的状态,否则调用接口时会提示 `{\"code\":400,\"msg\":\"请先初始化客户端 socket 连接\"}`。当出现该提示时,打开任意公众号文章页面即可,如果已经打开,刷新一下。"
    },
    {
      "name": "下载器",
      "description": "管理下载任务,也可以通过接口直接创建视频号下载任务"
    },
    {
      "name": "下载任务",
      "description": "兼容 wx_channels_api 的下载任务接口(/api/download_task/*),底层复用本项目的下载器与 download_task 表"
    },
    {
      "name": "平台",
      "description": "兼容 wx_channels_api 的平台/账号/视频号相关接口(/account/*、/channels/*)"
    },
    {
      "name": "达人",
      "description": "兼容 wx_channels_api 的达人接口(/influencers*)"
    },
    {
      "name": "内容",
      "description": "兼容 wx_channels_api 的内容相关接口(/video/*、/browse_history/*)"
    },
    {
      "name": "文件传输助手",
      "description": "文件传输助手相关接口(仅本地模式可用)"
    },
    {
      "name": "媒体",
      "description": "媒体文件预览与播放接口"
    }
  ],
  "paths": {
    "/api/channels/contact/search": {
      "$ref": "./openapi/channels/contact_search.json"
    },
    "/api/channels/contact/feed/list": {
      "$ref": "./openapi/channels/contact_feed_list.json"
    },
    "/api/channels/feed/profile": {
      "$ref": "./openapi/channels/feed_profile.json"
    },
    "/api/channels/feed/share_url": {
      "$ref": "./openapi/channels/feed_share_url.json"
    },
    "/api/channels/parse_sph": {
      "$ref": "./openapi/channels/parse_sph.json"
    },
    "/api/channels/feed/comment/list": {
      "$ref": "./openapi/channels/feed_comment_list.json"
    },
    "/api/channels/live/replay/list": {
      "$ref": "./openapi/channels/live_replay_list.json"
    },
    "/api/channels/interactioned/list": {
      "$ref": "./openapi/channels/interactioned_list.json"
    },
    "/api/channels/follow/list": {
      "$ref": "./openapi/channels/follow_list.json"
    },
    "/rss/channels": {
      "$ref": "./openapi/channels/rss.json"
    },
    "/play": {
      "$ref": "./openapi/channels/play.json"
    },
    "/api/mp/list": {
      "$ref": "./openapi/mp/list.json"
    },
    "/api/mp/msg/list": {
      "$ref": "./openapi/mp/msg_list.json"
    },
    "/api/mp/delete": {
      "$ref": "./openapi/mp/delete.json"
    },
    "/api/mp/refresh_with_frontend": {
      "$ref": "./openapi/mp/refresh_with_frontend.json"
    },
    "/api/mp/refresh": {
      "$ref": "./openapi/mp/refresh.json"
    },
    "/rss/mp": {
      "$ref": "./openapi/mp/rss.json"
    },
    "/mp/proxy": {
      "$ref": "./openapi/mp/proxy.json"
    },
    "/api/download_task/list": {
      "$ref": "./openapi/download_task/list.json"
    },
    "/api/download_task/start": {
      "$ref": "./openapi/download_task/start.json"
    },
    "/api/download_task/profile": {
      "$ref": "./openapi/download_task/profile.json"
    },
    "/api/download_task/create": {
      "$ref": "./openapi/download_task/create.json"
    },
    "/api/download_task/batch_create": {
      "$ref": "./openapi/download_task/batch_create.json"
    },
    "/api/download_task/delete": {
      "$ref": "./openapi/download_task/delete.json"
    },
    "/api/download_task/retry": {
      "$ref": "./openapi/download_task/retry.json"
    },
    "/api/download_task/pause_all": {
      "$ref": "./openapi/download_task/pause_all.json"
    },
    "/api/download_task/start_all": {
      "$ref": "./openapi/download_task/start_all.json"
    },
    "/api/download_task/highlight_file": {
      "$ref": "./openapi/download_task/highlight_file.json"
    },
    "/api/download_task/play": {
      "$ref": "./openapi/download_task/play.json"
    },
    "/api/mp/ws_pool": {
      "$ref": "./openapi/mp/ws_pool.json"
    },
    "/api/mp/article/list": {
      "$ref": "./openapi/mp/article_list.json"
    },
    "/api/mp/download_all": {
      "$ref": "./openapi/mp/download_all.json"
    },
    "/mp/home": {
      "$ref": "./openapi/mp/home.json"
    }
  }
}