Directus / @directus/sdk / rest / triggerFlow
Function: triggerFlow() ​
triggerFlow<
Schema
>(method
,id
,data
?):RestCommand
<unknown
,Schema
>
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.