This is an automated email from the ASF dual-hosted git repository.
kassiez pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/master by this push:
new d9c48dc7abd 【DOC】update be-http docs (#2057)
d9c48dc7abd is described below
commit d9c48dc7abd5b7b9c88a0ead15317abdc435e91e
Author: ahern <[email protected]>
AuthorDate: Tue Feb 25 17:24:12 2025 +0800
【DOC】update be-http docs (#2057)
## Versions
- [ ] dev
- [x] 3.0
- [ ] 2.1
- [ ] 2.0
## Languages
- [x] Chinese
- [ ] English
## Docs Checklist
- [x] Checked by AI
- [x] Test Cases Built
Signed-off-by: sxj_cmss <[email protected]>
---
.../current/admin-manual/open-api/be-http/be-vlog.md | 12 ++++++------
.../admin-manual/open-api/be-http/check-rpc-channel.md | 10 +++++-----
.../admin-manual/open-api/be-http/check-tablet-segment.md | 12 ++++++------
.../current/admin-manual/open-api/be-http/checksum.md | 12 ++++++------
.../current/admin-manual/open-api/be-http/compaction-run.md | 12 ++++++------
.../admin-manual/open-api/be-http/compaction-status.md | 12 ++++++------
.../current/admin-manual/open-api/be-http/config.md | 12 ++++++------
.../current/admin-manual/open-api/be-http/download.md | 12 ++++++------
.../current/admin-manual/open-api/be-http/health.md | 12 ++++++------
.../current/admin-manual/open-api/be-http/meta.md | 12 ++++++------
.../current/admin-manual/open-api/be-http/metrics.md | 12 ++++++------
.../current/admin-manual/open-api/be-http/pad-rowset.md | 12 ++++++------
.../admin-manual/open-api/be-http/reset-rpc-channel.md | 10 +++++-----
.../current/admin-manual/open-api/be-http/snapshot.md | 12 ++++++------
.../admin-manual/open-api/be-http/tablet-distribution.md | 12 ++++++------
.../current/admin-manual/open-api/be-http/tablet-info.md | 12 ++++++------
.../admin-manual/open-api/be-http/tablet-migration.md | 12 ++++++------
.../current/admin-manual/open-api/be-http/tablet-reload.md | 12 ++++++------
.../current/admin-manual/open-api/be-http/tablet-restore.md | 12 ++++++------
.../current/admin-manual/open-api/be-http/version-info.md | 12 ++++++------
20 files changed, 118 insertions(+), 118 deletions(-)
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/be-vlog.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/be-vlog.md
index 7360210e3af..92c55e1b58c 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/be-vlog.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/be-vlog.md
@@ -25,15 +25,15 @@ under the License.
-->
-## Request
+## 请求路径
`POST /api/glog/adjust?module=<module_name>&level=<level_number>`
-## Description
+## 描述
该功能用于动态调整 BE 端 VLOG 日志。
-## Query parameters
+## 请求参数
* `module_name`
要设置 VLOG 的模块,对应 BE 无后缀名的文件名
@@ -41,11 +41,11 @@ under the License.
* `level_number`
VLOG 级别,从 1 到 10,另外 -1 为关闭
-## Request body
+## 请求体
无
-## Response
+## 响应
```json
{
@@ -54,7 +54,7 @@ under the License.
}
```
-## Examples
+## 示例
```bash
curl -X POST
"http://127.0.0.1:8040/api/glog/adjust?module=vrow_distribution&level=-1"
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/check-rpc-channel.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/check-rpc-channel.md
index e8f759f420d..6dfda3659c7 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/check-rpc-channel.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/check-rpc-channel.md
@@ -26,11 +26,11 @@ under the License.
# 检查连接缓存
-## Request
+## 请求路径
`GET /api/check_rpc_channel/{host_to_check}/{remot_brpc_port}/{payload_size}`
-## Description
+## 描述
该功能用于检查 brpc 的连接缓存。
@@ -48,11 +48,11 @@ under the License.
负载大小,单位 B,取值范围 1~1024000。
-## Request body
+## 请求体
无
-## Response
+## 响应
```
{
@@ -62,7 +62,7 @@ under the License.
"count":0
}
```
-## Examples
+## 示例
```
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/check-tablet-segment.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/check-tablet-segment.md
index bfb7dcbb8d0..5be79e50815 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/check-tablet-segment.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/check-tablet-segment.md
@@ -26,16 +26,16 @@ under the License.
-## Request
+## 请求路径
`GET /api/check_tablet_segment_lost?repair={bool}`
-## Description
+## 描述
在 BE 节点上,可能会因为一些异常情况导致数据文件丢失,但是元数据显示正常,这种副本异常不会被 FE 检测到,也不能被修复。
当用户查询时,会报错`failed to initialize storage reader`。该接口的功能是检测出当前 BE 节点上所有存在文件丢失的
tablet。
-## Query parameters
+## 请求参数
* `repair`
@@ -43,11 +43,11 @@ under the License.
- 设置为`false`时,只会返回所有存在文件丢失的 tablet,并不做任何处理。
-## Request body
+## 请求体
无
-## Response
+## 响应
返回值是当前BE节点上所有存在文件丢失的tablet
@@ -66,7 +66,7 @@ under the License.
}
```
-## Examples
+## 示例
```shell
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/checksum.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/checksum.md
index 52747c2c2f0..06bcb72b084 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/checksum.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/checksum.md
@@ -26,15 +26,15 @@ under the License.
-## Request
+## 请求路径
`GET /api/checksum?tablet_id={int}&version={int}&schema_hash={int}`
-## Description
+## 描述
checksum
-## Query parameters
+## 请求参数
* `tablet_id`
需要校验的 tablet 的 id
@@ -45,16 +45,16 @@ checksum
* `schema_hash`
schema hash
-## Request body
+## 请求体
无
-## Response
+## 响应
```
1843743562
```
-## Examples
+## 示例
```
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/compaction-run.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/compaction-run.md
index 78fcfefd7fd..2be96d210c7 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/compaction-run.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/compaction-run.md
@@ -26,18 +26,18 @@ under the License.
-## Request
+## 请求路径
`POST /api/compaction/run?tablet_id={int}&compact_type={enum}`
`POST /api/compaction/run?table_id={int}&compact_type=full` 注意,table_id=xxx
只有在 compact_type=full 时指定才会生效。
`GET /api/compaction/run_status?tablet_id={int}`
-## Description
+## 描述
用于手动触发 Compaction 以及状态查询。
-## Query parameters
+## 请求参数
* `tablet_id`
@@ -51,11 +51,11 @@ under the License.
- 取值为`base`或`cumulative`或`full`。full_compaction
的使用场景请参考[数据恢复](../../trouble-shooting/repairing-data)。
-## Request body
+## 请求体
无
-## Response
+## 响应
### 触发 Compaction
@@ -133,7 +133,7 @@ under the License.
* run_status:获取当前手动 compaction 任务执行状态
-### Examples
+### 示例
```shell
curl -X POST
"http://127.0.0.1:8040/api/compaction/run?tablet_id=10015&compact_type=cumulative"
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/compaction-status.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/compaction-status.md
index 2bac033a95c..ded2c2e03b2 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/compaction-status.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/compaction-status.md
@@ -26,26 +26,26 @@ under the License.
-## Request
+## 请求路径
`GET /api/compaction/run_status`
`GET /api/compaction/show?tablet_id={int}`
-## Description
+## 描述
用于查看某个 BE 节点总体的 compaction 状态,或者指定 tablet 的 compaction 状态。
-## Query parameters
+## 请求参数
* `tablet_id`
- tablet 的 id
-## Request body
+## 请求体
无
-## Response
+## 响应
### 整体 Compaction 状态
@@ -112,7 +112,7 @@ under the License.
* stale version path:该 table 当前被合并 rowset
集合的合并版本路径,该结构是一个数组结构,每个元素表示一个合并路径。每个元素中包含了三个属性:path id 表示版本路径 id,last create
time 表示当前路径上最近的 rowset 创建时间,默认在这个时间半个小时之后这条路径上的所有 rowset 会被过期删除。
-## Examples
+## 示例
```shell
curl http://192.168.10.24:8040/api/compaction/show?tablet_id=10015
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/config.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/config.md
index dc93ca6ac57..48b71d9c95c 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/config.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/config.md
@@ -26,16 +26,16 @@ under the License.
-## Request
+## 请求路径
`GET /api/show_config`
`POST /api/update_config?{key}={val}`
-## Description
+## 描述
查询/更新 BE 的配置信息
-## Query parameters
+## 请求参数
* `persist`
是否持久化,选填,默认`false`。
@@ -46,11 +46,11 @@ under the License.
* `val`
配置项值。
-## Request body
+## 请求体
无
-## Response
+## 响应
### 查询
@@ -88,7 +88,7 @@ under the License.
}
]
```
-## Examples
+## 示例
```shell
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/download.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/download.md
index 85efb14aa4f..94646b2384f 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/download.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/download.md
@@ -26,15 +26,15 @@ under the License.
-## Request
+## 请求路径
`GET /api/_load_error_log?token={string}&file={string}`
-## Description
+## 描述
下载 load 错误日志文件。
-## Query parameters
+## 请求参数
* `file`
文件路径
@@ -42,15 +42,15 @@ under the License.
* `token`
token
-## Request body
+## 请求体
无
-## Response
+## 响应
文件
-## Examples
+## 示例
```shell
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/health.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/health.md
index 8996c8b8486..53ec08ae6f5 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/health.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/health.md
@@ -26,27 +26,27 @@ under the License.
-## Request
+## 请求路径
`GET /api/health`
-## Description
+## 描述
给监控服务提供的探活接口,请求能响应代表 BE 状态正常。
-## Query parameters
+## 请求参数
无
-## Request body
+## 请求体
无
-## Response
+## 响应
```json
{"status": "OK","msg": ""}
```
-## Examples
+## 示例
```shell
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/meta.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/meta.md
index 70a6ef3417c..e56810854a7 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/meta.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/meta.md
@@ -26,11 +26,11 @@ under the License.
-## Request
+## 请求路径
`GET /api/meta/header/{tablet_id}?byte_to_base64={bool}`
-## Description
+## 描述
查询 tablet 元信息
@@ -39,16 +39,16 @@ under the License.
* `tablet_id`
table 的 id
-## Query parameters
+## 请求参数
* `byte_to_base64`
是否按 base64 编码,选填,默认`false`。
-## Request body
+## 请求体
无
-## Response
+## 响应
```json
{
@@ -63,7 +63,7 @@ under the License.
...
}
```
-## Examples
+## 示例
```shell
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/metrics.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/metrics.md
index e16d624e54a..912ff2c0d5c 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/metrics.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/metrics.md
@@ -26,15 +26,15 @@ under the License.
-## Request
+## 请求路径
`GET /metrics?type={enum}&with_tablet={bool}`
-## Description
+## 描述
prometheus 监控采集接口
-## Query parameters
+## 请求参数
* `type`
输出方式,选填,默认全部输出,另有以下取值:
@@ -46,11 +46,11 @@ prometheus 监控采集接口
* `with_tablet`
是否输出 tablet 相关的采集项,选填,默认`false`。
-## Request body
+## 请求体
无
-## Response
+## 响应
```json
doris_be__max_network_receive_bytes_rate LONG 60757
@@ -60,7 +60,7 @@ prometheus 监控采集接口
,,,
```
-## Examples
+## 示例
```shell
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/pad-rowset.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/pad-rowset.md
index fa7ff587a04..7060ce166e5 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/pad-rowset.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/pad-rowset.md
@@ -26,15 +26,15 @@ under the License.
-## Request
+## 请求路径
`POST /api/pad_rowset?tablet_id={int}&start_version={int}&end_version={int}`
-## Description
+## 描述
该功能用于使用一个空的 rowset 填充损坏的副本。
-## Query parameters
+## 请求参数
* `tablet_id`
table 的 id
@@ -46,11 +46,11 @@ under the License.
终止版本
-## Request body
+## 请求体
无
-## Response
+## 响应
```json
{
@@ -58,7 +58,7 @@ under the License.
code: 0
}
```
-## Examples
+## 示例
```shell
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/reset-rpc-channel.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/reset-rpc-channel.md
index 3fdc7b5b99c..0e2b5565215 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/reset-rpc-channel.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/reset-rpc-channel.md
@@ -26,11 +26,11 @@ under the License.
-## Request
+## 请求路径
`GET /api/reset_rpc_channel/{endpoints}`
-## Description
+## 描述
该功能用于重置 brpc 的连接缓存。
@@ -43,11 +43,11 @@ under the License.
- `host1:port1,host2:port2`
-## Request body
+## 请求体
无
-## Response
+## 响应
```json
{
@@ -57,7 +57,7 @@ under the License.
"count":0
}
```
-## Examples
+## 示例
```shell
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/snapshot.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/snapshot.md
index dacdaa545a3..dd2f2fcf033 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/snapshot.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/snapshot.md
@@ -26,15 +26,15 @@ under the License.
-## Request
+## 请求路径
`GET /api/snapshot?tablet_id={int}&schema_hash={int}"`
-## Description
+## 描述
该功能用于 tablet 做快照。
-## Query parameters
+## 请求参数
* `tablet_id`
需要做快照的 table 的 id
@@ -43,16 +43,16 @@ under the License.
schema hash
-## Request body
+## 请求体
无
-## Response
+## 响应
```
/path/to/snapshot
```
-## Examples
+## 示例
```shell
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/tablet-distribution.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/tablet-distribution.md
index edd92f785e4..db3a9d3ee70 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/tablet-distribution.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/tablet-distribution.md
@@ -26,15 +26,15 @@ under the License.
-## Request
+## 请求路径
`GET /api/tablets_distribution?group_by={enum}&partition_id={int}`
-## Description
+## 描述
获取 BE 节点上每一个 partition 下的 tablet 在不同磁盘上的分布情况
-## Query parameters
+## 请求参数
* `group_by`
分组,当前只支持`partition`
@@ -42,11 +42,11 @@ under the License.
* `partition_id`
指定 partition 的 id,选填,默认返回所有 partition。
-## Request body
+## 请求体
无
-## Response
+## 响应
```json
{
@@ -82,7 +82,7 @@ under the License.
count: ***
}
```
-## Examples
+## 示例
```shell
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/tablet-info.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/tablet-info.md
index 5d8a70e197b..af169f6a3f2 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/tablet-info.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/tablet-info.md
@@ -26,24 +26,24 @@ under the License.
-## Request
+## 请求路径
`GET /tablets_json?limit={int}`
-## Description
+## 描述
获取特定 BE 节点上指定数量的 tablet 的 tablet id 和 schema hash 信息
-## Query parameters
+## 请求参数
* `limit`
返回的 tablet 数量,选填,默认 1000 个,可填`all`返回全部 tablet。
-## Request body
+## 请求体
无
-## Response
+## 响应
```json
{
@@ -68,7 +68,7 @@ under the License.
count: 30
}
```
-## Examples
+## 示例
```shell
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/tablet-migration.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/tablet-migration.md
index e898daefe6d..54523002f7e 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/tablet-migration.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/tablet-migration.md
@@ -26,15 +26,15 @@ under the License.
-## Request
+## 请求路径
`GET
/api/tablet_migration?goal={enum}&tablet_id={int}&schema_hash={int}&disk={string}`
-## Description
+## 描述
在 BE 节点上迁移单个 tablet 到指定磁盘
-## Query parameters
+## 请求参数
* `goal`
- `run`:提交迁移任务
@@ -49,11 +49,11 @@ under the License.
* `disk`
目标磁盘。
-## Request body
+## 请求体
无
-## Response
+## 响应
### 提交结果
@@ -101,7 +101,7 @@ under the License.
}
```
-## Examples
+## 示例
```shell
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/tablet-reload.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/tablet-reload.md
index 514afe242ff..d720c8d2ba8 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/tablet-reload.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/tablet-reload.md
@@ -25,15 +25,15 @@ under the License.
-->
-## Request
+## 请求路径
`GET /api/reload_tablet?tablet_id={int}&schema_hash={int}&path={string}"`
-## Description
+## 描述
该功能用于重加载 tablet 数据。
-## Query parameters
+## 请求参数
* `tablet_id`
需要重加载的 table 的 id
@@ -45,16 +45,16 @@ under the License.
文件路径
-## Request body
+## 请求体
无
-## Response
+## 响应
```shell
load header succeed
```
-## Examples
+## 示例
```shell
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/tablet-restore.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/tablet-restore.md
index 7496fc7f380..50018cd6497 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/tablet-restore.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/tablet-restore.md
@@ -26,15 +26,15 @@ under the License.
-## Request
+## 请求路径
`POST /api/restore_tablet?tablet_id={int}&schema_hash={int}"`
-## Description
+## 描述
该功能用于恢复 trash 目录中被误删的 tablet 数据。
-## Query parameters
+## 请求参数
* `tablet_id`
需要恢复的 table 的 id
@@ -43,11 +43,11 @@ under the License.
schema hash
-## Request body
+## 请求体
无
-## Response
+## 响应
```json
{
@@ -55,7 +55,7 @@ under the License.
code: 0
}
```
-## Examples
+## 示例
```
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/version-info.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/version-info.md
index 7aee48f4069..11d9870b337 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/version-info.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/open-api/be-http/version-info.md
@@ -26,11 +26,11 @@ under the License.
-## Request
+## 请求路径
`GET /api/be_version_info`
-## Description
+## 描述
用于获取 be 节点的版本信息。
@@ -38,15 +38,15 @@ under the License.
无
-## Query parameters
+## 请求参数
无
-## Request body
+## 请求体
无
-## Response
+## 响应
```json
{
@@ -69,7 +69,7 @@ under the License.
"count":0
}
```
-## Examples
+## 示例
```
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]