Download OpenAPI specification:Download
type required | string (Type) |
name required | string (Name) |
description required | string (Description) |
schema_version required | integer (Schema Version) Value: 1 |
required | object (ConnectorV1Config) |
Array of objects (Events) | |
Array of objects (Actions) |
{- "type": "string",
- "name": "string",
- "description": "string",
- "schema_version": 1,
- "config": {
- "host": "string",
- "base_path": "string",
- "credentials": {
- "type": "OAuth2Client",
- "client_id": "string",
- "client_secret": "string",
- "token_url": "string",
- "basic_auth": true
}, - "default_headers": {
- "property1": "string",
- "property2": "string"
}
}, - "events": [
- {
- "type": "string",
- "name": "string",
- "description": "string",
- "schema": { }
}
], - "actions": [
- {
- "type": "string",
- "name": "string",
- "description": "string",
- "method": "post",
- "path": "string",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "query": {
- "property1": "string",
- "property2": "string"
}, - "body": "string",
- "parameters": { }
}
]
}
{- "id": "string",
- "href": "string"
}
{- "id": "20554228-97b1-46ce-9236-a70dc58f8b6e",
- "error_code": "ValidationError",
- "description": "The request body failed validation.",
- "details": {
- "validation_errors": [
- {
- "description": "'id' is a required property",
- "path": "$"
}
]
}
}
name required | string (Name) [ 3 .. 60 ] characters ^[a-zA-Z0-9 ]+$ |
Description (string) or Description (null) (Description) Default: null | |
schema_version required | any (Schema Version) Value: 1 |
enabled | boolean (Enabled) Default: true |
Timeout (integer) or Timeout (null) (Timeout) Default: null | |
WorkflowV1CreateWorkflowOnError (object) or null Default: null | |
Source (any) or WorkflowsV1CreateEventSource (object) or Source (null) (Source) Default: null | |
required | Array of any or WorkflowsV1CreateAction (object) (Actions) [ 1 .. 100 ] items |
{- "name": "string",
- "description": null,
- "schema_version": 1,
- "enabled": true,
- "timeout": null,
- "on_error": null,
- "source": null,
- "actions": [
- {
- "type": "Flexli:CoreV1:Transform",
- "description": null,
- "order": 100,
- "condition": null,
- "variables": null,
- "transform": null
}
]
}
{- "id": "string",
- "href": "string"
}
workflow_id required | string Workflow ID |
version required | number Workflow Version |
{- "id": "string",
- "name": "string",
- "description": null,
- "version": 0,
- "schema_version": 0,
- "is_release_version": true,
- "enabled": true,
- "source": null,
- "actions": [
- {
- "connector_id": null,
- "connector_type": "string",
- "type": "string",
- "order": 0,
- "condition": null,
- "parameters": { },
- "transform": null
}
]
}
workflow_id required | string Workflow ID |
version required | number Workflow Version |
{ }
{- "id": "string",
- "href": "string"
}