flows
Update an existing flow
Changed onThe id is used to match the existing Flow that will be updated. Requires the 'flows.write' permission.
patch/flows/{id}
Request
- Base URLhttp://flow-repository.openintegrationhub.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring string required
ID of flow to update
Request body
Example request
{
"name": "SnazzyToCodeComponent",
"description": "This flow polls for persons and posts them on webhoo.site.",
"graph": {
"edges": [
{
"source": "step_1",
"target": "step_2"
}
]
},
"type": "ordinary",
"cron": "* /2 * * * *"
}Response
The updated Flow.
Example response
{
"data": {
"name": "SnazzyToCodeComponent",
"description": "This flow polls for persons and posts them on webhoo.site.",
"graph": {
"edges": [
{
"source": "step_1",
"target": "step_2"
}
]
},
"type": "ordinary",
"cron": "* /2 * * * *",
"status": "inactive",
"createdAt": "2019-07-30T12:52:45.957Z",
"updatedAt": "2019-07-30T12:52:45.957Z"
}
}Changes
- info
added the new optional request property
- info
added the optional property
/////to the response with the status
- info
- info
added the new optional request property
/// - info
added the optional property
////////to the response with the status
- info