{
  "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": {
    "/3219-1": {
      "x-pointCode": 1,
      "x-mode": "mapping",
      "x-read-timeout": 300,
      "x-connect-timeout": 300,
      "post": {
        "summary": "学习单词",
        "description": "提交您要查询的单词",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "properties": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "property": {
                                    "type": "string",
                                    "description": "词性"
                                  },
                                  "meaning": {
                                    "type": "string",
                                    "description": "词义"
                                  }
                                }
                              },
                              "description": "词义列表"
                            },
                            "ret_code": {
                              "type": "number",
                              "description": "是否查询到单词，0表示查询到，-1表示系统异常，-2表示生成错误，需要重试"
                            },
                            "etymology": {
                              "type": "string",
                              "description": "词源解释"
                            },
                            "pronunciation": {
                              "type": "string",
                              "description": "发音音标"
                            },
                            "remark": {
                              "type": "string",
                              "description": "错误信息"
                            },
                            "formations": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string",
                                    "description": "变形名称"
                                  },
                                  "formation": {
                                    "type": "string",
                                    "description": "变形后的单词"
                                  }
                                }
                              },
                              "description": "单词变形列表"
                            },
                            "prefix": {
                              "type": "object",
                              "properties": {
                                "keyword": {
                                  "type": "string",
                                  "description": "前缀值"
                                },
                                "meaning": {
                                  "type": "string",
                                  "description": "前缀释意"
                                }
                              },
                              "description": "单词前缀"
                            },
                            "word": {
                              "type": "string",
                              "description": "您学习的单词"
                            },
                            "example": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              },
                              "description": "例句列表"
                            },
                            "suffix": {
                              "type": "object",
                              "properties": {
                                "keyword": {
                                  "type": "string",
                                  "description": "后缀值"
                                },
                                "meaning": {
                                  "type": "string",
                                  "description": "后缀释意"
                                }
                              },
                              "description": "单词后缀"
                            },
                            "memory_tip": {
                              "type": "string",
                              "description": "辅助记忆小技巧"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "3219_1_POST",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "word": {
                    "type": "string",
                    "minLength": 2,
                    "maxLength": 25,
                    "description": "您要学习了解的英语单词"
                  }
                },
                "required": [
                  "word"
                ]
              }
            }
          }
        }
      }
    }
  },
  "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/3219?tab=book"
  },
  "x-apiCode": "3219",
  "x-is-own": true,
  "x-is-op": true
}