Retrieve all flow templates associated with the current user from the repository
Changed onThis will only return Flow Templates that are either directly associated with the user, or that are associated with a tenant that the user is also a member of. Requires the 'flowTemplates.read' permissions.
Request
- Base URLhttp://template-repository.openintegrationhub.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Number of flow templates per page returned. Default is 10.
Number of the page to be returned. Default is 1.
Filter results by flow status. Published = 1. Draft = 0
Filter by user. Works for admin or users with same tenant.
Sort the result by one property. Supported: createdAt, updatedAt and name. Prefix field name with - for reversed sort order (DESC) i.e. sort=-updatedAt. Default sorting is by id ASC
Search flows by a word or a phrase contained in the template description OR in the template name (case-insensitive). Behavior is similar to operator LIKE in SQL but case insensitive.
Response
A list of flow templates.
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": "draft",
"createdAt": "2019-07-30T12:52:45.957Z",
"updatedAt": "2019-07-30T12:52:45.957Z"
}
]
}Changes
- info
removed the non-success response with the status
- info
- info
added
subschema #2to the/response propertyallOflist for the response status
- info