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": [
"3d6de13be290bf2a33ae5529",
"542968e63ad04ab8c992614b",
"e764da1e830d0948cbf19fa3",
"7fbbac249a4dfcbf02f70c7b"
],
"nodeLocation": {
"x": -54294621.20937063,
"y": 77203622.01118118
}
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"705823e9dfb34719381a4882",
"83c788c3926765c7a330bde6",
"cba3c2c3ad0f78b9971c323e",
"124de75debc0be9351dcb294",
"11bb3df6af26405da9c2801e"
],
"nodeLocation": {
"x": 19483944.358241573,
"y": 19949658.9448061
}
},
"error_handler": {
"name": "childJob",
"summary": "amet minim eu nostrud laborum",
"description": "ut proident",
"app": "eu anim enim",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/JpLN/~1/~1/~1/~1"
},
{
"type": "encryption",
"pointer": "/~1/~0/ppe.7R/~1/V4/S3O04E5t/T/~0/ggNTDOV/SdYK"
}
]
},
"groups": [
"721f90f16d5db54484bc5a67"
],
"type": "operation",
"nodeLocation": {
"x": 39452882.12908763,
"y": -65593667.21276252
},
"deprecated": false,
"scheduled": false,
"retrySettings": {
"state": [
"success",
"success",
"success",
"success"
],
"autoRetry": true,
"limit": 10,
"delay": 2000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"1817a234fa76b48615954b6e",
"7562744c3dcb4853d3947d6d",
"2fd89738fec2eb7b7010454c",
"5f84c3f1596364b76f9fcb22"
],
"_id": "ae899066-3e42-c475-ae65-8e76c2c95517",
"uuid": "892f22ad-8039-69a6-4bb6-0cd6e999fc0c",
"description": null,
"namespace": null,
"preAutomationTime": 250000,
"sla": 26131356,
"errorHandler": {
"type": "deserunt officia",
"name": "Lorem sunt"
},
"font_size": 12,
"created": "2012-02-05T12:51:07.881Z",
"created_by": "3d2d09085ba3bb02caadc2e2",
"createdVersion": "5.40.5-2021.1.72.0",
"last_updated": "2016-12-22T06:01:05.861Z",
"last_updated_by": "fae9289cd6293f477c4dc0c7",
"lastUpdatedVersion": "4.69.69",
"tags": [
"consectetur exercitation minim tempor"
],
"canvasVersion": 3,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/~1"
}
],
"migrationVersion": 50839681
}
}
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"
}
}
}