{
  "openapi": "3.0.0",
  "info": {
    "title": "微信公众号搜索建议 API (V1)",
    "version": "1.0.0",
    "description": "返回关键词的微信搜索建议。在微信公众号文章搜索、账号搜索和内容发现工作流中，对自动补全和查询扩展非常有用。"
  },
  "servers": [
    {
      "url": "https://api.justoneapi.com",
      "description": "prod-global（默认）"
    },
    {
      "url": "http://47.117.133.51:30015",
      "description": "prod-cn（中国大陆地区可选）"
    }
  ],
  "paths": {
    "/api/weixin/search-suggestions/v1": {
      "get": {
        "tags": [
          "微信公众号"
        ],
        "summary": "搜索建议",
        "description": "返回关键词的微信搜索建议。在微信公众号文章搜索、账号搜索和内容发现工作流中，对自动补全和查询扩展非常有用。",
        "operationId": "getApiWeixinSearchSuggestionsV1",
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "description": "此 API 服务的访问令牌。",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "keyword",
            "in": "query",
            "description": "用于获取微信搜索建议的关键词。",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "businessType",
            "in": "query",
            "description": "用于限定建议结果的微信搜索业务类型。\n\n可选值：\n- `ALL`: 全部\n- `ACCOUNT`: 公众号\n- `ARTICLE`: 文章\n- `CHANNEL`: 视频号\n- `MOMENTS`: 朋友圈\n- `LIVE`: 直播\n- `EMOJI`: 表情\n- `AUDIO`: 音频\n- `BOOK`: 图书\n- `WECHAT_INDEX`: 微信指数\n- `NEWS`: 新闻\n- `MINI_PROGRAM`: 小程序\n- `ENCYCLOPEDIA`: 百科",
            "required": false,
            "schema": {
              "type": "string",
              "default": "ALL",
              "description": "Weixin search business type",
              "enum": [
                "ALL",
                "ACCOUNT",
                "ARTICLE",
                "CHANNEL",
                "MOMENTS",
                "LIVE",
                "EMOJI",
                "AUDIO",
                "BOOK",
                "WECHAT_INDEX",
                "NEWS",
                "MINI_PROGRAM",
                "ENCYCLOPEDIA"
              ]
            }
          }
        ],
        "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": "16101470",
        "x-api-version": "v1",
        "x-highlights": []
      }
    }
  },
  "components": {}
}