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

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

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

does route exists

Parameters

unnamed 0: { workspace: string; requestBody: { route_path: string; http_method:
| "get"
| "post"
| "put"
| "delete"
| "patch"
; }; }

Returns

CancelablePromise<boolean>

boolean route exists