This is an automated email from the ASF dual-hosted git repository.
wuchunfu pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/seatunnel.git
The following commit(s) were added to refs/heads/dev by this push:
new 154e866b87 [Feature][Rest Api] Additional rest api documentation.
(#7645)
154e866b87 is described below
commit 154e866b87ad90e08798e1cc527eff2857a55002
Author: Guangdong Liu <[email protected]>
AuthorDate: Fri Sep 13 09:36:35 2024 +0800
[Feature][Rest Api] Additional rest api documentation. (#7645)
Co-authored-by: gdliu3 <[email protected]>
---
docs/en/seatunnel-engine/rest-api.md | 30 ++++++++++++++++++++++++++++++
docs/zh/seatunnel-engine/rest-api.md | 29 +++++++++++++++++++++++++++++
2 files changed, 59 insertions(+)
diff --git a/docs/en/seatunnel-engine/rest-api.md
b/docs/en/seatunnel-engine/rest-api.md
index 3ffd4b4a68..a1ddc76e53 100644
--- a/docs/en/seatunnel-engine/rest-api.md
+++ b/docs/en/seatunnel-engine/rest-api.md
@@ -69,6 +69,33 @@ network:
------------------------------------------------------------------------------------------
+### Returns thread dump information for the current node.
+
+<details>
+ <summary><code>GET</code>
<code><b>/hazelcast/rest/maps/thread-dump</b></code> <code>(Returns thread dump
information for the current node.)</code></summary>
+
+#### Parameters
+
+
+#### Responses
+
+```json
+[
+ {
+ "threadName": "",
+ "threadId": 0,
+ "threadState": "",
+ "stackTrace": ""
+ }
+]
+```
+
+</details>
+
+------------------------------------------------------------------------------------------
+
+
+
### Returns An Overview And State Of All Jobs
<details>
@@ -278,6 +305,9 @@ When we can't get the job info, the response will be:
```json
[
{
+ "isMaster": "true",
+ "host": "localhost",
+ "port": "5801",
"processors":"8",
"physical.memory.total":"16.0G",
"physical.memory.free":"16.3M",
diff --git a/docs/zh/seatunnel-engine/rest-api.md
b/docs/zh/seatunnel-engine/rest-api.md
index b01cdc8016..3965a76ff2 100644
--- a/docs/zh/seatunnel-engine/rest-api.md
+++ b/docs/zh/seatunnel-engine/rest-api.md
@@ -68,6 +68,32 @@ network:
------------------------------------------------------------------------------------------
+### 返回当前节点的线程堆栈信息。
+
+<details>
+ <summary><code>GET</code>
<code><b>/hazelcast/rest/maps/thread-dump</b></code>
<code>(返回当前节点的线程堆栈信息。)</code></summary>
+
+#### Parameters
+
+
+#### Responses
+
+```json
+[
+ {
+ "threadName": "",
+ "threadId": 0,
+ "threadState": "",
+ "stackTrace": ""
+ }
+]
+```
+
+</details>
+
+------------------------------------------------------------------------------------------
+
+
### 返回所有作业及其当前状态的概览
<details>
@@ -277,6 +303,9 @@ network:
```json
[
{
+ "isMaster": "true",
+ "host": "localhost",
+ "port": "5801",
"processors":"8",
"physical.memory.total":"16.0G",
"physical.memory.free":"16.3M",