curl --location -g --request GET 'https://api.platform.openintegrationhub.com/flows?page[size]&page[number]&filter[status]&filter[type]&filter[user]&sort&search'
{
"data": [
{
"name": "SnazzyToCodeComponent",
"description": "This flow polls for persons and posts them on webhoo.site.",
"tenant": "string",
"graph": {
"nodes": [
[
{
"id": "step_1",
"componentId": "string",
"name": "snazzy adapter for oih",
"function": "getPersonsPolling",
"description": "New description in progress"
},
{
"id": "step_2",
"componentId": "string",
"name": "code_component",
"function": "execute",
"description": "",
"fields": {
"code": "function* run() {console.log('Calling external URL');yield request.post({uri: 'http://webhook.site/debc8244-3ca0-4449-af2b-e346c4f57b85', body: msg.body, json: true});}"
}
}
]
],
"edges": [
{
"id": "string",
"config": {
"condition": "string",
"mapper": {}
},
"source": "step_1",
"target": "step_2"
}
]
},
"type": "ordinary",
"cron": "* /2 * * * *",
"owners": [
{
"id": "string",
"type": "string"
}
],
"id": "string",
"status": "active",
"createdAt": "2019-07-30T12:52:45.957Z",
"updatedAt": "2019-07-30T12:52:45.957Z"
}
],
"meta": {
"page": 0,
"perPage": 0,
"total": 0,
"totalPages": 0
}
}