get a workflow's status and results(if completed & requested), wait if the workflow is still running
Changed onpost/api/v1/workflow/getWithWait
Request
- Base URLhttp://petstore.swagger.io/v2
- Authnone declared
Request body
Example request
{
"waitTimeSeconds": 0,
"needsResults": true,
"workflowRunId": "workflowRunId",
"workflowId": "workflowId"
}Response
successful operation
Example response
{
"workflowStatus": null,
"errorType": null,
"errorMessage": "errorMessage",
"workflowRunId": "workflowRunId",
"results": [
{
"completedStateOutput": {
"data": "data",
"extStoreId": "extStoreId",
"extPath": "extPath",
"encoding": "encoding"
},
"completedStateExecutionId": "completedStateExecutionId",
"completedStateId": "completedStateId"
},
{
"completedStateOutput": {
"data": "data",
"extStoreId": "extStoreId",
"extPath": "extPath",
"encoding": "encoding"
},
"completedStateExecutionId": "completedStateExecutionId",
"completedStateId": "completedStateId"
}
]
}Changes
- info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status
- info
- info
removed the
STATE_API_FAIL_MAX_OUT_RETRY_ERROR_TYPEenum value from theresponse property for the response status
- info