Directus / @directus/sdk / rest / triggerFlow
Function: triggerFlow() ​
triggerFlow<
Schema
>(method
,id
,data
?):RestCommand
<unknown
,Schema
>
Defined in: rest/commands/utils/flows.ts:13
Trigger a flow
Type Parameters ​
• Schema
Parameters ​
method ​
"POST"
| "GET"
id ​
string
data? ​
Record
<string
, string
>
Returns ​
RestCommand
<unknown
, Schema
>
Result of the flow, if any.