Skip to main content
Module

x/windmill/windmill-api/index.ts>HttpTriggerService

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

Static Methods

createHttpTrigger(unnamed 0: { workspace: string; requestBody: NewHttpTrigger; }): CancelablePromise<string>

create http trigger

deleteHttpTrigger(unnamed 0: { workspace: string; path: string; }): CancelablePromise<string>

delete http trigger

existsHttpTrigger(unnamed 0: { workspace: string; path: string; }): CancelablePromise<boolean>

does http trigger exists

existsRoute(unnamed 0: { workspace: string; requestBody: { route_path: string; http_method:
| "get"
| "post"
| "put"
| "delete"
| "patch"
; }; }
): CancelablePromise<boolean>

does route exists

getHttpTrigger(unnamed 0: { workspace: string; path: string; }): CancelablePromise<HttpTrigger>

get http trigger

listHttpTriggers(unnamed 0: { workspace: string; page?: number; perPage?: number; path?: string; isFlow?: boolean; pathStart?: string; }): CancelablePromise<Array<HttpTrigger>>

list http triggers

updateHttpTrigger(unnamed 0: { workspace: string; path: string; requestBody: EditHttpTrigger; }): CancelablePromise<string>

update http trigger

used(unnamed 0: { workspace: string; }): CancelablePromise<boolean>

whether http triggers are used