From 85fd3d63404f3532c368da1f077bcbc655478ab0 Mon Sep 17 00:00:00 2001 From: Amol Nakhate <106758417+amol64546@users.noreply.github.com> Date: Sun, 10 Dec 2023 14:08:30 +0530 Subject: [PATCH] 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 --- .../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 2f44421a3d60d..e31c3892949e1 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. + +
+ + POST /hazelcast/rest/maps/stop-job (Returns jobId if job stoped successfully.) + +#### Body + +```json +{ + "jobId": 733584788375666689, + "isStopWithSavePoint": false # if job is stopped with save point +} +``` + +#### Responses + +```json +{ +"jobId": 733584788375666689 +} +``` +
------------------------------------------------------------------------------------------