Skip to main content
Module

x/windmill/mod.ts>FlowApi

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
class FlowApi
import { FlowApi } from "https://deno.land/x/windmill@v1.28.1/mod.ts";

Constructors

new
FlowApi(
configuration: Configuration,
requestFactory?: FlowApiRequestFactory,
responseProcessor?: FlowApiResponseProcessor,
)

Properties

private
api: ObservableFlowApi

Methods

archiveFlowByPath(
workspace: string,
path: string,
_options?: Configuration,
): Promise<string>

archive flow by path

createFlow(
workspace: string,
openFlowWPath: OpenFlowWPath,
_options?: Configuration,
): Promise<string>

create flow

existsFlowByPath(
workspace: string,
path: string,
_options?: Configuration,
): Promise<boolean>

exists flow by path

getFlowByPath(
workspace: string,
path: string,
_options?: Configuration,
): Promise<Flow>

get flow by path

getHubFlowById(id: number, _options?: Configuration): Promise<InlineResponse2004>

get hub flow by id

listFlows(
workspace: string,
page?: number,
perPage?: number,
orderDesc?: boolean,
createdBy?: string,
pathStart?: string,
pathExact?: string,
showArchived?: boolean,
_options?: Configuration,
): Promise<Array<Flow>>

list all available flows

listHubFlows(_options?: Configuration): Promise<InlineResponse2003>

list all available hub flows

updateFlow(
workspace: string,
path: string,
openFlowWPath: OpenFlowWPath,
_options?: Configuration,
): Promise<string>

update flow