Hisoka-X commented on code in PR #8000:
URL: https://github.com/apache/seatunnel/pull/8000#discussion_r1851202639
##########
docs/en/seatunnel-engine/rest-api-v2.md:
##########
@@ -384,15 +384,17 @@ When we can't get the job info, the response will be:
#### Parameters
-> | name | type | data type | description
|
->
|----------------------|----------|-----------|-----------------------------------|
+> | name | type | data type | description
|
+----------------------|----------------------|----------|-----------|-----------------------------------|
> | jobId | optional | string | job id
> |
> | jobName | optional | string | job name
> |
> | isStartWithSavePoint | optional | string | if job is started with save
> point |
+> | format | optional | string | config format, support json
and hocon, default json |
#### Body
-```json
+You can choose json or hocon to pass request body.Examples are as follows:
Review Comment:
```suggestion
You can choose json or hocon to pass request body.
```
##########
docs/en/seatunnel-engine/rest-api-v2.md:
##########
@@ -384,15 +384,17 @@ When we can't get the job info, the response will be:
#### Parameters
-> | name | type | data type | description
|
->
|----------------------|----------|-----------|-----------------------------------|
+> | name | type | data type | description
|
+----------------------|----------------------|----------|-----------|-----------------------------------|
Review Comment:
```suggestion
>
|----------------------|----------|-----------|-----------------------------------|
```
The markdown format not right.

##########
docs/en/seatunnel-engine/rest-api-v2.md:
##########
@@ -421,6 +423,36 @@ When we can't get the job info, the response will be:
]
}
```
+``` hocon example
Review Comment:
```suggestion
The hocon format example:
``` hocon
```
##########
docs/en/seatunnel-engine/rest-api-v2.md:
##########
@@ -384,15 +384,17 @@ When we can't get the job info, the response will be:
#### Parameters
-> | name | type | data type | description
|
->
|----------------------|----------|-----------|-----------------------------------|
+> | name | type | data type | description
|
+----------------------|----------------------|----------|-----------|-----------------------------------|
> | jobId | optional | string | job id
> |
> | jobName | optional | string | job name
> |
> | isStartWithSavePoint | optional | string | if job is started with save
> point |
+> | format | optional | string | config format, support json
and hocon, default json |
#### Body
-```json
+You can choose json or hocon to pass request body.Examples are as follows:
+``` json example
Review Comment:
```suggestion
The json format example:
``` json
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]