{
  "openapi": "3.0.0",
  "info": {
    "title": "微信公众号文章搜索 API (V1)",
    "version": "1.0.0",
    "description": "通过微信网页搜索流程搜索微信公众号文章。版本1支持发布时间筛选、排序类型、偏移量和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/v1": {
      "get": {
        "tags": [
          "微信公众号"
        ],
        "summary": "文章搜索",
        "description": "通过微信网页搜索流程搜索微信公众号文章。版本1支持发布时间筛选、排序类型、偏移量和cookies_buffer分页，用于获取最新的网页端文章结果。",
        "operationId": "getApiWeixinSearchArticleV1",
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "description": "此 API 服务的访问令牌。",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "keyword",
            "in": "query",
            "description": "微信公众号文章的搜索关键词。",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "publishTimeType",
            "in": "query",
            "description": "微信公众号文章网页搜索的发布时间筛选。\n\n可选值：\n- `ALL`: 全部时间\n- `ONE_DAY`: 最近一天\n- `SEVEN_DAYS`: 最近七天\n- `HALF_YEAR`: 最近半年",
            "required": false,
            "schema": {
              "type": "string",
              "default": "ALL",
              "description": "Weixin web article search publish time filter",
              "enum": [
                "ALL",
                "ONE_DAY",
                "SEVEN_DAYS",
                "HALF_YEAR"
              ]
            }
          },
          {
            "name": "sortType",
            "in": "query",
            "description": "微信公众号文章网页搜索结果的排序方式。\n\n可选值：\n- `COMPREHENSIVE`: 综合排序\n- `LATEST`: 最新优先\n- `HOT`: 最热优先",
            "required": false,
            "schema": {
              "type": "string",
              "default": "COMPREHENSIVE",
              "description": "Weixin web article search sort type",
              "enum": [
                "COMPREHENSIVE",
                "LATEST",
                "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": "16101430",
        "x-api-version": "v1",
        "x-highlights": []
      }
    }
  },
  "components": {}
}