Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/windmill/windmill-api/services/HttpTriggerService.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.416.0/windmill-api/services/HttpTriggerService.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