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

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

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 WebsocketTriggerService
import { WebsocketTriggerService } from "https://deno.land/x/windmill@v1.422.0/windmill-api/index.ts";

Static Methods

createWebsocketTrigger(unnamed 0: { workspace: string; requestBody: NewWebsocketTrigger; }): CancelablePromise<string>

create websocket trigger

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

delete websocket trigger

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

does websocket trigger exists

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

get websocket trigger

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

list websocket triggers

setWebsocketTriggerEnabled(unnamed 0: { workspace: string; path: string; requestBody: { enabled: boolean; }; }): CancelablePromise<string>

set enabled websocket trigger

updateWebsocketTrigger(unnamed 0: { workspace: string; path: string; requestBody: EditWebsocketTrigger; }): CancelablePromise<string>

update websocket trigger