# Generated by ShowAPI OpenAPI generator
# source: market/1623
# generated-at: 2026-06-26T04:08:26.162Z
openapi: 3.0.3
info:
  title: 绕口令与谜语查询
  description: 提升口才和普通话的利器，同时助力记忆力和反应力的锻炼。通过本接口，用户能够便捷地查询各类常见的绕口令及谜语，让语言学习与思维训练更加轻松有趣。
  termsOfService: https://www.showapi.com/helpcenter/view#/4019/2
  version: 1.0.0
servers:
  - url: https://route.showapi.com
paths:
  /1623-2:
    x-pointCode: 2
    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:
                          ret_code:
                            type: string
                            description: 0为成功，其余为失败
                          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: 1623_2_POST
      parameters: []
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                question:
                  type: string
                  description: 谜面关键词
                page:
                  type: string
                  description: 请填写参数描述
  /1623-1:
    x-pointCode: 1
    x-mode: mapping
    x-read-timeout: 5
    x-connect-timeout: 5
    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: array
                            items:
                              type: object
                              properties:
                                content:
                                  type: string
                                  description: 内容
                                title:
                                  type: string
                                  description: 标题
                            description: 返回信息
                          maxResult:
                            type: string
                            description: 当前页最大返回数
                          allNum:
                            type: string
                            description: 总条数
                          allPages:
                            type: string
                            description: 总页码数
                          currentPage:
                            type: string
                            description: 当前页码数
                        description: 业务返回体
      operationId: 1623_1_POST
      parameters: []
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                title:
                  type: string
                  description: 绕口令关键词
                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/1623?tab=book
x-apiCode: "1623"
x-is-own: true
x-is-op: true
