curl --request POST \
--url http://localhost/api/orchestration/v2/workflows/{workflowID}/instances \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'{
"data": {
"workflowID": "<string>",
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"terminated": true,
"status": [
{
"stage": 123,
"instanceID": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"terminatedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"terminatedAt": "2023-11-07T05:31:56Z",
"error": "<string>",
"workflow": {
"config": {
"stages": [
{}
],
"name": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"id": "<string>"
}
}
}Run workflow
curl --request POST \
--url http://localhost/api/orchestration/v2/workflows/{workflowID}/instances \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'{
"data": {
"workflowID": "<string>",
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"terminated": true,
"status": [
{
"stage": 123,
"instanceID": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"terminatedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"terminatedAt": "2023-11-07T05:31:56Z",
"error": "<string>",
"workflow": {
"config": {
"stages": [
{}
],
"name": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"id": "<string>"
}
}
}The access token received from the authorization server in the OAuth 2.0 flow.
The flow id
Wait end of the workflow before return
The workflow instance
Show child attributes
Show child attributes