From a608143dc31b2d7fb3e3a8953e8ed758da8f49f2 Mon Sep 17 00:00:00 2001 From: llyue Date: Mon, 18 Nov 2024 11:06:25 +0800 Subject: [PATCH] fix some spelling errors --- docs/api.md | 8 ++++---- docs/api_en.md | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/api.md b/docs/api.md index f88f1fa..d14e704 100644 --- a/docs/api.md +++ b/docs/api.md @@ -2219,7 +2219,7 @@ Method:GET 说明:获取资源元属性 -URI:/api/v1/haclusters/1/resources/meta_attributes/:catagory +URI:/api/v1/haclusters/1/resources/meta_attributes/:category Method:GET @@ -2227,7 +2227,7 @@ Method:GET | 参数名称 | 是否必填 | 传入方式 | 参数类型 | 参数说明 | | :--------------- | -------------- | :-------------- | :------------ | -------------------------------------------- | -| catagory | 是 | path | string | 资源类型,clone、primitive或者group | +| category | 是 | path | string | 资源类型,clone、primitive或者group | 响应格式:json @@ -3447,7 +3447,7 @@ Method:POST ``` { "action": true, - "faild_cluster": [], + "failed_cluster": [], "data": [ true ] @@ -3467,7 +3467,7 @@ Method:POST | 名称 | 类型 | 必选 | 约束 | 说明 | | --------------- | --------- | ---- | ---- | ------------------ | | >>action | boolean | true | none | 移除操作是否成功 | -| >>faild cluster | [string] | true | none | 移除失败的集群名称 | +| >>failed cluster | [string] | true | none | 移除失败的集群名称 | | >>data | [boolean] | true | none | 移除集群结果汇总 | ### 2.14 节点管理 diff --git a/docs/api_en.md b/docs/api_en.md index b762560..52ac75c 100644 --- a/docs/api_en.md +++ b/docs/api_en.md @@ -628,7 +628,7 @@ Response Parameters: | Parameter Name | Parameter Type | Parameter Description | | :---------------------------- | :--------------------------------- | ------------------------------------ | | action | bool | result status | -| data | string | resutl data | +| data | string | result data | | ips | array | node ip list | Response Example: @@ -2199,7 +2199,7 @@ Response Example: Description: get resource meta attributes -URI:/api/v1/haclusters/1/resources/meta_attributes/:catagory +URI:/api/v1/haclusters/1/resources/meta_attributes/:category Method:GET @@ -2207,7 +2207,7 @@ Request Parameters: | Parameter Name | Must Provide | Parameter Location | Parameter Type | Parameter Description | | :--------------- | -------------- | :------------------ | :------------- | -------------------------------------------- | -| catagory | yes | path | string | resource type, clone, primitive or group | +| category | yes | path | string | resource type, clone, primitive or group | Response Format: json @@ -2639,7 +2639,7 @@ Request Parameters: | sender | yes | json | string | sender email | | smtp | yes | json | string | email smtp | | flag | yes | json | bool | switch flag | -| receiver | yes | json | array | reciever email list | +| receiver | yes | json | array | receiver email list | | password | yes | json | string | email password | | port | yes | json | string | email port | -- Gitee