{
  "openapi": "3.0.3",
  "info": {
    "title": "脑筋急转弯",
    "description": "【脑筋急转弯娱乐中心】是一款集海量题库、在线互动、游戏化体验于一体的智力娱乐应用。无论是碎片时间还是直播互动，都能提供开心一刻，让你在挑战大脑的同时，享受社交乐趣和成就感。适用于PC、移动端及直播互动，是团队建设、直播互动的绝佳选择。",
    "termsOfService": "https://www.showapi.com/helpcenter/view#/4019/2",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://route.showapi.com"
    }
  ],
  "paths": {
    "/1618-3": {
      "x-pointCode": 3,
      "x-mode": "mapping",
      "x-read-timeout": 15,
      "x-connect-timeout": 15,
      "post": {
        "summary": "随机生成脑筋急转弯",
        "description": "万维易源脑筋急转弯api的接入点，查询随机生成的脑筋急转弯数据。",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {},
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "1618_3_POST",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "len": {
                    "type": "string",
                    "description": "需要生成的条数（最大一次可20条，默认1条）"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/1618-2": {
      "x-pointCode": 2,
      "x-mode": "mapping",
      "x-read-timeout": 5,
      "x-connect-timeout": 5,
      "post": {
        "summary": "查询脑筋急转弯列表",
        "description": "万维易源脑筋急转弯api的接入点，可查询脑筋急转弯的列表",
        "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为成功,其他为失败"
                            },
                            "remark": {
                              "type": "string",
                              "description": "提示信息"
                            },
                            "contentlist": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "question": {
                                    "type": "string",
                                    "description": "问题"
                                  },
                                  "answer": {
                                    "type": "string",
                                    "description": "答案"
                                  }
                                }
                              },
                              "description": "内容集合"
                            },
                            "maxResult": {
                              "type": "string",
                              "description": "每页最大条数"
                            },
                            "allNum": {
                              "type": "string",
                              "description": "总条数"
                            },
                            "allPages": {
                              "type": "string",
                              "description": "总页数"
                            },
                            "currentPage": {
                              "type": "string",
                              "description": "当前页码"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "1618_2_POST",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "page": {
                    "type": "string",
                    "description": "查询页码"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "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/1618?tab=book"
  },
  "x-apiCode": "1618",
  "x-is-own": false,
  "x-is-op": false
}