Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature][Rest Api] Additional rest api documentation. #7645

Merged
merged 2 commits into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions docs/en/seatunnel-engine/rest-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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",
Expand Down
29 changes: 29 additions & 0 deletions docs/zh/seatunnel-engine/rest-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -277,6 +303,9 @@ network:
```json
[
{
"isMaster": "true",
"host": "localhost",
"port": "5801",
"processors":"8",
"physical.memory.total":"16.0G",
"physical.memory.free":"16.3M",
Expand Down
Loading