diff --git a/docs/api.md b/docs/api.md index f88f1fae32b3272a6bba257c39ef54233959e7f0..d14e704cd5d2be2cf833b0b3ed9b748c76400066 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 b7625601205c404d16406735edf72ed000298b64..52ac75cc724ccc3e15b4830ed55a1b9895cc68c7 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 |