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

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

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

Static Methods

createVariable(unnamed 0: { workspace: string; requestBody: CreateVariable; }): CancelablePromise<string>

create variable

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

delete variable

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

does variable exists at path

getVariable(unnamed 0: { workspace: string; path: string; decryptSecret?: boolean; }): CancelablePromise<ListableVariable>

get variable

listContextualVariables(unnamed 0: { workspace: string; }): CancelablePromise<Array<ContextualVariable>>

list contextual variables

listVariable(unnamed 0: { workspace: string; }): CancelablePromise<Array<ListableVariable>>

list variables

updateVariable(unnamed 0: { workspace: string; path: string; requestBody: EditVariable; }): CancelablePromise<string>

update variable