Skip to content

Commit

Permalink
Update rest-api.md (#274)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
amol64546 authored Dec 10, 2023
1 parent 3a147c5 commit 85fd3d6
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions versioned_docs/version-2.3.3/seatunnel-engine/rest-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>

------------------------------------------------------------------------------------------
Expand Down

0 comments on commit 85fd3d6

Please sign in to comment.