Summary
Calculate incoming/outgoing schemas for the workflow
Description
calculate incoming/outgoing schemas for the workflow
Route
POST /workflow_builder/workflows/schemas
Roles
admin
engineering
support
Parameters
DetailsExampleSchema
| Name |
Type |
Required |
Description |
| workflow |
object |
yes |
Workflow's data. |
Copied to Clipboard
{
"workflow": {
"name": "My Workflow",
"type": "automation",
"tasks": {
"workflow_start": {
"name": "workflow_start",
"summary": "workflow_start",
"groups": [
"5e46a74aa1f93e9545b9fbde"
],
"nodeLocation": {
"x": 80954694.28236082,
"y": 33989531.19120778
}
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"01926cb3f995a41d396cec9f",
"f59c3550c0a8ad6d95698441"
],
"nodeLocation": {
"x": 31417071.77849731,
"y": -17458924.139272854
}
},
"error_handler": {
"name": "childJob",
"summary": "fugiat sed non",
"description": "anim laborum",
"app": "cupidatat",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/zWoEXO/~1/Lc2-Osul74G/~0/iGtH+2W+G/hjlW0lJYqq2/~1/p2Otr2PpRaT"
},
{
"type": "encryption",
"pointer": "/DU2xKnCD/zODW+9hWm/~1/K/9nY0ju/~1"
}
]
},
"groups": [
"4efcf3febb4cd16d8306670d",
"0a67e28fa266e965c1a73e5d",
"fcdcd43b47be70a062c3db0a",
"cb86e999be61af45ef6a7a9c",
"0c3a8a3437945fdbd9afb2f6"
],
"type": "operation",
"nodeLocation": {
"x": 69057247.55946654,
"y": 98941734.275639
},
"deprecated": false,
"scheduled": false,
"retrySettings": {
"state": [
"success",
"failure",
"error"
],
"autoRetry": true,
"limit": 10,
"delay": 2000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"2e12e16fadd5345db3b8a700"
],
"_id": "d6bac8c5-21de-9971-4017-3751b54381e3",
"uuid": "7ba00ede-1b9b-8c39-dbc2-3f8abf07b2eb",
"description": null,
"namespace": null,
"preAutomationTime": 250000,
"sla": -61286097,
"errorHandler": {
"type": "voluptate esse eiusmod",
"name": "consequat veniam"
},
"font_size": 12,
"created": "2005-01-17T16:45:57.638Z",
"created_by": "56d99a8c845a3b71dc72c300",
"createdVersion": "5.40.5-2021.1.72.0",
"last_updated": "1980-05-20T22:17:41.946Z",
"last_updated_by": "e88d55d14dbb4d916cd499ad",
"lastUpdatedVersion": "4.69.69",
"tags": [
"aliqua nostrud officia culpa quis",
"veniam",
"ipsum non eiusmod fugiat labore",
"cillum"
],
"canvasVersion": 3,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/~0/LNx/~0/~1/zPcC-//~0/~0/~0"
},
{
"type": "encryption",
"pointer": "/Z5q5aSV/~0/~1/~0/~0/~1/XA-JsT/~1/W1/lg/zva+mGnQD"
},
{
"type": "encryption",
"pointer": "/~1/~0/~1/pvQYEHFTM3R/~0"
},
{
"type": "encryption",
"pointer": "/tY07/Lsd4wAG2llz/Ksbu/KzDf"
}
],
"migrationVersion": 57003223
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"workflow": {
"$ref": "workflowDocument"
}
},
"required": [
"workflow"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
| Name |
Type |
Description |
| data |
object |
Input/Output transformation schemas for the workflow |
Copied to Clipboard
{
"title": "data",
"type": "object",
"properties": {
"inputSchema": {
"type": "object"
},
"outputSchema": {
"type": "object"
}
}
}