chemikadze commented on a change in pull request #489: GRIFFIN-240 Return
JobInstanceBean in response to a call Trigger job by id
URL: https://github.com/apache/griffin/pull/489#discussion_r267622904
##########
File path: griffin-doc/service/api-guide.md
##########
@@ -549,7 +549,21 @@ curl -k -H "Content-Type: application/json" -H "Accept:
application/json" \
`POST /api/v1/jobs/trigger/{job_id}`
#### API Example
```
-curl -k -X POST http://127.0.0.1:8080/api/v1/jobs/trigger/51
+curl -k -X POST http://127.0.0.1:8080/api/v1/jobs/trigger/51 \
+-d '{
+ "timeout": "1000"
Review comment:
Please make sure both cases (body is specified, and body is not specified)
are covered with tests. Let wait by default (with default specified in config),
and specify 0 explicitly, if required.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services