{
  "openapi": "3.0.0",
  "info": {
    "title": "微信公众号文章搜索 API (V2)",
    "version": "1.0.0",
    "description": "通过分类的微信网页搜索流程搜索微信公众号文章。版本2使用subSearchType聚焦结果类别，并保留offset和cookies_buffer用于连续分页。"
  },
  "servers": [
    {
      "url": "https://api.justoneapi.com",
      "description": "prod-global（默认）"
    },
    {
      "url": "http://47.117.133.51:30015",
      "description": "prod-cn（中国大陆地区可选）"
    }
  ],
  "paths": {
    "/api/weixin/search-article/v2": {
      "get": {
        "tags": [
          "微信公众号"
        ],
        "summary": "文章搜索",
        "description": "通过分类的微信网页搜索流程搜索微信公众号文章。版本2使用subSearchType聚焦结果类别，并保留offset和cookies_buffer用于连续分页。",
        "operationId": "getApiWeixinSearchArticleV2",
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "description": "此 API 服务的访问令牌。",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "keyword",
            "in": "query",
            "description": "分类微信公众号文章网页搜索的搜索关键词。",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "subSearchType",
            "in": "query",
            "description": "分类微信公众号文章网页搜索的子类别筛选。\n\n可选值：\n- `ALL`: 全部\n- `FOLLOWED`: 已关注\n- `LATEST`: 最新\n- `RECENT_READ`: 最近阅读\n- `HOT`: 热门",
            "required": false,
            "schema": {
              "type": "string",
              "default": "ALL",
              "description": "Weixin article category search subtype",
              "enum": [
                "ALL",
                "FOLLOWED",
                "LATEST",
                "RECENT_READ",
                "HOT"
              ]
            }
          },
          {
            "name": "currentPage",
            "in": "query",
            "description": "微信网页搜索分页的当前页码，从1开始。",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "上一次响应返回的搜索结果偏移量。第一页使用0。",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "cookies_buffer",
            "in": "query",
            "description": "上一次微信网页搜索响应返回的Cookie分页状态。第一页留空。",
            "required": false,
            "schema": {
              "type": "string",
              "default": ""
            }
          }
        ],
        "responses": {
          "200": {
            "description": "好的",
            "content": {
              "*/*": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "0",
                        "100",
                        "101",
                        "202",
                        "300",
                        "301",
                        "302",
                        "303",
                        "400",
                        "500",
                        "600",
                        "601"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "data": {
                      "type": "object"
                    },
                    "recordTime": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          }
        },
        "x-order": "16101440",
        "x-api-version": "v2",
        "x-highlights": []
      }
    }
  },
  "components": {}
}