@elastic.io/component-commons-library
Version:
Library for most common component development cases
94 lines (93 loc) • 3.32 kB
JSON
{
"flowDetails": {
"type": "flow",
"id": "585918da586224001b96de89",
"links": {
"self": "/v2/flows/585918da586224001b96de89"
},
"attributes": {
"name": "Timer to E-Mail Test",
"status": "inactive",
"type": "ordinary",
"created_at": "2018-03-27T15:39:02.825Z",
"current_status": "inactive",
"default_mapper_type": "jsonata",
"description": "",
"updated_at": "2018-03-27T15:39:02.923Z",
"graph": {
"nodes": [
{
"id": "step_1",
"component_id": "55ba18e35d04040500000004",
"command": "elasticio/timer:timer",
"name": "",
"description": "",
"fields": {
"interval": "minute"
}
},
{
"id": "step_2",
"component_id": "593809a16b1d1f00196b74cd",
"command": "elasticio/email:send",
"name": "",
"description": ""
}
],
"edges": [
{
"id": "mapper:step_1:step_2",
"config": {
"mapper_type": "jsonata",
"condition": null,
"mapper": {
"to": "\"test@example.com\"",
"subject": "\"StrongMapper\"",
"textBody": "Address.Street"
}
},
"source": "step_1",
"target": "step_2"
}
]
}
},
"relationships": {
"user": {
"data": {
"type": "user",
"id": "560e5a27734d480a00000002"
},
"links": {
"self": "/v2/users/560e5a27734d480a00000002"
}
},
"workspace": {
"data": {
"type": "workspace",
"id": "573dd76962436c349f000003"
},
"links": {
"self": "/v2/workspaces/573dd76962436c349f000003"
}
},
"versions": {
"links": {
"related": "/v2/flows/585918da586224001b96de89/versions"
}
},
"latest_version": {
"data": {
"id": "787513ee82625ef46bc10372cb6485a535b54c5f",
"type": "flow-version"
},
"links": {
"self": "/v2/flows/585918da586224001b96de89/versions/787513ee82625ef46bc10372cb6485a535b54c5f",
"related": "/v2/flows/585918da586224001b96de89/versions/787513ee82625ef46bc10372cb6485a535b54c5f"
}
}
}
},
"flowId": "585918da586224001b96de89",
"flowName": "Timer to E-Mail Test"
}