This is an automated email from the ASF dual-hosted git repository.

lidongdai pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/seatunnel-website.git


The following commit(s) were added to refs/heads/main by this push:
     new 85fd3d63404 Update rest-api.md (#274)
85fd3d63404 is described below

commit 85fd3d63404f3532c368da1f077bcbc655478ab0
Author: Amol Nakhate <[email protected]>
AuthorDate: Sun Dec 10 14:08:30 2023 +0530

    Update rest-api.md (#274)
    
    * Update rest-api.md
    
    1. In submit job, jobId is required field as per api request I checked
    2. There is stop job api as per source code
    
    * [ADD]  stop job rest api
    
    Updated stop job body and response
    
    * Update rest-api.md
---
 .../version-2.3.3/seatunnel-engine/rest-api.md     | 23 ++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/versioned_docs/version-2.3.3/seatunnel-engine/rest-api.md 
b/versioned_docs/version-2.3.3/seatunnel-engine/rest-api.md
index 2f44421a3d6..e31c3892949 100644
--- a/versioned_docs/version-2.3.3/seatunnel-engine/rest-api.md
+++ b/versioned_docs/version-2.3.3/seatunnel-engine/rest-api.md
@@ -234,6 +234,29 @@ network:
 }
 ```
 
+### Stop Job.
+
+<details>
+
+ <summary><code>POST</code> <code><b>/hazelcast/rest/maps/stop-job</b></code> 
<code>(Returns jobId if job stoped successfully.)</code></summary>
+
+#### Body
+
+```json
+{
+    "jobId": 733584788375666689,
+    "isStopWithSavePoint": false # if job is stopped with save point
+}
+```
+
+#### Responses
+
+```json
+{
+"jobId": 733584788375666689
+}
+```
+
 </details>
 
 
------------------------------------------------------------------------------------------

Reply via email to