# Generated by ShowAPI OpenAPI generator
# source: market/1706
# generated-at: 2026-06-26T01:53:43.033Z
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:
  /1706-2:
    x-pointCode: 2
    x-mode: mapping
    x-read-timeout: 15
    x-connect-timeout: 15
    post:
      summary: 详情
      description: 接口通过列表接入点提供的id查询故事详情，适合集成在家长辅助教育软件中，提供文章、视频等多媒体内容，让学习变得有趣。
      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: 提示信息
                          title:
                            type: string
                            description: 标题
                          content:
                            type: string
                            description: 内容
                        description: 业务返回体
      operationId: 1706_2_POST
      parameters: []
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                id:
                  type: string
                  description: 详情id
              required:
                - id
  /1706-1:
    x-pointCode: 1
    x-mode: mapping
    x-read-timeout: 15
    x-connect-timeout: 15
    post:
      summary: 列表
      description: 接口通过关键字查询带有关键字的问题列表，提供id给故事详情查看。接口通过关键字查询带有关键字的问题列表，适用于用户搜索相关问题并查看详细问题内容，适用于问答平台、社区讨论等场景。
      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: 提示信息
                          id:
                            type: string
                            description: 详情id
                          title:
                            type: string
                            description: 详情标题
                          allPages:
                            type: string
                            description: 总页数
                          currentPage:
                            type: string
                            description: 当前页码
                          allNum:
                            type: string
                            description: 总数
                          maxResult:
                            type: string
                            description: 查询最大数
                        description: 业务返回体
      operationId: 1706_1_POST
      parameters: []
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                keyword:
                  type: string
                  description: 关键词
                page:
                  type: string
                  description: 当前页
              required:
                - keyword
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/1706?tab=book
x-apiCode: "1706"
x-is-own: true
x-is-op: true
