{
  "openapi": "3.0.3",
  "info": {
    "title": "周公解梦",
    "description": "一款提供梦境解析服务的产品，它基于上万种梦境的详细分析，为用户提供权威、全面的梦境查询服务。通过该接口，用户可以快速获取梦境的解析结果，了解梦境背后的寓意和意义。无论您遇到什么样的梦境，周公解梦API都能为您提供专业的解析，帮助您揭示梦境的真相。",
    "termsOfService": "https://www.showapi.com/helpcenter/view#/4019/2",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://route.showapi.com"
    }
  ],
  "paths": {
    "/1601-2": {
      "x-pointCode": 2,
      "x-mode": "mapping",
      "x-read-timeout": 15,
      "x-connect-timeout": 15,
      "post": {
        "summary": "解梦详细",
        "description": "根据周公解梦全书提供相关信息。",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "ret_code": {
                              "type": "string",
                              "description": "0为成功，其余为失败"
                            },
                            "contentlist": {
                              "type": "string",
                              "description": "结果集合"
                            },
                            "maxResult": {
                              "type": "string",
                              "description": "每页最大结果"
                            },
                            "allNum": {
                              "type": "string",
                              "description": "总的结果"
                            },
                            "allPages": {
                              "type": "string",
                              "description": "总的页数"
                            },
                            "currentPage": {
                              "type": "string",
                              "description": "当前页"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "1601_2_POST",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "keyWords": {
                    "type": "string",
                    "description": "关键词"
                  },
                  "page": {
                    "type": "string",
                    "description": "页码 默认为1"
                  }
                },
                "required": [
                  "keyWords"
                ]
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "AppKeyAuth": {
        "type": "apiKey",
        "in": "query",
        "name": "appKey",
        "description": "从 ShowAPI 控制台获取的 appKey，管理地址：https://www.showapi.com/console#/myApp"
      }
    },
    "schemas": {
      "ShowapiResEnvelope": {
        "type": "object",
        "description": "ShowAPI 统一返回包裹（业务数据位于 showapi_res_body）",
        "properties": {
          "showapi_res_code": {
            "type": "integer",
            "description": "API 返回的状态码"
          },
          "showapi_res_error": {
            "type": "string",
            "description": "API 返回的错误信息"
          },
          "showapi_res_id": {
            "type": "string",
            "description": "API 请求的唯一标识"
          },
          "showapi_fee_num": {
            "type": "integer",
            "description": "API 调用计费次数"
          }
        }
      }
    }
  },
  "security": [
    {
      "AppKeyAuth": []
    }
  ],
  "externalDocs": {
    "url": "https://www.showapi.com/apiGateway/view/1601?tab=book"
  },
  "x-apiCode": "1601",
  "x-is-own": true,
  "x-is-op": true
}